ThemeShaper Forums » Thematic

[closed]

which file is used for the posts in Thematic

(4 posts)
  • Started 2 years ago by sixfootjames
  • Latest reply from em hr
  • This topic is not resolved
  1. Hi All,

    I have switched templates, dumped arb text into files to see if it will show when I hit F5 but still I am not able to find the file responsible to render the posts page.

    I need to reskin this so that I can use it for a News page, could someone please help and let me know what file this might be?

    Many thanks!

    Posted 2 years ago #
  2. Managed to find it....

    template-page-blog.php

    thanks!

    Posted 2 years ago #
  3. you don't need to use the blog template to show your latest posts. in fact, just as a heads up, that template is being deprecated. if you are on the blog index then thematic generates that from the thematic_index_loop() function in content-extensions.php. there are other loops like thematic_category_loop(), etc. you can create your own loop using the override functionality.

    childtheme_override_index_loop(){
    
      echo "i want bacon in my loop";
    
    }

    usually i copy over the contents of the original function and then hack away in my own functions.php

    Posted 2 years ago #
  4. Hi sixfootjames,

    The template-page-blog.php file is being deprecated in Thematic's upcoming 0.9.8 release and will be removed entirely at some point.

    It's recommended that you either configure your wp-admin/settings/reading : "front page" and "posts page" in which case the index.php will be the template used *or* you could create a home.php template in your child theme.

    -Gene

    Posted 2 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.