Ready to get started?Download WordPress


Separate image and text inside the_content (2 posts)

  1. paulinet
    Posted 11 months ago #

  2. paulinet
    Posted 11 months ago #

    (post again, for the link!)

    I want to modify the template of a single post page, to display the image and the text separately.

    Here is a screenshot of the layout

    I have installed the DivUp plugin, so I can have easily the image in a div and the text in another div.
    But the_content fonction returns whole lot.
    Is there any way to modify (filter) the results of the_content, so I can display the div with the image, then other divs (title, social links), and then the rest of the content (the text)?

    Thanks for your help.


You must log in to post.

About this Topic