ThemeShaper Forums » Thematic

[closed]

regarding the index.php loop

(3 posts)
  • Started 4 years ago by hally
  • Latest reply from Val
  • This topic is resolved
  1. hally
    Member

    Is the index.php loop found in the content-extensions.php file? If so why is it when i make changes to the file and upload to the my child theme the changes are not seen? How do i make changes to index.php loop?

    Posted 4 years ago #
  2. Hi hally-

    Try this:

    function remove_thematic_index_loop() {
          remove_action ('thematic_indexloop','thematic_index_loop');
    }
    add_action('init','remove_thematic_index_loop');
    
    function my_index_loop() {
        // your loop could go below here instaed of this test message
        echo "it worked!! I replaced the loop with this content";
    }
    add_action('thematic_indexloop', 'my_index_loop');

    If the test message does not replace the loop on your site check and see that you have your child theme activated in the wpadmin>appearance>themes

    -Gene

    Posted 4 years ago #
  3. @Gene,

    Thank you. This thread has legs.

    Posted 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.