How to ad custom PHP to a theme page

Posted in: Newspaper
Post count: 79

We want to make a custom page with weather loaded from a central source with a php action. How to ad it to a page with sidebar and header and footer showing ?

Post count: 20688

Hi,

You could modify the page template files, these would be them
http://prntscr.com/mafepk
These can be modified in a child theme if you have one. Maybe add conditions so the new PHP code loads only for certain pages, so you can still use the respective template.

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.