ViewedPage Numbers below Post

  • Author
    Posts
  • Akshay Tabhane
    Participant

    hello

    i need one help

    page no. are appearing below the categories
    but those related post and the is appearing above it how can i add that just below it

    means i want to give priority to those page no. to appears first then related post and all

    see it here please

    see here
    let me know how can i add this

    #4860
    iLen
    Keymaster

    Hello,
    Yuzo Free gives instructions on how to put the related posts anywhere in the template, in your case it would be in the single.php file below the_content() function. Put this function under the_content() function inside single.php
    <?php if ( function_exists( "get_yuzo_related_posts" ) ) { get_yuzo_related_posts(); } ?> and desativate option `Yuzo setting -> Advanced -> Automatically append to the post content
    I await your prompt reply.`

    I await your response

    #4862
    Akshay Tabhane
    Participant

    added like this

    https://pastebin.com/sPaDVvgr

    messing the whole page

    well and deleting that post contents also that was strange

    #4864
    iLen
    Keymaster

    Try this

    <?php get_header(); ?>
    	<main id="content">
    
    	<?php while (have_posts()) : the_post(); 
    
    			get_template_part( 'content',  get_post_format() );		
    <?php if ( function_exists( "get_yuzo_related_posts" ) ) { get_yuzo_related_posts(); } ?>
    
    			if ( comments_open() || get_comments_number() ) {
    				do_action( 'basic_before_post_comments_area' );
    				comments_template();
    				do_action( 'basic_after_post_comments_area' );
    			}
    
    	endwhile; ?>
    		
    
    	</main> <!-- #content -->
    
    	<?php get_sidebar(); ?>
    <?php get_footer(); ?>
    #4869
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.