Site logo

acf

ACF Shortcodes

I’m trying to create a simple shortcode that pulls a file’s URL from an Advance Custom Field File field (like a PDF) and creates a standard text link with it. So for my client, they can upload new PDF and then it’s automatically added to the text link. What is the best way to do … Read more

Removing Post Articles

I am currently using ACF to create custom posts. I have a template function set up to query the posts and display them in a custom fashion. My issue is that GP is creating the articles below my custom posts where the posts would originally go. I will include a screenshot of what i mean. … Read more

Advanced Custom Fields and Sections

I have a food menu I built using ACF Pro and it works great when the menu page that is using the template doesn’t have Sections turned on for the remaining content. When it does, all of the data in the ACF disappears. How can I dig that content out from the Sections and add … Read more

flexbox acf generatepress

HI I am trying to displaying images fields via generatepress acf and flexbox. The link below works on my webpage with html and css. However, when images are dynamic (acf) the images with flexbox just align in one column. (flexbox original source: http://codepen.io/mazil/pen/ZbxBLa 1. I added the flexbox example (http://codepen.io/mazil/pen/ZbxBLa ) to my web page … Read more

ACF Field to Page Header?

Hi Tom, Hi Leo, I would like to include an ACF field <?php the_field('text'); ?> in the “Page Header” (combined with site header). The ACF field should be inside the “div class: inside-page-header”. Is there a way to integrate this using functions.php? Regards, Sebastian

Custom fields and WooCommerce

Hello, I use ACF and this plugin : https://wordpress.org/plugins/loushou-acf-for-woocommerce/ Ok for the back-office but how i display in front, wath’s the hook ? Thx

Javascript will not load – Parsing Errors with GP

I’m using ACF successfully in other areas of the site – all showing up as expected on the front and back end. However in this new case, I am trying to trigger an accordion effect. I have created everything as usual, see the metaboxes on the page editor but upon loading the page, I get … Read more

Advanced Custom Fields plugin and GeneratePress

Sorry for posting an off-topic question, but would anyone here have any experience with the Advanced Custom Fields plugin? I don’t code and any attempts at setting it up have failed. I do get the custom fields to appear in the backend (post edit page), and I even add the values and it saves them. … Read more