WordPress.org

Ready to get started?Download WordPress

Forums

Post Types Order
[resolved] Exclude Feed From Post Types Reorder. (3 posts)

  1. BestWebHost.ws
    Member
    Posted 1 year ago #

    Hello,

    Post types reorder is working great but I need to exclude feed. I want the feed to be ordered according to date, not my custom reorder.

    Can you tell me which file and code to edit?

    Thank You

    http://wordpress.org/extend/plugins/post-types-order/

  2. nsp-code
    Member
    Plugin Author

    Posted 1 year ago #

    You can try the following

    if (is_feed())
    return $orderBy

    within the CPTOrderPosts function.

  3. BestWebHost.ws
    Member
    Posted 1 year ago #

    Worked like a charm.

    Thanks a million!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.