Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [advanced-custom-fields]

Advanced Custom Fields is a free WordPress plugin which acts as a GUI layer for custom fields. Custom fields are native to WP and appear on pages, posts and custom post types, however the native custom field interface is not very user friendly. ACF uses field groups to attach fields to edit screens.

advanced-custom-fields
0 votes
0 answers
23 views

How to display ACF group field and sub fields?

I have displayed a group field in block layout and sub fields before with get_field before but it isn't working. <?php $about = get_field("about"); ?> <?php if ($about): ?> &...
Sawyer's user avatar
  • 21
2 votes
0 answers
16 views

Dynamically created ACF select field returning false

I am using this which lists all posts from a CPT on site 1, from site 2 (multisite wordpress site). On site 2, I select the name in the select field and shows as selected after the page has updated, ...
SourceCode's user avatar
1 vote
0 answers
34 views

Error 404 with Pagination on Custom Query

I have a custom query with a while loop on my page.php, to display multiple post types I have created using ACF. But my pagination does not seem to work, it always shows the Error 404 page. Here is ...
onlyoreoo's user avatar
0 votes
0 answers
16 views

acf wordpress: i am trying o display images choosed by checkbox by administrator

i am trying to create a function in php that will display the right images. using plugin ACF i was expecting: enable the admin to select images on the product edit page using ACF and then display the ...
MMA's user avatar
  • 1
1 vote
2 answers
28 views

ACF Multiple Relationship query box

I use ACF to built a theme for my hiking blog... To be short each Hike(CPT) can have many Summit(CPT) and each Summit(CPT) has 1 Location(CPT). When I add a Hike, i can add 1 or many summit in the box....
f.soucy's user avatar
  • 23
0 votes
0 answers
19 views

How to Sort WordPress Posts by ACF Repeater Fields?

I'm working on a WordPress site where I need to display tour custom post types on an archive page. Each tour has availability dates stored in ACF Repeater fields. I want to list only the tours ...
Faruk's user avatar
  • 63
0 votes
0 answers
32 views

Re-ordering ACF Flexible Content Fields in Wordpress, not by order in PHP file?

Currently I have a single.php file where I am calling all my ACF fields, which are displaying all okay. The only issue is that they are displaying in the order they appear in the single.php rather ...
Dominic Hands's user avatar
0 votes
0 answers
14 views

Customize WordPress "Comment-function" or other built-in WordPress function with approval option

The idea: I was asked to recreate this sort of petition but in WordPress. Basically, the users should be able to add their name (1), their e-mail (2) and upon ticking both check marks (3) that their ...
Lizzzardking's user avatar
0 votes
0 answers
16 views

Is it possible a loop based on custom fields in Bricks Builder?

Is it possible a loop based on custom fields in a Wordpress Theme like Bricks Builder? Right now I have a custom post type “Groups” and a custom post type “Characters”. In every character post I have ...
MageMedia's user avatar
2 votes
0 answers
104 views

How to correctly encode special characters when programmatically creating ACF Gutenberg-Blocks in Wordpress?

I am building an importer for a wordpress project and have to map blocks to other block types. Therefore, I have an abstract base Block-Class that looks like this: abstract class Block { abstract ...
marks's user avatar
  • 1,381
0 votes
0 answers
18 views

Can't check multiple checkboxes when using acf in woocommerce product's page

I have created a csv file for importing products in woocommerce. I've created some custom fields using ACF. In 2 of those ACF fields I've selected the checkbox as type because the product can have ...
Abdul Raheem Dumrai's user avatar
0 votes
1 answer
22 views

Moving Wordpress Custom Field Value into Default Editor/Excerpt

I am in the process of migrating posts between an old and a new website. ACF was used on the old website and when I import the posts into the new website it creates the custom fields "...
JoshuaBrand's user avatar
0 votes
1 answer
33 views

How to Dynamically Display Blog Posts Related to Custom Post Types in WordPress with ACF and Elementor Pro

I'm working on a WordPress website using Elementor Pro and Advanced Custom Fields (ACF) for a sports club that offers multiple sports activities. I've created a template that reflects the structure of ...
zh888's user avatar
  • 1
0 votes
0 answers
11 views

Inaccessible field groups, ACF, Frontend Admin issue?

I am definitely a noob and I have someone who manages my website BUT she's in vacation. 2 days ago, I updated my ACF, Frontend Admin, wordpress core, divi theme plug ins. Then I encountered loads of ...
Ferdinand Gonzales's user avatar
-1 votes
1 answer
36 views

code conflict with two buttons - read more in Woocommerce Descriptions and display content from another post

I have two buttons on my Single Product template, a Read More for the product description in the Product details block (Wordpress theme 2024) and a second that takes the content from a custom post ...
RobPL's user avatar
  • 61

15 30 50 per page
1
2 3 4 5
306