Forum Replies Created

Viewing 15 replies - 1 through 15 (of 31 total)
  • Thread Starter Michael Erich Pilarczyk

    (@blog_micky)

    Hi Philip,

    you are the best!!!! Now it fits and the subtleties can I now itself to adapt. I thank you again for your intensive effort. You are really very friendly and helpful. Without you I would have never so dissolved…:-):):)

    So thank you and this thread can now also successfully be closed!

    Michael Erich Pilarczyk

    Thread Starter Michael Erich Pilarczyk

    (@blog_micky)

    Your patience with me is really admirable. So now we’re almost there, I have found the error. Now it’s really up to the size of the title and subtitle. Was of course to me, I had the code transmitted incorrectly. SORRY!

    Thread Starter Michael Erich Pilarczyk

    (@blog_micky)

    P.S. It is not the whole code but only the upper part with the call of subtitles.

    Thread Starter Michael Erich Pilarczyk

    (@blog_micky)

    Here the code vom page-title.php:

    <div class="page-title pad group">
    
    	<?php if ( is_home() ) : ?>
    		<h2><?php echo alx_blog_title(); ?></h2>
    
    	<?php elseif ( is_single() ): ?>
    		<ul class="meta-single group">
    			<li class="category"><?php the_category(' <span>/</span> '); ?></li>
    			<?php if ( comments_open() && ( ot_get_option( 'comment-count' ) != 'off' ) ): ?>
    			<li class="comments"><a href="<?php comments_link(); ?>"><i class="fa fa-comments-o"></i><?php comments_number( '0', '1', '%' ); ?></a></li>
    			<?php endif; ?>
    		</ul>
    
    		<?php elseif ( is_page() ): ?> <h2> <?php echo alx_page_title(); ?> </h2> <?php if ( function_exists( 'the_subtitle' ) ) { the_subtitle( '<p class="entry-subtitle">', '</p>' ); } ?>
    
    	<?php elseif ( is_search() ): ?>
    		<h1>
    Thread Starter Michael Erich Pilarczyk

    (@blog_micky)

    Okay Philip,

    I have once again reworked. Now it looks a little better. Unfortunately, not as posts here: http://magazin.bloggernotizen.de/blognews/underconstruction_1.html … The blue line is the subtitle. Title and subtitel of pages to look consistent of posts! I have now unfortunately only once to take a break because I have to go away. But I’ll get back to you later. Of course, only if I may, and you want to employ you with the problem-yet.

    Thanks Michael Erich Pilarczyk

    Thread Starter Michael Erich Pilarczyk

    (@blog_micky)

    Okay! The error is now really only that the Subtitle standing together in a line with the title. It should look like the posts. Above and below subtitel title in a smaller font and a different color. Did you really tried very hard and for that I thank you from the heart. But if it does not go on I can Subtitles in pages do without. Then please tell me how I can remove the entry field for subtitles.

    Thread Starter Michael Erich Pilarczyk

    (@blog_micky)

    No it does not work on pages (#entry-subtitle)! For post I added the following code in my css file that goes also:

    span.entry-subtitle {
    color: #3b8dbd;
    }

    Thread Starter Michael Erich Pilarczyk

    (@blog_micky)

    Well, I now have the code away from the page.php. Now the title is displayed along with the subtitel without upheaval and formatting in a row. I have emptied the cache and you would have to see it too. The title is “Impressum” and the rest is Subtitle.

    Thread Starter Michael Erich Pilarczyk

    (@blog_micky)

    And here the code of page.php:

    <?php get_header(); ?>
    
    <section class="content">
    
    <?php get_template_part( 'inc/page-title' ); if ( function_exists( 'the_subtitle' ) ) { the_subtitle( '<p class="entry-subtitle">', '</p>' ); } ?>
    
    <div class="pad group">
    
    <?php while ( have_posts() ): the_post(); ?>
    
    <article <?php post_class( 'group' ); ?>>
    
    <?php get_template_part( 'inc/page-image' ); ?> <div class="entry themeform">
    
    <?php the_content(); ?>
    <div class="clear"></div>
    </div><!--/.entry-->
    </article>
    
    <?php if ( 'on' == ot_get_option( 'page-comments' ) ) { comments_template( '/comments.php',true ); } ?>
    
    <?php endwhile; ?> </div><!--/.pad-->
    
    </section><!--/.content-->
    
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>
    Thread Starter Michael Erich Pilarczyk

    (@blog_micky)

    Here the code of page-title.php:

    <div class="page-title pad group">
    
    	<?php if ( is_home() ) : ?>
    		<h2><?php echo alx_blog_title(); ?></h2>
    
    	<?php elseif ( is_single() ): ?>
    		<ul class="meta-single group">
    			<li class="category"><?php the_category(' <span>/</span> '); ?></li>
    			<?php if ( comments_open() && ( ot_get_option( 'comment-count' ) != 'off' ) ): ?>
    			<li class="comments"><a href="<?php comments_link(); ?>"><i class="fa fa-comments-o"></i><?php comments_number( '0', '1', '%' ); ?></a></li>
    			<?php endif; ?>
    		</ul>
    
    		<?php elseif ( is_page() ): ?> <h2> <?php echo alx_page_title(); ?> <?php if ( function_exists( 'the_subtitle' ) ) { the_subtitle(); } ?> </h2>
    
    	<?php elseif ( is_search() ): ?>
    		<h1>
    			<?php if ( have_posts() ): ?><i class="fa fa-search"></i><?php endif; ?>
    			<?php if ( !have_posts() ): ?><i class="fa fa-exclamation-circle"></i><?php endif; ?>
    			<?php $search_count = 0; $search = new WP_Query("s=$s & showposts=-1"); if($search->have_posts()) : while($search->have_posts()) : $search->the_post(); $search_count++; endwhile; endif; echo $search_count;?> <?php _e('Search results','hueman'); ?></h1>
    
    	<?php elseif ( is_404() ): ?>
    		<h1><i class="fa fa-exclamation-circle"></i><?php _e('Error 404.','hueman'); ?> <span><?php _e('Page not found!','hueman'); ?></span></h1>
    
    	<?php elseif ( is_author() ): ?>
    		<?php $author = get_userdata( get_query_var('author') );?>
    		<h1><i class="fa fa-user"></i><?php _e('Author:','hueman'); ?> <span><?php echo $author->display_name;?></span></h1>
    
    	<?php elseif ( is_category() ): ?>
    		<h1><i class="fa fa-folder-open"></i><?php _e('Category:','hueman'); ?> <span><?php echo single_cat_title('', false); ?></span></h1>
    
    	<?php elseif ( is_tag() ): ?>
    		<h1><i class="fa fa-tags"></i><?php _e('Tagged:','hueman'); ?> <span><?php echo single_tag_title('', false); ?></span></h1>
    
    	<?php elseif ( is_day() ): ?>
    		<h1><i class="fa fa-calendar"></i><?php _e('Daily Archive:','hueman'); ?> <span><?php echo get_the_time('F j, Y'); ?></span></h1>
    
    	<?php elseif ( is_month() ): ?>
    		<h1><i class="fa fa-calendar"></i><?php _e('Monthly Archive:','hueman'); ?> <span><?php echo get_the_time('F Y'); ?></span></h1>
    
    	<?php elseif ( is_year() ): ?>
    		<h1><i class="fa fa-calendar"></i><?php _e('Yearly Archive:','hueman'); ?> <span><?php echo get_the_time('Y'); ?></span></h1>
    
    	<?php else: ?>
    		<h2><?php the_title(); ?></h2>
    
    	<?php endif; ?>
    
    </div><!--/.page-title-->
    Thread Starter Michael Erich Pilarczyk

    (@blog_micky)

    Oh Philip,

    yes, I’m stupid! That was my mistake, I found it. Please look again at the side, now the chaos is perfect!?!?!

    Michael

    Thread Starter Michael Erich Pilarczyk

    (@blog_micky)

    Yes the subtitle should appear directly below the title and above the line.

    The code

    <?php elseif ( is_page() ): ?> <h2><?php echo alx_page_title(); ?></h2>

    I have not in my page-title.php. See above the code!?!

    Thread Starter Michael Erich Pilarczyk

    (@blog_micky)

    Oh sorry, my mistake. I have emptied and replaced the cache. The title is “Impressum” and the Subtitle is “Auch Pages erhalten einen SubTitle.”. The css class will not be accepted. In posts yet it goes.

    Thread Starter Michael Erich Pilarczyk

    (@blog_micky)

    Sorry that I love you so intensely bother with this crap! Argh, please look again to the side. It is better, but unfortunately still fits. The Subtitle has slipped and still under the line!

    Thread Starter Michael Erich Pilarczyk

    (@blog_micky)

    Okay look here http://magazin.bloggernotizen.de/impressum.html … It works for some time now. The subtitle is now totally put in the wrong. Title of the page is “Impressum” over the line and the subtitle is “Auch Pages erhalten einen SubTitle.”.

Viewing 15 replies - 1 through 15 (of 31 total)