Support

Account

Home Forums Add-ons Options Page Cannot display the option field

Solved

Cannot display the option field

  • I’ve used this plugin before with no problems, but for some reason I cannot get this to display the field anywhere. The site uses ajax to display content and wasn’t certain if there was a possible conflict. The rest of the site is using custom fields too and those are displaying without a problem. Here is the code:

    <li><a href="<?php the_field('weekly_playlist', 'option'); ?>">Test</a></li>

    I am currently developing the site and pushed it up in case it would help:

    The said code is in the footer: thesundayidiom.com

    Thanks in advance for taking the time. ACF have improved my WordPress experience tremendously.

    • Elliot

    • August 16, 2013 at 2:39 pm

    Hi @clarose098

    I’m not sure why it is not working, but have you attempted to debug the issue?

    As in, use get_field and dump out the value. Perhaps you have a spelling mistake in the field name?

    Also, are you using the options page fields elsewhere? Do they work?

  • I disabled ajax, deactivated my plugins and reactivated everything. I think there was some weird caching issue with the backend of WordPress when updating from WordPress 3.5.2 to 3.6.

    Thanks for responding so quickly Elliot. Great plugin and support.

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.