Hello, I am looking for a little help, I have designed and developing a website based around the TwentyEleven theme. (im not using the main parent theme, i am building on a copy)
I am using a static home page and another page for blog posts, this was set in customize theme section in the admin gui.
What I have is this, I have a
<div>tag on the template which is based in the footer.php file. what I am struggling to acheive is pulling and excerpt from a blog post, this division is a news feed and required to post excerpts on blog posts only.
I have used this bit of php code
<?php the_excerpt(); ?>however this just seems to pull the page content rather than the blog excerpts.
Any help with this would be fantastic.
- The topic ‘Excerpt tag’ is closed to new replies.