Support » Plugin: WordPress Popular Posts » [Plugin: WordPress Popular Posts] Trying to customise the WPP call to suit category pages.

  • 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/

  • The topic ‘[Plugin: WordPress Popular Posts] Trying to customise the WPP call to suit category pages.’ is closed to new replies.