Hi Bloggers !
I'm using the get_post function and i want to display the content before the "more" tag ... do you know how to do ?
Or how to display the content in HTML rather than a simple string ?
Thanks in advance
A WP-addict
Hi Bloggers !
I'm using the get_post function and i want to display the content before the "more" tag ... do you know how to do ?
Or how to display the content in HTML rather than a simple string ?
Thanks in advance
A WP-addict
Hi,
I had same problem and couldn't find solution with get_post.
I achieved goal with WP_Query:
$my_query = new WP_Query('page_id=69);
global $more;
while ($my_query->have_posts()) : $my_query->the_post();
$more = 0;
the_title();
the_content();
endwhile;
Seems very heavy but it works.
Hi,
Refer these articles:
http://codex.wordpress.org/Function_Reference/get_post
http://codex.wordpress.org/Template_Tags/the_excerpt
Also check with these plugins:
http://wordpress.org/extend/plugins/advanced-excerpt/
http://wordpress.org/extend/plugins/excerpt-editor/
http://wordpress.org/extend/plugins/post-and-page-excerpt-widgets/
Thanks,
Shane G.
This topic has been closed to new replies.