Most voted "advanced-custom-fields" questions
Popular plugin for Wordpress that adds an interface to create Meta Boxes (containing Custom Fields) that can be added in different administrative sections. Uses own functions inserted in theme files to recover and show the Custom Fields on the site, but data is stored in wp_postmeta table and can be recovered with standard Wordpress functions.
Learn more…17 questions
Sort by count of
-
6
votes2
answers1295
viewsCustomization of Jtextfields
Many professional programs use Jtextfields or Jbuttons customized with different edges. Someone would have code examples to change the design of these buttons and text Fields to something like the…
-
3
votes2
answers1837
viewsAdvanced Custom Fields do not appear on the front end
I’m having a problem with the plugin ACF (Advanced Custom Fields) for Wordpress, I even paid the $25 for the add-on Repeater Fields , but I don’t know if I made a good deal. I looked at the…
-
2
votes1
answer377
viewsImage problem in Advanced Custom Fields plugin
I am using Advanced Custom Fields in a job and created the following field and inserted out of the loop the code: <?php the_field('jogador_1'); ?> and is returning me the following error: 15,…
-
2
votes1
answer67
viewsDelete expiration date information in Wordpress posts
I am using the code below to inform the time it takes for a post to expire on my Wordpress site, whose expiration value I define in a Custom Field (expiration). From this code, as I prevent a post…
-
2
votes1
answer118
viewswordpress add_rewrite_rule with custom field
How do I create a URL in Wordpress, using the add_rewrite_rule, same below but filtering posts by a custom field? function custom_rewrite_basic() { add_rewrite_rule('^leaf/([0-9]+)/?',…
-
1
votes1
answer398
viewsIs it possible to create a dynamic field within an Advanced Custom Field?
I need to create a field dynamic pulling information from the database that will be relating teachers and their characteristics and putting this field as ACF [Advanced Custom Fields] within a UI CPT…
wordpress advanced-custom-fields custom-post-typesasked 9 years, 2 months ago Marcos Vinicius 7,188 -
1
votes1
answer285
viewsHow to sort a category post by a Custom field?
I have a platform in Wordpress where a particular category has a Custom field (a date). You can make sure that when you show posts in this category they are sorted by the Custom field I added?…
-
1
votes2
answers363
viewsAdvanced Custom Fields Taxonomy not showing!
Good evening person, first time participating here. I created a theme in Wordpress but I’m having a problem that is taking my day. I’m not a programmer, but I know how to create themes for wordpress…
-
1
votes0
answers32
viewsWordpress main loop change impacts on server?
I used pre_get_posts to change the loop of my Wordpress site. The idea of this loop is to not display posts that I set an expiration date, whose dates are added in a custom field (postexpiry). Do…
-
1
votes1
answer103
viewsLimit amounts of categories in wordpress
Hello, all right. I have a question here and I’d like a little help from you I have the following code: <?php $prod_marca = get_field('categoria_e_tags_marca'); if( $prod_marca ): ?>…
-
0
votes1
answer1013
viewsHow to add custom Fields in search for Wordpress backend?
On a custom type page, in administration, it lists the project title and the date, and so the search works only in these two fields. How to make that at the time of the search it looks also in the…
-
0
votes0
answers54
viewsValueless custom field appears in meta_key query in Wordpress
When creating any Custom Field with the ACF plugin, even if I don’t add any value to it in a post, when making a query via meta_key these posts that have no value are displayed. For example, I…
-
0
votes1
answer121
viewsInclude Multiple Custom Post Type Files with Advanced Custom Fields
Good morning, I need to include several files in a Post Type, I am using ACF (Advanced Custom Fields), for the creation of custom fields. It is possible to do this without creating another post type…
wordpress wordpress-plugin custom-post-types advanced-custom-fieldsasked 6 years, 7 months ago Robison Luiz Fernandes 41 -
0
votes0
answers336
viewsWordpress - Paging does not work in taxonomy
I have a custom post type "news" and a taxonomy "subject" that has its terms, to make the pagination I am using the following code (page-news.php): $custom_query_args['paged'] = get_query_var(…
-
0
votes1
answer103
viewsCreate a Wordpress Query using ACF Relational Fields
good night. I’m developing a movie registration website for a movie-aficionado cousin and need a help to put a query that lists the names of the films whose page personality participated or acted. I…
-
0
votes1
answer23
viewsComparison of categories in ACF AJAX repeater fields
Talk personal, all right? I hope so! I’m having a hard time solving the following problem. I have a Post_type Called prize and a taxonomy called winners, in the post I have a repeater field where…
-
0
votes0
answers77
viewsCreating filters using meta_query and ACF (Advanced Custom Fields)
I have this code in my Wordpress template, my goal is to make a filter functionality using the custom Fields of the ACF plugin as the search parameter of my Custom Post Type property Currently he is…