Advance custom fields

Posted in: Newspaper
Post count: 3

Hey there!
I recently changed the theme of my web to “Newspaper”(for customer request). My problem is that the design created by ACF plugin not seen on the site. I have to add some extra code to work? I hope your answers very attentive.

  • This topic was modified 10 years by Muztafari.
Post count: 9544

Yes, with ACF you have to actually place the shortcodes for your custom fields into your post template(s). This is how ACF works, it doesn’t happen automatically (I use ACF 4 and 5 PRO).

So, if you’re using the “style 2” post, you’d need to look at adding your field shortcodes intto the style 2 theme files in your /newspaper/ root.

If using post template 2, try placing your shortcode(s) into

single_template_2.php
loop-single-2.php

where you want them to appear.

This is described in the ACF docs:
http://www.advancedcustomfields.com/resources/displaying-custom-field-values-in-your-theme/

  • This reply was modified 10 years by simchris.
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.