Support

Account

Home Forums General Issues How Do I Display A Custom Field On Category Pages (Genesis Framework)?

Unread

How Do I Display A Custom Field On Category Pages (Genesis Framework)?

  • I can’t seem to display a custom footer on my category pages. (I am using genesis framerwork).

    First, I created a custom field that I named “category footer”

    The status of “category_footer” is published.

    In the Rules area of this custom field, I have it set to:

    Show this field group if Taxonomy Term is equal to Categories

    The input text area shows up in Edit Category admin pages (meaning, I see a text area with the label Category Footer when I go to Posts -> Categories – My Category

    I then try to display the field “category_footer” in the front end by using both short codes:

    [acf field="category_footer"]

    and with using PHP using this code:

    <p><?php the_field('category_footer'); ?></p>

    But it does not show up.

    Instead of pasting the above code into templates, I am using genesis simple hooks and placing it in the

    genesis_after_loop Hook

    area.

    I have ensured that Enable Short Codes and Enable PHP have been checked.

    Still, the custom field “category_footer” doesn’t show up on my category pages.

    What am I doing wrong???

    Wordpress 3.9.2
    Genesis 2.1.2
    Agency 2.0
    ACF 4.3.8

    Link: http://www.thebuddhagarden.com/blog/about-buddhism/

Viewing 1 post (of 1 total)

The topic ‘How Do I Display A Custom Field On Category Pages (Genesis Framework)?’ is closed to new replies.