WordPress.org

Ready to get started?Download WordPress

Forums

Open/Collapse images above title (custom fields?) (1 post)

  1. Nuuk
    Member
    Posted 3 years ago #

    Hi everyone,

    I'm working on this website: http://nilaska.dk/blog/

    As you can see my posts are build up this way:

    image (content)
    title
    text (content)

    I want most things happen on the front page, therefore I'm working on making the posts collape/open by a click on a link under the text. So if you click a "open case" link, more images will reveal in between the image and title. So kinda like this:

    image
    (hide)
    image
    image
    image
    image
    (/hide)
    title
    text (content)
    open case link.

    Do you have any ideas how to make this possible?

    If its possible with custom fields, I believe that it would be the best solution. Because currently I just hide the post-title (display:none) and type a h2 in the content field. I've stumbled by solutions with custom fields to place one featured image above the title, but in this case it is more than one image and I don't know the number of images. Plus I want to open/collapse them.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic