Support » Plugins » Hacks » First image/video out of the_content

  • Resolved chrispigan


    First, sorry for my bad english. i come from germany.:-)

    i would split the_content (content-post-format.php) in two pieces.
    The first container contains the first image/video of the post and the second container is for the text.

    Is there a possible (and not too special) solution for that?

    It should look something like this on the linked image.

Viewing 2 replies - 1 through 2 (of 2 total)
  • antoniomauricio



    Did you get a solution to your problem? If yes, could post the solution because today I’m having the same difficulty.


    Moderator bcworkz


    If you examine your html output, there may be a solution just with CSS. If you truly need content parsed into separate DIVs or something, you can hook the filter ‘the_content’ and search/replace as needed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘First image/video out of the_content’ is closed to new replies.