Skip to main content

Questions tagged [advanced-custom-fields]

OFF-TOPIC. Support questions should be asked on the plugin's support page.

Filter by
Sorted by
Tagged with
1 vote
0 answers
40 views

I have been trying every which way to make my 'load more' work with ACF fields. I have a complex query that works correctly, but I need a 'load more' added. This is where I am. I can load more, but ...
Ruth's user avatar
  • 21
1 vote
2 answers
110 views

I have been generating a list of posts from particular categories, that can be embedded within any page using a shortcode: [random-posts-list cats="my-category, another-category"] The code ...
Checkmate UK's user avatar
0 votes
0 answers
37 views

I'm building a Wordpress multisite where there is a parent site, Site A, which will have several subsites, Site X, Y, Z. Each site will have the same pages with the same page slugs, and almost the ...
BenCG's user avatar
  • 1
0 votes
1 answer
134 views

So here is the situation, i have created a CPT (portfolio) with acf and assigned to it a custom taxonomie (category) and posted some content in the CPT and the taxonomie wich was fine. But then i ...
tetra magnetic's user avatar
0 votes
1 answer
45 views

I have a page here: URL: https://hscr.com/short-term-rentals-vancouver-2/ Password: vancouvertest Which has a google map initialisation on it, if you scroll down you'll see there is a blank area on ...
Chris Mitchell's user avatar
0 votes
0 answers
26 views

I'm wondering if anyone has a plugin solution or if they can forward me in the right direction. We currently list holiday rentals on our website and we have the properties set up as custom post types. ...
Tommy Leyland's user avatar
0 votes
0 answers
135 views

Trying to add terms from another taxonomy to the current term. It seems to work fine when I have multiple values but the get_terms($args) returns 0 when there is only one value. Here is the setup. The ...
mardag's user avatar
  • 1
1 vote
0 answers
81 views

I'm using Elementor and ACF on a website and have a custom post type for events. In elementor I have the posts on the archive page set to order by the ACF start date field. When the user clicks the ...
kemmieg's user avatar
  • 31
0 votes
1 answer
38 views

I have a custom field named "fecha_borrado". The date is a date picker from Advanced Custom Field. I have this code but don't work. Maybe i did some wrong? I added too define('...
vektor's user avatar
  • 21
1 vote
0 answers
52 views

I have developed a WP Query that displays posts from a custom post type and taxonomy, and orders them by date using a custom field. The posts have a single Advanced Custom Fields date picker field ...
Mike Hermary's user avatar
0 votes
0 answers
32 views

I'm using an acf field to create a custom slug for a post type. Everything works and saves correct in the database. Only the shown value of the link field in the backend is not updated on publish. I ...
Lisa's user avatar
  • 13
0 votes
0 answers
33 views

let me explain my requirements. I have WordPress website and I have created a custom post type reviews. Single post have acf fields which I want to show up depending upon the the term user clicks on ...
Amit Singh's user avatar
10 votes
2 answers
1k views

I don't wish to get into the politics going on between WP Engine and Wordpress.org (and I understand there are strong undercurrents to the ACF issue) but in his post Secure Custom Fields Matt ...
davidgo's user avatar
  • 398
2 votes
1 answer
185 views

I have made a custom theme and used CPT UI to create Event Post Type and ACF to create Event Date Field. I am using following code to display Remaining Event Days in frontend: $event_date = strtotime(...
Milan Bastola's user avatar
0 votes
1 answer
20 views

I have the following code $query = new WP_Query($args); if ($query->have_posts()) { while ($query->have_posts()) { $query->the_post(); $post_id = ...
iWebbers's user avatar
0 votes
1 answer
208 views

So a little stuck, I want to dynamically populate an ACF select field based on values from flexible content. I am able to get the labels into the select box, however, the values are in sequential ...
DEM's user avatar
  • 181
1 vote
1 answer
73 views

I created a ACF block. It calculates the distance from the displayed ski resort to the 3 closest ski resorts and displays a summary and is meant to use in a side bar or something. I have a function ...
spreaderman's user avatar
0 votes
1 answer
38 views

I wrote this code: <?php $category_border_color = get_field('category_border_color'); $image = get_field('main_image'); $short_description = get_field('short_description'); $permalink = ...
Caro's user avatar
  • 1
0 votes
0 answers
35 views

I have a custom post type - headstones, that contains pricing information in custom fields: Cost of Stone Cost of Carving Cost Total Retail Price of Stone Retail Price of Carving Retail Total Of the ...
Craig Watson's user avatar
0 votes
1 answer
443 views

I have a CPT that contains Employee Bio information. Because we don't want to create accounts in wp_users for everyone, this data is implemented as a "regular" CPT living in wp_posts. Let's ...
scott8035's user avatar
  • 230
0 votes
2 answers
141 views

I've made a Custom Post Type called Activity Providers. In the Wordpress dashboard it shows up as it should in the menu, and I can create them, but the option to view each activity provider is not ...
Naomi S's user avatar
0 votes
0 answers
35 views

I would like to put an ACF field in the of my the_terms function, is this possible? Because I can't figure out how to put it. <?php $dev = get_field ('my_field', 'option');?> <?php ...
user avatar
0 votes
1 answer
103 views

A couple of images will be easier to describe what I need to do: Here I am entering a new product's title and description, which is simply a repeater with 2 texts. When I validate, I get my entry ...
Gynko's user avatar
  • 1
0 votes
2 answers
178 views

I am having two custom post type "meet_our_community" and "news" I have added a checkbox field named 'add_to_meet_our_community' from the acf to 'news' post type. Now I when tried ...
Amal's user avatar
  • 11
1 vote
1 answer
461 views

I have a custom post type called "crowdfunding" which contains two Advanced Custom Fields called campaign_start_date and campaign_end_date (in addition to several others). I'd like to create ...
commadelimited's user avatar
0 votes
2 answers
60 views

We have 3 ACF fields added to Woocommerce orders - start date (pick_up_date), number of weeks (number_of_weeks) and end date (end_date) Start date and number of weeks are manually entered and the ...
nadyawell's user avatar
0 votes
1 answer
156 views

I'm trying to redirect users directly to the URL of the file located in a post using a File field from ACF. Something like: <?php function redirect_to_acf_file_url() { $file_url = get_field('...
a_y's user avatar
  • 1
0 votes
1 answer
91 views

Hello WordPress community, I'm working on a project where I need to create a custom post type using Advanced Custom Fields (ACF) and query it via WPGraphQL to integrate with a Headless Next.js build. ...
Jason6's user avatar
  • 1
1 vote
2 answers
905 views

I have tried a few versions of the code to get this working and seem to come up with a couple of errors either way. I am using ACF for the fields and adding the below code to the themes functions.php ...
Craig Watson's user avatar
1 vote
0 answers
86 views

I use WordPress with Polylang PRO and ACF PRO plugins. Using ACF PRO I've created CPT with post_type 'aktualnosc', with rewrite slug 'aktualnosci' (same slug as page name (with posts list)). I also ...
NetPax's user avatar
  • 11
0 votes
1 answer
295 views

I'm creating a Run Report page for a ski resort. I have created an ACF group calls Runs. Within this ACF group there are a number of ski runs that use the checkbox field with the values 'Day' 'Night' ...
Overspeed's user avatar
0 votes
0 answers
40 views

this is my plugin code <?php /* Plugin Name: Unique Auto VIN Fetcher Description: Fetches vehicle data using VIN from a specified API and fills the data in custom fields in posts. Version: 1.0 ...
Mohammad Oveissi's user avatar
0 votes
1 answer
103 views

I am programming a hook for ACF to get a list of posts from another site in a network. so switch_to_blog(1); ... do some WP_Query... ...list results in an array ... restore_current_blog; in a ...
Chris Pink's user avatar
0 votes
1 answer
116 views

I have a custom post type, which also has a custom taxonomy. These have been defined via ACF. Editing posts of this custom post type results in the Wordpress editor crashing. This seems to happen when ...
MastaBaba's user avatar
  • 311
1 vote
0 answers
98 views

I'm having trouble with my query when using ajax to filter the posts. I have a page where the posts of post type 'activiteiten' are loaded when the start_date custom field has today's date or a date ...
Thessa Verbruggen's user avatar
0 votes
0 answers
40 views

Is there a straightforward way to create custom fields for module-based content on WordPress? Example: User Creates page Creates Page content sections through forms Row 1: Column 1 - Content A ...
Jeremy Thomas's user avatar
0 votes
0 answers
53 views

I would like to be able to insert a colon into my number box. In this case, I would like to put a colon between 15 and 1 instead of the decimal, since it is describing a ratio, but when I do this it ...
zshutoski's user avatar
0 votes
1 answer
81 views

How can I retrieve posts, using backbone, that match a particular custom field value? My custom fields are created through ACF. Something like this doesn't work: var data = { offset: 0, ...
MastaBaba's user avatar
  • 311
1 vote
1 answer
74 views

I'm using a plugin that lets me order posts and set some as "sticky" and always on top. I have the example code below that will randomize all posts except for the sticky posts, they will ...
dagnabbit's user avatar
0 votes
1 answer
339 views

WhatsApp has a feature that allows you to start a conversation from a link. This link will be built like this: https://wa.me/1XXXXXXXXXX?text=message%20here Where 1XXXXXXXXXX must be replaced by the ...
Wiliam Jose Koester's user avatar
1 vote
1 answer
671 views

so a week or so ago my hosting provider updated my version of Wordpress (I cannot control this) and on the edit side most of my Gutenberg blocks are broken. I knew this day would come but I was ...
Mike Sav's user avatar
  • 147
0 votes
1 answer
309 views

I am confused around how the add_rewrite_rule function works, especially with custom post types. I have a custom post type books and for each post, I have a ACF field that is called ISBN. Right now, ...
zeropsi's user avatar
  • 101
0 votes
1 answer
292 views

I am using `ACF` plugin to add a custom field to my widgets. After creating the field with the name `mobile_enable`, tried to get the value with the method explained in the ACF docs which is the ...
MeMo's user avatar
  • 81
0 votes
0 answers
89 views

I have a custom post type called Projects that includes an ACF field named team_members which uses User as a field type and returns a User Array. I want to filter the post type listing so that the ...
Rizal Kholif's user avatar
1 vote
0 answers
278 views

I used the guide HERE from acf themselves, but for some reason whenever I attempt to query anything at all in the url I get the "There has been a critical error on this website" error. $...
judahking's user avatar
0 votes
1 answer
85 views

I'm using a template part to repeat the HTML for each result when performing a WP_User_Query to return a list of users. However I am finding that the Advanced Custom Fields data isn't returning. // ...
greatsplott's user avatar
1 vote
0 answers
339 views

I am currently building a Headless site using WordPress as a CMS, coupled with Nuxt 3, bridged with the REST API. So far, everything’s been great, but I’m struggling with how to retrieve the ACF ...
Alex Ryans's user avatar
1 vote
0 answers
354 views

I am creating a custom ACF Field within a page edit screen which I have added a div container, outside the container is 3 buttons. Add text block, add image and save. I also have a repeater field (I ...
DigitalDesigner's user avatar
0 votes
0 answers
655 views

I have a problem with an acf function for displaying an image by array. I can get my image to work well when I upload it to the field associated with it. On the other hand, when I don't put an image, ...
user avatar
0 votes
0 answers
108 views

Hello, I was wondering if there is a way to add "reviewedby" + name (potentially with a blue checkmark) under the author as displayed in the attached example. ​Also, I would like users to ...
User3591's user avatar

1
2 3 4 5
31