Questions tagged [acfpro]

ACF PRO is the professional version of ACF (Advanced Custom Fields), a plugin for WordPress

ACF is a WordPress plugin for WordPress edit screens and custom field data.

References

341 questions
-1
votes
1 answer

Can i filter the custom post type items by the URL parameter values?

URL:- abcdefghi/?state=18&district=DistrictName I have a URL as I mentioned above, and I want to filter my Custom Post Type items by these parameters. I also have advanced custom fields for each item that contain the same values in the URL…
vimal
  • 21
  • 5
-1
votes
1 answer
-1
votes
1 answer

ACF Repeater field [shortcode] - do not show anything if subfields are empty

I am trying to create a TO DO list with ACF Advanced Custom Fields in Wordpress. What I want to achieve is a shortcode that will display the TO DO repeater wrapped in Div tags with H3 title. But IF the sub-fields are empty, nothing should show up,…
Joe Bloggs
  • 1,410
  • 2
  • 24
  • 53
-2
votes
1 answer

How to display taxonomies as excerpts

I created recipe posts and taxonomies using ACF Pro and placed the code in my child theme single.php. I have styled my recipe posts and everything is great but I would like to display all my recipes as excerpts in a page so they can be categorized. …
cboy
  • 169
  • 2
  • 3
  • 13
-2
votes
1 answer

Exclude posts by ID in a custom query built with ACF Gutenberg blocks

I have a ACF Gutenberg block with several options Display latest posts, lets say 5 Display selected posts, is a list of posts from which I can select which to show. If I add this block several times on a page, with the option to select the posts…
-2
votes
1 answer

Is there a content output wrapper in wordpress instead of using echo?

Background I use php CPT templates with ACF. Usually i get ACF variables and depending on these variables i use get_template_part() to display content. in other cases i just use echo to deliver content. So far, this is working out for years…
-2
votes
2 answers

How to authorize google location lookup acf field in wordpress when you have api's enabled and key provided - still throws ApiTargetBlockedMapError

Just trying to use the advanced custom fields wp plugin google location lookup field in post meta in the wordpress post editor backend. No matter what I do the lookup always fails and says unauthorized. I have enabled all the api's for maps as seen…
-2
votes
1 answer

Set SVG Marker sizes on Google Maps

I'm currently struggling to set the sizes of my SVG Markers, they are showing up quite large, and I can't amend the size as you would usually in the JS because of the way my map is setup in ACF. Can anyone suggest a way I could amend the size of my…
-2
votes
1 answer

Multiple Marks with ACF Google Map

I'm trying to make a Google Map that shows multiple custom markers. I currently have a repeater field setup named 'Map', within that repeater is a Google Map named 'google_map', and a Description text box named 'description'. I used the code from…
-2
votes
3 answers

How to create ACF PRO fields programmatically using OOP?

I like ACF PRO. It's very good and power WP plugin. But... I read the documentations ACF PRO, but the approach isn't OOP and it looks a bit multi-line-redundant (I mean it isn't convenient to use it). Are there any other methods to create ACF PRO…
1 2 3
22
23