ThemeShaper Forums » Thematic


Modifying main loop

(4 posts)
  • Started 11 years ago by leemon
  • Latest reply from helgatheviking
  • This topic is not resolved


  1. leemon


    I'm trying to modify the main loop on my site to show the last posts like you can see in the following image:

    Can I rewrite a thematic function and put it on the functions.php file? Any help would be appreciated.

    Thanks in advance

    Posted 11 years ago #
  2. childtheme_override_index_loop() is how you create your own loop. i think you are going to have a tough time implementing that layout though, w/o some serious hackery. the posts are all in the #container and the sidebar is OUTSIDE that. you might have to move the index loop to another hook? no idea if that will work.

    Posted 11 years ago #
  3. leemon

    Thanks for the suggestions, helgatheviking. I'll take a deeper look into this.

    Posted 11 years ago #
  4. take the thematic_index_loop() function and copy it into your functions.php. then rename it to childtheme_override_index_loop(). that's how i usually work with any of the override functions.

    Posted 11 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.