ThemeShaper Forums » Power Blog

[closed]

How can I get the following layout (2 col main content)

(3 posts)
  1. I would like to have a similar look on the first page as the magazine theme (see image at http://bavotasan.com/wp-content/uploads/2009/01/mag4.jpg ) where the first post is one wide column and the following posts are divided into two columns per row.

    I guess it's something I could do bu altering the functions.php file but a bit more help or instructions is needed (I'm still quite a newbie when it comes to coding WP).

    -Paul

    Posted 14 years ago #
  2. Bump!

    anyone got any tips!

    Posted 14 years ago #
  3. Hi gnurf,

    You'll need to alter the index loop to do a magazine theme layout. The thematic_index_loop function in located here: themes/thematic/library/extensions/content-extensions

    First remove thematic's function:

    function remove_index_loop() {
         remove_action('thematic_indexloop', 'thematic_index_loop');
    }
    add_action('init','remove_index_loop');

    Now you build your own loop to achieve your desired magazine layout:

    function child_index_loop() {
         // your loop goes here
    }
    add_action('thematic_indexloop','child_index_loop');

    -Gene

    Posted 14 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.