Suoritettu

Include wordpress header/footer in custom php script

Hi, I want to integrate wordpress header/footer in a random php page. I have custom php pages which should look like the wordpress page they are running into.

I put the php pages ([login to view URL]: [login to view URL]) into the themes folder of my wordpress theme, then add

this code

<?php

define('WP_USE_THEMES', false);

$parse_uri = explode('wp-content', $_SERVER['SCRIPT_FILENAME']);

require_once($parse_uri[0] . '[login to view URL]');

include(get_query_template('onepress'));

get_stylesheet_uri();

to my custom php page and can add header and footer with:

get_header();

get_footer();

Unfortunately this code is not working on the theme (onelove-child) - it produces a 404 error, so I am looking for a different solution.

Thanks for suggestions and advice.

BR, Stefan

Taidot: PHP, WordPress, HTML, CSS, MySQL

Näytä lisää: phpbb wordpress header footer, wordpress header footer, header footer design php web page, wordpress header footer include login php, wordpress header footer fix, custom php code wordpress column footer, wordpress header footer background, vbulletin custom php header footer, whmcs wordpress header footer, integrate custom header footer wordpress, php include header footer, how to include wordpress header footer in whmcs, wordpress custom php script, how to include header and footer in php, wordpress include custom php file, include wordpress header in non wordpress page, how to include wordpress functions in custom .php file, how to use wordpress function in custom php file, how to call wordpress functions in custom php script

Tietoa työnantajasta:
( 54 arvostelua ) Wien, Austria

Projektin tunnus: #30528456

Myönnetty käyttäjälle:

priortech

Hi Stefan, Yes, i am much able to include the HEADER/FOOTER in Custom PHP FIle. I am interested to go with this project as i have gone through with your requirement and completely understood and ready to start work Lisää

€40 EUR 1 päivässä
(76 Arvostelua)
5.9

84 freelanceria on tarjonnut keskimäärin €140 tähän työhön

sweta2317

hi; can you please share the page links where you like to apply header/footer? and also show me from which site you like to show header/footer. I am here and after discussion I can ask further questions with you. ca Lisää

€140 EUR 3 päivässä
(1015 arvostelua)
9.1
(1068 arvostelua)
9.1
bestworkontime9

Hello there, I have gone through with your requirement and I can fix it perfection. Kindly check PMB Thanks Afsana

€140 EUR 2 päivässä
(604 arvostelua)
8.5
(1220 arvostelua)
8.6
(449 arvostelua)
8.7
Risalat1

Hi Stefan, ready to work with you to make changes into your site, We are a small team of expert Wordpress designers and developers, Working on freelancer since 2009 and complete 600+ projects successfully, Please check Lisää

€50 EUR 1 päivässä
(531 arvostelua)
8.4
Friends4it

We have done 3000+ professional website designs. I am completely ready to discuss your project "Include wordpress header/footer in custom php script" Please have a quick look at some of our work. https://rainbowgraphi Lisää

€220 EUR 5 päivässä
(492 arvostelua)
8.2
webperfection123

Hi Stefan, I can Include wordpress header/footer in custom php script .I have read your job description and assure you that I am a perfect fit for the job.I am a senior  Designer & Developer having vast and proven ex Lisää

€140 EUR 1 päivässä
(255 arvostelua)
7.8
ykarora26

Hello sir, I already gone through the all information or description which is detailed by you. You are looking for Include wordpress header/footer in custom php script I have 8+ years of expertise in WordPress, PHP/ Lisää

€100 EUR 2 päivässä
(327 arvostelua)
7.8
gauravgargcs

Hello Stefan, I am an expert in WordPress and I can do any type of theme and plugin customization. I understand your requirement exactly what you are looking for, i can do it please come on chat so we can start this p Lisää

€200 EUR 7 päivässä
(148 arvostelua)
7.5
angelsofttech

Hello, I can setup header footer from WP in custom pages. I have more than 10 years of experience in Wordpress/Woocommerce and developed more than 300 custom plugins. I am expert in Worpdress/Woocommere customizat Lisää

€100 EUR 7 päivässä
(190 arvostelua)
7.4
technovicinity

Hi BR, Stefan, As a professional web developer, We can help you right now. We can help you to successfully integrate WordPress header/footer in a random php page. We are sure that we can finish your project success Lisää

€200 EUR 5 päivässä
(117 arvostelua)
7.8
Sunita0610

Hi! i can fix your php issue on wordpress. I have 6+ year of experience as a full stack developer, your satisfaction will be our first priority ! I have read your entire project requirements. I can create website wi Lisää

€140 EUR 7 päivässä
(200 arvostelua)
7.3
shayona163

hello i am expert in wordpress and woocommerce i have 8 year experience in this field you will satisfy with my work i can start work right now thanks

€50 EUR 1 päivässä
(276 arvostelua)
7.2
ecommercejui

Hi, I am highly interested to fix the issue easily. I'm an experienced WordPress developer with the necessary skills for getting this job done. I can handle your project as you want. I am available to start immediately Lisää

€50 EUR 1 päivässä
(158 arvostelua)
7.4
archnasahi

>I can integrate wordpress header/footer WORDPRESS EXPERT HERE | RESPONSIVE | SEO FRIENDLY | I CAN START IMMEDIATELY ================================== Hello Stefan !! Hope you are doing absolutely fine !! DO NOT Lisää

€200 EUR 3 päivässä
(182 arvostelua)
7.3
smilemittal181

Hello Stefan, I can integrate wordpress header/footer in a random php page. I am a professional website developer. I have worked on WordPress, Woo-commerce, Laravel, Shopify, Joomla, HTML5, CSS3, Hosting, Twitter Boots Lisää

€150 EUR 3 päivässä
(231 arvostelua)
7.3
(203 arvostelua)
7.2
Dekin3

Hello, Integrating header footer to php pages? Seems easy to me. Kindly provide me with more information, so that i can check, thanks

€50 EUR 1 päivässä
(489 arvostelua)
7.1
submitbuzzz

WordPress/PHP Expert Hello, I can assist you in integrate wordpress header/footer in a random php page. Skills : WordPress, PHP, WooCommerce, Shopify, HTML5, CSS4, Bootstrap 4. Portfolio : https://www.freelancer.in/ Lisää

€150 EUR 2 päivässä
(236 arvostelua)
7.5