Manual excerpt in latest article section
-
Hello,
I hope that someone could help me:
I want to put a manual excerpt in the “Latest Article” section on my home page, so I have nice and neat text instead of all the links from audio and video inputs etc. But I keep strugling, because when I add the_excerpt function, it shows the both: the manual exceprt of the post I’ve added and the original automated post excerpt.
Could you please help me, my website: agytalks.com
here is the code I use to display the latest articles:
<?php
$recentBlog = new WP_Query();
$recentBlog->query('showposts=1');
while($recentBlog->have_posts()) : $recentBlog->the_post();
?> -
You did not specify a blog address or reason for posting when you created this topic.
This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.
If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.
If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.
This is an automated message.
-
Your website is not a free hosted WordPress.com blog and we cannot help you here with it. This support forum is only for blogs hosted at WordPress.com. As your question is about a self-hosted WordPress blog you’ll find help at the WordPress.org forums. http://wordpress.org/support/
- The topic ‘Manual excerpt in latest article section’ is closed to new replies.