"No related posts found" text not showing up
-
Hello again ??
I’ve got a little problem using the shortcode:
[related_posts_by_tax include_terms=”628″ taxonomies=”post_tag” post_types=”post” format=”links” title=”” orderby=”post_date” order=”DESC”]
when there is something to display, links are displaying correctly, but when there is nothing, it is displaying… nothing.
I would like it to show the following message:
“No related posts found”
(for links, and thumbnails shortcodes too)How can I do that? ??
In my related-post-links.php there is this piece of code
<?php else : ?> <p><?php _e( 'No related posts found', 'related-posts-by-taxonomy' ); ?></p> <?php endif ?>
So I don’t understand why this message is not displaying…
Could you help me?
thank you very much ??
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘"No related posts found" text not showing up’ is closed to new replies.