WordPress.org

Forums

WordPress Popular Posts
Trying to customise the WPP call to suit category pages. (1 post)

  1. daragh
    Member
    Posted 4 years ago #

    I'm setting up a site with 8 key categories.

    I'm trying to use PHP in a widget such that the code figures gets all the category ids, figures out what category it's currently in, removes that from the list and outputs the WPP command with the correct parameters.

    I've done all that and it works if I put it in a page but not if I put it in an EXECPHP Widget. Here's my code (I'm no expert but it does work)
    [Code moderated as per the Forum Rules. Please use the pastebin]

    Also why no cats_to_include parameter!? :-)

    http://wordpress.org/extend/plugins/wordpress-popular-posts/

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