Display elements of post (Text, Image) separately?
-
Hello
I’m currently tryng to use WordPress to power my whole graphic design portfolio site. I am keeping a blog but also a portfolio so posts in the ‘portfolio’ category are treated differently. I currently have a different template for displaying a portfolio post, as I want to show the text and the image in seperate DIVs.
An example post is here:
https://www.holster.co.uk/wordpress/archives/24As you can see I have posted a bit of text and an image, but I want the image to appear across the whole column, outside of the normal post DIV.
To do this I want to be able to call the post’s text content within the DIV, and then separately display the associated image after it (Where the line of CAPS text is currently)
Can anyone help? So far I can only find a the_content function which returns the whole lot. Can I parse or modify the results of the_content to filter out the text or image? Can I use a different function to return just the text or image?
Any help would be greatly appreciated!
?
- The topic ‘Display elements of post (Text, Image) separately?’ is closed to new replies.