WordPress.org

Ready to get started?Download WordPress

Forums

Custom Field Template
Excluding a template from a page or post? (3 posts)

  1. Osu
    Member
    Posted 3 years ago #

    Hi,

    Is it possible to *exclude* a Custom Field Template from a page / post if it's been set to apply to all Posts and/or Pages?

    For example, I set up two CFTs - one is set up to show on all pages and posts, the other is just for the 'About' page. I don't want the first CFT I set up to appear on the About page. Is that possible?

    Thanks

    mn

  2. Osu
    Member
    Posted 3 years ago #

    Heloooooooo?

    :)

  3. daveleeone
    Member
    Posted 3 years ago #

    When you have for example two custom-post (addessdata & mediadata) caterorys, you can filter the search with

    Format0 =

    Books: [Books]
    <input type="hidden" name="post_type" value="addressdata" />

    and

    Format1 =

    Movies: [Movies]
    <input type="hidden" name="post_type" value="mediadata" />

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic