update_post_meta based on acf repeater field

/** * Function: update_acf_repeater_field * Parameters: $meta_type = post|user|comment * $field_group_name = the name of ACF Field Group * $repeater_field_name = the repeater field name * $subfields = a multidimensional array with the array keys matching the * the sub field names, e.g., array(array(‘subfield_name’=>’value’,’subfield_name’=>’value’)) * $post_id = the post id, user id or comment id … Read more

Build a Boat Form Plugin [closed]

Your best option is to buy the Gravity Forms plugin in order to accomplish this. http://www.gravityforms.com/ Yes, there are other form plugin options such as Contact Form 7 but I can assure you (and everyone here) that the Gravity Forms plugin is hands down the option for this task.

jQuery functions work in console, but not live

Where are you using the jQuery code we see in question? If you are using it in header (head), I would recommend using: jQuery(document).ready(function(){ jQuery(‘.homepage_buttons_text a[href^=”http://danrobertsgroup.com/?attachment_id=1037″]’).each(function(){ jQuery(this).html(“<h1 class=”homepage_button_title”>Workouts</h1><span class=”homepage_button_title”>Books / DVD’s / Downloads</span>”); }); }); If you are using the code in the footer, the above replacement is still recommended and for each add_action hook … Read more

Add option for administrator to submit link

If you have sucessfully added option field in Theme options; Now you just need to call it on front end. For that just use get_option( $option, $default ); For example if you are saving your social link with key “text_box_value”, then you can simply call it in front end as following; <a href=”https://wordpress.stackexchange.com/questions/189157/<?php echo get_option(“text_box_value’ … Read more

Help with responsive theme styling issue

Because some of titles are running on to three lines when the screen gets smaller its messing up the flow of the floated elements. What you need to do is clear every fourth element. Also this is a basic css question and is not specific to WordPress at all.

How to create custom page templates with default page layout framework?

I think you are doing this right… but in the wrong direction. What if you separate your default structure like: content-header.php <?php get_header(); get_sidebar(); ?> <div id=”content”> content-footer.php </div> <?php get_footer(); ?> And then you can use get_template_part to put all together: index.php <?php get_template_part( ‘content’, ‘header’ ); ?> <?php while ( have_posts() ) { … Read more