Hi @r_vickers2
Is it possible that your host has set up an upload limit for your site?
– What kind of errors are reported when you upload more images?
Hi @innermedia
I am afraid that I am unable to replicate this on my end. Would it be possible to share a screen recording? Perhaps there is a step I could be missing.
Hi @clayelliot
Most welcome.
Always happy to help, feel free to reach out in case something else comes up 🙂
You will need to hook into the acf/save_post hook.
From here you can access all the submitted values, calculate the average and set the value to another custom field.
https://www.advancedcustomfields.com/resources/acf-save_post/
Hope this helps.
Hi @studiotopo
I believe all you need is to wrap the selected value within anchor tags as below.
<?php $colors = get_field('smp2'); ?>
<?php if( $colors ): ?>
<?php foreach( $colors as $color ): ?>
<a href="<?php echo link-to-the-color ?>"><span class="scolor-<?php echo $color; ?>"></span></a>
<?php endforeach;
endif; ?>
Hope this helps.
Hi @henry
Your query is not quite clear.
Are you referring to updating the field automatically when the customer submits?
Kindly explain more on your setup so that we may be able to advise further.
Hope to hear from you soon.
Hi @henry
Your query is not quite clear.
Are you referring to updating the field automatically when the customer submits?
Kindly explain more on your setup so that we may be able to advise further.
Hope to hear from you soon.
Hi @karn
Glad you were able to figure it out.
Feel free to reach out to me in case something comes up:)
Hi @shinx
Your question is a little broad and open.
Your setup is possible using the flexible content field however, you will need to decide on the layout design and how the content is displayed on the page.
Hope this helps.
Hi @24prod
Your setup is not quite clear.
Kindly explain more on how you are adding the wrapper div so that we may be able to advise.
Hope to hear from you soon.
Hi @upadas
I beleive this can be achieve using the acf/load_field hook
From here you can modify the field attributes including the label before they are displayed.
https://www.advancedcustomfields.com/resources/acf-load_field/
Hope this helps.
Hi @clayelliot
This is quite unrelated to ACF however the file you are looking for from your backup is your database file (.mysql).
You will need to extract the compressed file and re-import the mysql file into your temporary database, from here you can filter and copy the fields values from the postmeta table.
Hope this helps.
Hi @clayelliot
This is quite unrelated to ACF however the file you are looking for from your backup is your database file (.mysql).
You will need to extra and re-import the mysql file into your temporary database, from here you can filter and copy the fields values from the postmeta table.
Hope this helps.
Hi @zc-web
I am not certain your issue is clear enough. From your description, your code should work just fine.You need to ensure that the method is actually triggered and the $current_mail actually returns the expected value.
Hope this helps.
From your description, I would recommend making use of custom post types.
Using this approach you can be able to add extra attributes to the posts more manageably.
Hope this helps 🙂
Hi @smuk
Here is a third party plugin that support Royal Sliders and may be able to help.
https://github.com/WPPress/acf-sliders
The get_sub_field() does not accept a post_id parameter, please assign this to the have_rows() like so:
// check if the repeater field has rows of data
if( have_rows('repeater_field_name','22283') ):
// loop through the rows of data
while ( have_rows('repeater_field_name','22283') ) : the_row();
$regions2 = get_sub_field('regions_list');
endwhile;
else :
// no rows found
endif;
HI @ray
I would suggest that you get some help from the ACF experts at Codeable: https://codeable.io/partners/acf/?ref=RJHO6
Hi @dromelos
Would you mind sharing a copy of the code that you have so far so that I can give some recommendations?
Hi @preserved
You can add HTML to any WP page by hooking into the ‘admin_footer’ action, checking that the url is correct for the page you want, and then injecting extra HTML into the page. Here’s a idea of the code:
add_action('admin_footer', 'my_admin_footer');
function my_admin_footer() {
// vars
$page = 'acf-options-cwl-settings';
// bail early if not correct page
if( empty($_GET['page']) || $_GET['page'] !== $page ) {
return;
}
?>
<div id="my-html">
<p>test</p>
</div>
<script type="text/javascript">
(function($) {
// move #my-html
$('#post-body-content').append( $('#my-html') );
})(jQuery);
</script>
<?php
}
Hi @daxsm
Please share a JSON export in your next response so that I can try and reproduce this on my end.
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.