Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi there!

    WPP strips out all HTML tags from the post title by default, and there’s no way to change that from the widget. You’ll have to modify WPP’s code for this:

    1. Go to Plugins > Editor and select WordPress Popular Posts from the dropdown at the right.
    2. Find:
      // Strip HTML tags
      $title = strip_tags($title);

      and change it to:

      // Strip HTML tags
      //$title = strip_tags($title);
    3. Hit the Update file button to save changes.

    Keep in mind that any changes made to plugin’s files will be undone the next time you update WPP, so make sure you bookmark / save this code somewhere for future references.

    Thread Starter superamon

    (@superamon)

    Hello again,

    It works perfectly.

    Keep up the awesome work!

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Doubs about title formating’ is closed to new replies.