WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Mobile Pack
Remove category from recent posts (3 posts)

  1. astima
    Member
    Posted 2 years ago #

    The homepage of the mobile app displays the most recent posts from all categories. Is there a way to eliminate a category from displaying in the most recent posts? I've been looking at the code for the index.php and I can't seem to figure it out.

    http://wordpress.org/extend/plugins/wordpress-mobile-pack/

  2. astima
    Member
    Posted 2 years ago #

    I know I need to add a condition to the loop to exclude categories from appearing in the recent posts. I always have trouble when adding to the loop, but here's what I have so far. It doesn't work, but I was wondering if anyone knows I am heading in the right direction.
    http://pastebin.com/pvUeLkUa

  3. dpanitz
    Member
    Posted 1 year ago #

    Did you ever figure this out?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic