How to use Repeater field of advance custom field

Here you will find all you need to know. http://www.advancedcustomfields.com/resources/field-types/repeater/ One example <?php if(get_field(‘repeater_field_name’)): ?> <ul> <?php while(has_sub_field(‘repeater_field_name’)): ?> <li>sub_field_1 = <?php the_sub_field(‘sub_field_1’); ?>, sub_field_2 = <?php the_sub_field(‘sub_field_2’); ?>, etc</li> <?php endwhile; ?> </ul> <?php endif; ?>

Thumbnail Look For WP

This should do the trick. http://codex.wordpress.org/Function_Reference/add_image_size just create your own image size you want to best fit your website. you could then use this plugin to regenerate all your thumbnails. http://wordpress.org/plugins/regenerate-thumbnails/

Incorrect Blog Root

The old versions of the home and site url are likely in the database somewhere. Add two lines to your config.php file to override them as needed: define(‘WP_HOME’, ‘http://example.com’); define(‘WP_SITEURL’, ‘http://example.com’); If you visit Settings / General and save the settings, they should get stored to their new value in the database. You should then … Read more

How to create a category or tag available exclusively to the admins and not to the users?

Sure, you can restrict access to a tag with the following code: add_action(‘save_post’, ‘remove_tags_function’, 10, 2); function remove_tags_function( $post_id ){ if(!current_user_can(‘manage_options’)){ $post_tags = wp_get_post_terms( $post_id, ‘post_tag’, array( ‘fields’=>’names’ ) ); $pos = array_search( ‘ExclusiveContent’, $post_tags ); if( false !== $pos ) { unset( $post_tags[$pos] ); wp_set_post_terms ($post_id, $post_tags, ‘post_tag’); } } } So, with this … Read more

Get Parent Custom Taxonomy Term and Color Div background

You’ll have to adjust the markup to suit your specific needs, but the easiest solution would use a post_class filter on the post_class() template tag, to output appropriate classes. For example, in your template, you need to call post_class(), such as: <div <?php post_class(); ?>> <div class=”car_type”>Ford</div> (background green) Post Title<br> Post Content<br> </div> Then, … Read more

Images not rendering

Based on the link you posted as a comment to your original question this looks like a permissions issue which could be the result of several things. Along with the domain change did you change servers too? First step I think would be ensuring that all of the uploads are readable. chmod all files and … Read more