Support

Account

Home Forums Backend Issues (wp-admin) Using Relationship filters

Solved

Using Relationship filters

    • Pirenko

    • January 24, 2014 at 5:48 am

    Hi,
    Thank you for this great add-on!
    I’m having some trouble with using what is shown here: http://www.advancedcustomfields.com/resources/filters/acf-fields-relationship-query/

    I added the filter using the field id, but it seems that it is not being applied.
    You may ask why do I need this? Well I want to have a page selector, but only from a certain page template type. Is this possible? If there is an alternative method can you help me?
    Thanks in advance!

    • Elliot

    • January 26, 2014 at 12:01 pm

    Hi @pirenko

    A field does not contain an ID, but does contain a key. Perhaps this is what you meant.

    Can you please post your code and also do some debugging to make sure it is running as expected?

    Thanks
    E

    • Pirenko

    • January 29, 2014 at 4:32 am

    Hi,

    I found a workaround on this so it is not necessary. Thank you for your feedback anyway.

    Cheers!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.