Simply Exclude
[resolved] WordPress iOS App (XML-RPC) exclude (8 posts)

  1. staze
    Posted 3 years ago #

    I've posted about this in the iOS WordPress forums, but I thought I'd ask here incase the answer is obvious.

    I've installed Simply Exclude on my site, for the purpose of removing posts of certain categories from my homepage (they live only in their own category).

    The problem is, this seems to also exclude them from being seen via the WordPress iOS app. I'm not sure how the app gets it's list of posts, but apparently in excluding certain posts from the main blog index, it also excludes them from the iOS app, even if they're in a draft state (so obviously, they wouldn't show up on the blog anyway since they're unpublished).

    Changing the category to one that's not excluded from the homepage allows them to be seen by the iOS app. Changing them back to an excluded category causes them to be hidden again.

    Any ideas?


  2. Paul Menard
    Plugin Author

    Posted 3 years ago #

    I will need to check the code. The Simply Exclude is support to only filter on the main page loop. Somehow I bet there is a flag when process XML-RPC with is not being checked by the plugin.

  3. staze
    Posted 3 years ago #

    cool, thanks! let me know if there's anything I can do to help. =)

  4. staze
    Posted 3 years ago #

    Ha! Answered in the iOS wordpress forum.


    Should be easy enough...

  5. staze
    Posted 3 years ago #

    Okay, can confirm changing line 1903 in simplyexclude.php to the following allows the iOS app to see all posts:

    if (is_admin() || ( defined( 'XMLRPC_REQUEST' ) && XMLRPC_REQUEST ))

    Done, and done! Let me know if you need anything else. =)

  6. staze
    Posted 3 years ago #


    Just checking to see if you're going to be pushing this patch, or...?

  7. staze
    Posted 3 years ago #

    Still happening in latest version released today.

    Changing line 2029 to be:

    if ((is_admin()) || ($query->is_admin) || ( defined( 'XMLRPC_REQUEST' ) && XMLRPC_REQUEST))

    Resolves it.

  8. staze
    Posted 3 years ago #

    2.0.5 seems to have resolved this. Though looking at Trac, I'm not exactly sure HOW you fixed it. =P

    Anyway, thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simply Exclude
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic