• Anonymous User 7785024

    (@anonymized-7785024)


    Hi, how do I echo out images I uploaded through this plugin? I need to do this in the search results loop.

    My code for the results page is:

    <?php
    /**
     * The template for displaying Search Results pages.
     *
     * @package WordPress
     * @subpackage Starkers
     * @since Starkers 3.0
     */
    
    get_header(); ?>
    
    <!--START MAIN CONTENT-->
    <div id="main-content">
    	<?php if (have_posts()) : ?>
    
    		<h5>Search Results</h5>
    
    		<?php next_posts_link('&laquo; Older Entries') ?>  <?php previous_posts_link('Newer Entries &raquo;') ?>
    
    		<?php while (have_posts()) : the_post(); ?>
    
    			<div <?php post_class() ?>>
    				<h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
    				<?php the_excerpt(); ?>
    			</div>
    
    		<?php endwhile; ?>
    
    		<?php next_posts_link('&laquo; Older Entries') ?>  <?php previous_posts_link('Newer Entries &raquo;') ?>
    
    	<?php else : ?>
    
    		<h2>No posts found. Try a different search?</h2>
    		<?php get_search_form(); ?>
    
    	<?php endif; ?>
    </div>
    <!--END MAIN CONTENT-->
    
    <?php get_footer(); ?>

  • The topic ‘[Plugin: Verve Meta Boxes] How Do I echo out an image or list of images?’ is closed to new replies.