Questions tagged as 'advanced-custom-fields'

2
answers

Customizing JTextFields

Many professional programs use JTextFields or JButtons with different borders. Would anyone have code examples to change the design of these buttons and text fields to something like the following image? I believe it's with an @Over...
asked by 11.07.2014 / 01:48
2
answers

Fields in Advanced Custom Fields do not appear on the front end

I'm having a problem with the ACF (Advanced Custom Fields) plugin for WordPress, I even paid the $ 25 for the Repeater Fields add-on, but I do not know if I made a good deal. I looked at the documentation and there it says that I only need to in...
asked by 22.03.2014 / 03:54
1
answer

Delete expiration date information in Wordpress posts

I'm using the code below to tell how long it takes for a post to expire on my Wordpress website, whose expiration value I set in a Custom Field (expiration). From this code, since I prevent a post from expiring in 4 hours, do not display info...
asked by 12.02.2016 / 18:33
1
answer

Problem with images in the Advanced Custom Fields plugin

I am using Advanced Custom Fields in a job and created the following field and I inserted the code outside the loop: <?php the_field('jogador_1'); ?> and is returning the following error: 15, , foto10, , , image/jpeg, http...
asked by 28.04.2014 / 18:35
1
answer

wordpress add_rewrite_rule with custom field

How do I create a URL in WordPress, using add_rewrite_rule , equal below but filtering the posts by a custom field? function custom_rewrite_basic() { add_rewrite_rule('^leaf/([0-9]+)/?', 'index.php?page_id=$matches[1]', 'top'); } add...
asked by 11.07.2017 / 21:04
1
answer

How to sort a category post by a Custom field?

I have a platform in Wordpress where a particular category has a Custom field. Is it possible to display the posts in this category if they are sorted by the Custom field that I added?     
asked by 06.10.2016 / 19:08
1
answer

Is it possible to create a dynamic field within an Advanced Custom Field?

I need to create a dynamic field by pulling information from the database that will be relating teachers and their characteristics and putting this field as Advanced Custom Fields] within a CPT UI named teachers. The only thing I ne...
asked by 27.08.2015 / 17:09
0
answers

Main loop change Does Wordpress impact the server?

I used pre_get_posts to change the loop of my Wordpress site. The idea of this loop is to not post posts that I define an expiration date, whose dates are added in a custom field ( postexpiry ). Do these key queries (prese...
asked by 17.02.2016 / 18:08
1
answer

How to add custom fields in WordPress backend search?

In the page for a custom type, in administration , it lists the project title and date, so the search works only in these two fields. How to make it look at custom fields at the time of the search? Which files do I need to modify? Which func...
asked by 03.09.2014 / 21:40
0
answers

Change User avatar on admin page in Wordpress

I made a site where the user's photo is not registered by gravatar , but with the possibility of uploading a photo. I created a custom field with the ACF plugin and it is working for what I want, however the problem is being in Wordpress mana...
asked by 30.05.2018 / 02:33