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*

javadxth

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: how to edit h2 heading ? #77693
    javadxth
    Participant

    thanks
    but please tell me how to edit that h2 tag however it affects SEO or not

    in reply to: show post tags in posts bottom #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 -->' );
    
    in reply to: show post tags in posts bottom #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();
Viewing 3 posts - 1 through 3 (of 3 total)