• https://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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Where do you add custom functions to?’ is closed to new replies.