Widget Title not appearing on Custom Post Page
-
Thanks for sharing such a great plugin. I have been using it since long time without any problem.
Today I have noticed one small thing that the widget is showing post id instead of the title on the custom post page. This happens only on custom post single page and works perfectly on rest of the website pages.
Here is the problem (Custom Post Single): https://www.savvytheme.com/coupon/labor-day-special-30-off-on-themify-070915/
This is normal post (Works fine): https://www.savvytheme.com/5-best-notification-bar-wordpress-plugins/
Here is the code snippet:
<?php while ( $r->have_posts() ) : $r->the_post(); ?> <li><a>"><?php get_the_title() ? the_title() : the_ID() ; ?></a> <?php if ( $show_date ) : ?> <span class="post-date"><?php echo get_the_date(); ?></span> <?php endif; ?> </li> <?php endwhile; ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Widget Title not appearing on Custom Post Page’ is closed to new replies.