WordPress Popular Posts
[Plugin: WordPress Popular Posts] Titles not fully displayed (4 posts)

  1. btmash
    Posted 6 years ago #

    Currently, wordpress allows you to place inline html into the titles so a title like 'This is my Super post' would show up with the Super part of it emphasized. The older version of WordPress Popular Posts actually had it functioning in this manner but the new version does not. I would that a fix from around line 638 to use:

    $tit = get_the_title($wppost->ID);

    seems to fix the issue. I know there is title shortening going on but that may be a way to fix up the title. (or by using apply_filter).


  2. Héctor Cabrera
    Posted 6 years ago #

    Hi btmash,

    The problem with your suggestion is that you're using an extra query to get info that was already retrieved by my plugin. I'll try a few ideas and post back with a fix so you can try it out for me, ok?

  3. btmash
    Posted 6 years ago #

    Absolutely :) I used get_the_title as my workaround (and realized its not the most optimal way hence mentioning the apply_filter stuff) and would be happy to test out a better solution :D

  4. Héctor Cabrera
    Posted 6 years ago #


    I've published a beta version of my plugin which fixes a few things, including HTML in post titles. Wanna try it?

    Download it here.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Popular Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic