WordPress.org

Ready to get started?Download WordPress

Forums

Where do you add custom functions to? (3 posts)

  1. sotiro123
    Member
    Posted 2 years ago #

    http://pastebin.com/AcvGRNr7

    The code above is to show teasers on a specific page. It obviously works for one page but where do I add this code to make it work for any page I specify.
    I've tried creating a new php file in my theme and copying and pasting the code (changing the category id etc) but it won't work.
    Thanks

  2. RichardWPG
    Member
    Posted 2 years ago #

  3. sotiro123
    Member
    Posted 2 years ago #

    Thanks for replying, I had a look, tried a couple of things but I'm still not sure what I'm meant to do...

Topic Closed

This topic has been closed to new replies.

About this Topic