• Hi I have tried numerous “search” or “drill down” “pickers”, they will all display a list pages post or CPT’s Ive created but any content I have created using ACF plugin will not display (note all ACF content displays on the posts page’s or CPT’s). Does anyone know of a search “picker” that will do this.

    Theme child of twentyeleven, Plugin Advanced Custom Fields.

    <?php
    /**
     * Template Name: Sidebar2
     * Description: A Page Custom Page
     *
     * @package WordPress
     * @subpackage Twenty_Eleven
     * @since Twenty Eleven 1.0
     */
    ?>
    
    <?php get_header(); ?>
    
    		<div id="primary">
    			<div id="content" role="main">
    
    				<!-- # acf content -->
    
    		<?php while ( have_posts() ) : the_post(); ?>
    
    		<?php get_template_part( 'content', 'page' ); ?>
    
    		<?php comments_template( '', true ); ?>
    
    		<?php endwhile; // end of the loop. ?>				
    
    		<?php $loop = new WP_Query( array( 'post_type' => 'movies','actors' => 'peter-smith', 'actress' => 'jane-smith', 'posts_per_page' => 10 ) ); ?>
    
    		<?php while ( $loop->have_posts() ) : $loop->the_post(); ?>
    		<div id="wrapper">
    		<?php the_title( '<h2 class="entry-title"><a href="' . get_permalink() . '" title="' . the_title_attribute( 'echo=0' ) . '" rel="bookmark">', '</a></h2>' ); ?>
    
    		<h5>image</h5><a href="<?php the_permalink(); ?>"><img src="<?php the_field('image'); ?>" alt="text-here" /></a>
    
    		<?php the_excerpt(); ?>
    		</div>
    		<?php endwhile; ?>			
    
    		</div><!-- #content -->
    		</div><!-- #primary -->
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    http://wordpress.org/extend/plugins/advanced-custom-fields/

Viewing 1 replies (of 1 total)
  • Thread Starter Mark Shirley

    (@ravalde)

    COPY archive.php and rename to taxonomy,php
    change

    get_template_part( 'content', get_post_format() );
    get_template_part( 'content', get_post_type() );

Viewing 1 replies (of 1 total)
  • The topic ‘ACF Picker Plugin’ is closed to new replies.