WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] First image/video out of the_content (3 posts)

  1. chrispigan
    Member
    Posted 2 years ago #

    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.
    http://www.abload.de/img/dontknow5g79z.jpg

  2. antoniomauricio
    Member
    Posted 1 year ago #

    Hello

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

    grateful

  3. bcworkz
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic