Quantcast
Channel: Topic Tag: footer | WordPress.org
Viewing all articles
Browse latest Browse all 13559

jamesbarnett39 on "How to call header on a custom page in WordPress directory?"

$
0
0

Hello,

i've got a custom page in my main directory with the index.php and its named custompage.html

I will have multiple of these custom pages but i want to be able to call the header and footer on these pages only and leave the rest of the page to be hardcoded in a text editor as I need to use PHP and call things from a database etc.

So for example I'd have a custom page such as football.php with:

get_header

(my own random content for that specific page)

get_footer

I just need to call in the header and footer and edit the custom data between those two.

Is this possible?

My files are in the main wordpress directory.


Viewing all articles
Browse latest Browse all 13559

Trending Articles