Child Theme Loops.php

Community Forums Forums General Discussion Child Theme Loops.php

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  cdils 1 year, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36453

    windbyrnes
    Participant
    Post count: 3

    I want to add a new layer in the loop for post excerpts. Do I create a lib>structure folder and put the new “loops.php” file in the child theme. I’m using Genesis Framework with the Dynamik child theme.

    #37932

    cdils
    Participant
    Post count: 421

    Hi,

    You don’t need to add another loops.php file. You can can create a custom loop or filter the default genesis loop. Here are a couple of starter articles that might get you going in the right direction:

    http://genesissnippets.com/genesis-custom-loop/

    http://surefirewebservices.com/genesis-framework/create-a-custom-loop-without-genesis-hooks

    There are lots of other great articles out there. If you let me know what you’re trying to accomplish with your modified loop and where/what pages you want it to show, I can give you more specific info.

    Cheers,
    Carrie


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.