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

    (@hcabrera)

    Hi there,

    Yes, the {date} code doesn’t exists because it’s part of {stats}. Use that one instead πŸ™‚

    Thread Starter streetrose

    (@streetrose)

    but I only want the date and the comments in my custom html. I guess I can hide the rest via css but I kinda don’t want the | in the {stats}

    Plugin Author Hector Cabrera

    (@hcabrera)

    Ah, that’s a different story. In that case, in order to remove the pipe symbol you’d need to modify the plugin since it’s hardcoded. If you’re feeling adventurous, this is what you have to do:

    1. Open wordpress-popular-posts.php using a text editor such as Windows’ Notepad, Adobe Dreamweaver or the built-in editor in the Plugins section of WordPress.
    2. Around line 1144, you’ll find // STATS. Below that is the whole code that builds the stats. Replace the pipe sign (|) with a blank space or whatever you like, and save changes.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No {date} for date in shortcode?’ is closed to new replies.