Parent-Child Theme Page

Support Area Forums Foundation Parent-Child Theme Page

Viewing 7 posts - 1 through 7 (of 7 total)
URL to the page in question:
  • Author
    Posts
  • #10466
    ancd
    Participant

    Hi Bill,

    How is the best way to modify the theme files?

    Each time we try some codes in functions.php we always get internal server errors even for tested codes? We always give up just to not bother you too much.

    Anyway, for this we really need help. We are trying to show excerpts from child pages on a parent page. We found the following code and did some tweaking, tested, and looks okay until uploaded to functions.php. It gave the “500 Internal Server Error” message.

    Please help to resolve whatever is missing or needs to take out:

    ID;
    }
    } ?>


    #10467
    Bill Robbins
    Moderator

    Great question. You would want to place that code inside one of the files that directly generates a page (like page.php) instead of the functions.php file. Give that a try and see if that doesn’t work a bit better for you.

    #10556
    ancd
    Participant

    We tried it but did not work. Do you have another option for this?

    #10559
    Bill Robbins
    Moderator

    Have you tried using a plugin like Sub Pages widget or Flexi Pages Widget? Finding a plugin that does that would probably be easier than trying to hard code in that functionality.

    #10561
    ancd
    Participant

    We’ll give a try.

    Thank you for the quick reply but one question. Is there a way to squeeze a widget on the right side of the sponsor bar. It looks like there is an extra column and if a sidebar widget can fill that space.

    #10562
    Bill Robbins
    Moderator

    Good question. The sponsor widget does span the full width on the home page like the donation or newsletter widgets do. So if there aren’t enough sponsors to completely fill the space, the box that they are in will still span that width.

    #10563
    ancd
    Participant

    Ok. Thanks.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Parent-Child Theme Page’ is closed to new replies.