completesource
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Single post title on a static pageThanks for the suggestion Esmi.
Strangely I already have a page of Posts which displays all my news stories
I am just looking for a bit of code that I can put in the HTML editor of a particular page.
EG: I have a page http://www.completesource.co.uk/software/embotics-private-cloud-management/
It is a Static page with text and images (information page about a product we sell). I want to put a line in that says:Embotic News: THE POST TITLE HERE (this being the link to the full story)
the Page is assigned to a template called Side Bar Template – I use this template for most of my pages and it has the following code in it for posts
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <div class="entry"> <?php the_content('<p class="serif">Read the rest of this page »</p>'); ?> <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> </div> </div> <?php endwhile; endif; ?> <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>[Moderator Note: Please post code or markup snippets between backticks or use the code button.]
Any ideas, please
Thanks in advance