• Resolved markmwdb

    (@markmwdb)


    I’ve placed the shortcode [most_liked_posts] in my PHP code using the format:
    <?php echo do_shortcode(“[most_liked_posts]”); ?>

    However, it keeps saying “No posts liked yet” when there are likes on posts.

    This is not due to the error with excluding posts/pages and enabling the “Show excluded posts/pages on widget” as I have checked that already!

    The shortcode works perfectly when placed on my page. The fact that the plug-in is outputing “No posts liked yet” implies that it is functioning in the PHP.

    If anyone could help it’d be greatly appreciated!

    http://ww.wp.xz.cn/extend/plugins/wti-like-post/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Most Liked Posts in PHP – Not Working’ is closed to new replies.