
Sometimes that’s due to permalink caching. If you go to Settings > Permalinks and just hit “Save Changes” (don’t need to actually make any changes) it will flush the cache and the URLs should be accessible.

WordPress handles a lot of this for you automatically.
For your Leadership page that could be the archive template for your Employee custom post type – http://codex.wordpress.org/Template_Hierarchy#Custom_Post_Type_Archive_display
You can say whether or not a custom post type has an archive, and what the URL should be when register the custom post type: http://codex.wordpress.org/Post_Types#URLs_of_Namespaced_Custom_Post_Types_Identifiers
So if you set your custom post type slug to “employees” and go to http://www.example.com/employees it will use the archive template automatically.
Otherwise you could create a shortcode that does a get_posts on your employee custom post type and display it anywhere.
For your individual employee pages these are automatically created as well, and use the template: http://codex.wordpress.org/Template_Hierarchy#Single_Post_display
So in your single employee template you’ll just need to call get_field or the_field as normal and it will output the values for that specific employee. No need to create a new page and assign employees, as once you’ve created a new employee post it will automatically use this page.

Sounds like this wouldn’t be due to ACF, but due to WordPress pagination limits. These settings are controlled on the admin dashboard under Settings > Reading, “Blog Pages So at Most # Posts” input.

You can display custom fields from a particular post by passing the post/page ID as the second parameter. For example:
get_field( 'some_other_field', $post_id );
http://www.advancedcustomfields.com/resources/get_field/

Sometimes I run into issues with the detection of the post ID in the default loops. Might try manually passing in the ID and seeing if you get the expected values. Edited code:
<?php while ( have_posts() ) : the_post(); ?>
<h1><?php the_field('event_name', get_the_ID()); ?></h1>
<a href="<?php the_field('event_url', get_the_ID()); ?>">Test URL</a>
<p><?php the_content(); ?></p>
<?php endwhile; // end of the loop. ?>

Flexible content itself does not contain a unique ID. However, you can easily append one when outputting the flexible content. For example, if outputting your slider wrap it in a container such as:
<div id="slider-container-<?php echo $counter++; ?>" class="slider-wrapper">
Container content...
</div>
Define $counter before your loop and set it to 1 or 0.
If you’re using jQuery you can also set the context for the selector so it does not apply it document-wide: http://api.jquery.com/jquery/#jQuery1

Updated method posted at https://www.ractoon.com/2014/11/acf5-pro-color-picker-custom-palettes
The method below runs into performance issues when combined with repeater/flexible content fields.
This method has worked for me:
function my_acf_admin_head() {
echo "
<script>
(function($){
acf.add_action('ready append', function() {
acf.get_fields({ type : 'color_picker'}).each(function() {
$(this).iris({
palettes: ['#efefef', '#0093d0', '#235164', '#203051', '#1b2945', '#181717'],
change: function(event, ui) {
$(this).parents('.wp-picker-container').find('.wp-color-result').css('background-color', ui.color.toString());
}
});
});
});
})(jQuery);
</script>
";
}
add_action( 'acf/input/admin_head', 'my_acf_admin_head' );
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.