treehouse : what would you like to learn today?
Web Design Web Development iOS Development

How to do this in Wordpress ?

  • Hello,

    As you can see here it has some content on the side and on the left there is a gallery with 3 pictures. I'm wondering how to do this in wordpress with a post, similar looking to this like the gallery is not inside post content but on the left side of it.

    If there is any helpfull link for making this happen I would be grateful.

  • Does anyone have a idea ?

  • You could add each image URL as a value to the page and output these however you please outside of the_content() (using the get_post_meta() method) in a custom theme template. For learning how to do that, this tutorial could be useful:

  • Hmm I don't know, so there is no way to change like html of post gallery for example put it on top of the post (the content) or whatever i think of would be a good position ?

  • Whether you can change the HTML or not depends greatly on the technique you're using to put the images into the post to begin with.

  • Pozdrav Marko,

    You can create custom php template and include it where ever you like. To include the template, use:

    <?php include (TEMPLATEPATH . '/path-to-your.php' ); ?>
    

    Hope that helps,

    Alen

  • Hvala Alene.

    But that seems hard for me I guess i will go for custom fields