• I a looking to pull the content from the most recent post and put it on the homepage/indexpage. i have gotten it to work, but now when I upload an image to the post it pulls the image as well, I don’t want the image, just the words on the homepage, how could i do that?

    Thanks.

    <div id="feature">
                      <h1><?php the_title(); ?></h1>
                      <?php
    						//The Query
    							query_posts('category_name=Feature, posts_per_page=1');
    						//The Loop
    							if ( have_posts() ) : while ( have_posts() ) : the_post();
    							endwhile; else:
    							endif;
    						//Reset Query
    						wp_reset_query();
    							?>
                      	<div class="pic"><img src="images/home_feat_sug.png" width="600" height="316" /></div>
                        <div class="desc"><p><?php the_content('<p>Read the rest of this page &raquo;</p>'); ?></p></div></div>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Content on Homepage’ is closed to new replies.