Support » Developing with WordPress » Changing loop.php depending on where it is called from

  • Resolved panther_26

    (@panther_26)


    I would like to make changes to the loop.php file.

    For normal searching and displaying of latest posts, I want the loop.php to remain as is.

    I would like to add to the file that if it is being called from the homepage (set to display latest posts) that I can customize the loop coding.

    What would I need to add to the loop file to insert the special code if called from the homepage?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Changing loop.php depending on where it is called from’ is closed to new replies.