The content of an article where I need it (wordpress)

Hi,
I don’t know PHP very well. I’m trying to insert the content of an article in a specific place (in wordpress).

The aritcle ID is 2073. This is the code I wrote:

<?php the_post(2073); ?>
<?php the_content(); ?>

…but instead of appearing the 2073 article, it appears the last article writen (by date).

Can you help me to fix it?

Thanks a lot

get_content appears to use global id.

Would get_post be more what you are looking for? http://codex.wordpress.org/Function_Reference/get_post

Sponsor our Newsletter | Privacy Policy | Terms of Service