badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

show post tags in posts bottom

Tagged: , , , ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #65002
    javadxth
    Participant

    hi

    how can i show the post’s tags in posts or pages bottom ?

    #65046

    Hi there,

    You can update your posts with tags and it will automatically display on the bottom of each posts single.

    Thank you!

    #65085
    javadxth
    Participant

    my posts have the tag

    but theme doesnt show them

    I don’t see this tags in post pages

    my single.php

    <?php
    /**
     * The template for displaying all single posts
     *
     * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
     *
     * @package NewsCard
     */
    
    get_header();
    
    	newscard_layout_primary(); ?>
    		<main id="main" class="site-main">
    
    			<?php
    			while ( have_posts() ) :
    				the_post();
    
    				get_template_part( 'template-parts/content', get_post_type() );
    
    				the_post_navigation();
    
    				// If comments are open or we have at least one comment, load up the comment template.
    				if ( comments_open() || get_comments_number() ) :
    					comments_template();
    				endif;
    
    			endwhile; // End of the loop.
    			?>
    
    		</main><!-- #main -->
    	</div><!-- #primary -->
    
    <?php
    do_action('newscard_sidebar');
    get_footer();
    #65215

    Hello,

    Please go to template-parts/content.php file on line no:86 there you will see the code to display posts tags if the post have tags. Can you please share us the site URL where you are expecting tags?

    Thank you!

    #77691
    javadxth
    Participant
    		<?php if ( is_single() ) {
    			echo get_the_tag_list( sprintf('<footer class="entry-meta"><span class="tag-links"><span class="label">%s:</span> ', esc_html__('Tags', 'newscard') ), ', ', '</span><!-- .tag-links --></footer><!-- .entry-meta -->' );
    
    #78338

    Hi

    Sorry for the late response due to some unavoidable circumstances. If you have set the tags for post then the respective post single should show the tags. Could you please share us your Site URL so that we can figure out the issue faced by you.

    Thanks

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.