Harv27
Forum Replies Created
-
Forum: Plugins
In reply to: Page Links To redirect page not assigned current_page_itemI tried ZackAjmal’s fix and it didn’t work. Nor did nejin’s, didn’t really understand it.
Any ideas?
OR is there an alternative plugin?
thanks!Forum: Themes and Templates
In reply to: Page contents or widget in headeresmi, That’s exactly where I placed it.
I’ve given up on this route for now – it ignores the page id and loads the current page still. I following your suggestion on another post and used a sidebar widget. Thanks!Forum: Themes and Templates
In reply to: Page contents or widget in headerThis seems to get the current pages content, not the about page. Am I doing something wrong? Is there a particular area I should be putting the code?
Forum: Themes and Templates
In reply to: Page contents or widget in headerThanks, for the reply.
I’d like to try both, in the meantime I tried the page approach.using the following code I keep getting the first post.
<?php
// retrieve one post with an ID of 5
query_posts(‘page_name=about’);global $more;
// set $more to 0 in order to only get the first part of the post
$more = 0;// the Loop
while (have_posts()) : the_post();
// the content of the post
the_content(‘Read the full post »’);
endwhile;
wp_reset_query();
?>
got this code from
http://codex.wordpress.org/Template_Tags/query_postsAny suggestions?