Hi All
In order to add this plugins code:
<http://return-true.com/2008/12/wordpress-plugin-the-attached-image/>
I am presuming I must do this via the function.php. Can anybody help or show me how please?
Thanks
Rich
Hi All
In order to add this plugins code:
<http://return-true.com/2008/12/wordpress-plugin-the-attached-image/>
I am presuming I must do this via the function.php. Can anybody help or show me how please?
Thanks
Rich
You have several options, depending on where (in the loop) and in which loop you are wanting the image to display.
But as an example, you need to look through the extensions/content-extensions.php file and find an action hook in one of the loops that you'd like to use, then hook the 'the_attached_image' function to that hook, like so:
add_action('hook_you_want_to_use', 'the_attached_image');You must log in to post.