-->

Tuesday, June 20, 2017

How can a WordPress template be integrated inside a codeigniter framework using WordPress functions like wp_header,wp_footer,wp_sidebar?

How can a WordPress template be integrated inside a codeigniter framework using WordPress functions like wp_header,wp_footer,wp_sidebar?
Answers:
1.      Include the file wp-blog-header.php from WordPress installation directory to codeigniters index.php and create template inside codeigniter’s view.
2.      Include the file wp-settings.php from WordPress installation directory to codeigniters index.php and create template inside codeigniter’s view.
3.      Create template inside WordPress theme directory and include the file in codeigniter’s view.php file.

4.      It is not possible to integrate wordpress with codeigniter.
NEXT ARTICLE Next Post
PREVIOUS ARTICLE Previous Post
NEXT ARTICLE Next Post
PREVIOUS ARTICLE Previous Post
 

Delivered by FeedBurner