Thanks Moshu. I tried it but when I put the html code in:
<?php get_a_post(id); ?>
it comes out as:
< ?php get_a_post(id); ?>
Things are never simple ay.
I think there is a plug in called ;inline posts’ or something, i wil try and find the link…
Fantastic, thanks jenster.
Inline Post by Aral Balkan:
http://aralbalkan.com/wordpress/
I can use this to achieve this:
http://wordpress.org/support/topic/179842
You were using it incorrectly!
The code should go NOT into your content but into the template file’s code. That’s pretty basic knowledge…
@christiaan: The code from the ‘Get-a-post’ plugin is PHP code rather than HTML code, so normally this is placed into a template file (which has the extension .php at the end) This is why you saw what you did. For future reference perhaps, any plugin needing to insert something with <?php
will need to go into a template file and not the main editor.
However, Inline posts is quite useful for people who don’t want to create new templates for each new post? Thanks to Jenster for the suggestion.
Thanks for the advice guys. One person’s basic knowledge is another’s confusion!