• 3Pinter

    (@3pinter)


    So, here we go.

    Basicly this is the situation I’m dealing with: my ‘single’ page is a gallery + textual info.

    What I want is to
    – always show the gallery
    – to make a button which enables to show the ‘textual info’ by clicking on it. Which is jquery and not the issue.

    The problem I run into:
    – the gallery is a nice container (div) (good)
    – the content isn’t contained, so I can’t manipulate that.

    I thought of:
    – putting my content in my article, insert the ‘!more’ tag and adjust the ‘single’ loop to ‘<div> the_excerpt() </div> and the_content(”, true).

    But that just doesn’t give me enough possibilities for positioning my elements.

    Isn’t there a ‘better’ approach which enables me to filter the content? so my output would be

    <div class="content"> My content goes here</div>
    <div id="gallery"> My wp gallery goes here</div>

    ?

    Curious for your thoughts / suggestions!

The topic ‘filtering content 2.0’ is closed to new replies.