Thanks @Jamie that is a good answer. 🙂
There is no reason why you cant because the data retuned is just a link to to the media. Checkout the docs here => http://www.advancedcustomfields.com/resources/field-types/gallery/
However, you will need to find a nice way to present it in your front end. 🙂
Hi there,
Can you elaborate a bit please? What ACF element are you using?
Hi there,
I would start by checking out this tutorial => http://www.advancedcustomfields.com/resources/tutorials/creating-wp-archive-custom-field-filter/
It shows you how to setup a filter based on a custom field that you should be able to adapt to your needs.
Hi there,
I am not quire sure what you mean because it looks like it is showing there.
Are you talking about displaying the contents on the front end?
I am not quite sure what you are trying to achieve here but you should be able to update your term on save of the custom field.
Checkout the codex here => http://codex.wordpress.org/Function_Reference/wp_update_term
Sounds like the code you have written is very memory intensive and is taking a very long time to complete.
Double check that you do not have an infinite loop.
How are you currently echoing out the URL?
Checkout ImageMagick or the GD libraries:
http://www.php.net/manual/en/book.image.php
http://www.php.net/manual/en/book.imagick.php
Do you have any javascript errors or any CSS that might be clashing with the plugin?
Also, ensure that none of your other plugins are clashing with the theme. 🙂
Facebook can be very unpredictable in what it decides to use as the description it shares to its users.
The best way to get it to be consistent is to use the Open Graph description meta tag.
Checkout the documentation here => https://developers.facebook.com/docs/web/tutorials/scrumptious/open-graph-object/
Titles will needed to be wrapped in the WordPress i18n functions. Eg
_e('My Title', 'my-text-domain');
More info here => http://codex.wordpress.org/Translating_WordPress
As for the content, that will need to be done as it is inserted into the field.
I believe posts__not_in accepts an array not a string. You have an array with a single string it in it. It needs to be like:
'post__not_in' => array(1,2,4,5)
Remove your implode and see if that does the trick.
I cant really see what you issue is from that snippet of code.
Are you getting any PHP errors?
Can I get a link to the page that is causing the issue?
Hi there,
I am not aware of any plugins that do so.
The easiest way would be to write a simple plugin that takes the CSV/XLS file and imports it into the repeater data set.
Checkout this thread here for more info => http://support.advancedcustomfields.com/forums/topic/import-custom-posts-via-csv/
Hi Philip,
WordPress sanitizes strings right down to the core. Checkout database insert in the following codex => http://codex.wordpress.org/Data_Validation
What you are looking for is ‘Safe String’ functionality that I’m not sure WordPress has.
All you would need to do us add more meta query value sets. For example adding the following code after the first meta query section should do the trick.
$bathrooms = explode(',', $_GET['bathrooms']);
//Add our meta query to the original meta queries
$meta_query[] = array(
'key' => 'bathrooms',
'value' => $bathrooms,
'compare' => 'IN',
);
Then you can add a bathrooms get param to the URL. Eg http://mysite.com?bedrooms=1&bathrooms=2
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.