E-Multitech Solution

Blog

How to create a theme as in wordpress in codeigniter

Sanjay Shrestha in Discussion Discussion, Wordpress

Here it explain how to create a theme like in wordpress in CodeIgniter Frame work.

1) First of all download the template file form the following link and put template.PHP  file in the  libraries folder.

2)      Edit the path of the view file in the template as in images Before edit 

edit1

 

 

 

After Edit

edit2

 

 

 

 

3)      Create the folder theme  name you wish to  make in the view folder inside application

4)      Then put all the views file inside that folder

5)      Create the folder with the theme name in assets folder and create css, js, images folder in it. You can put css, js , images file related to this theme in this respective folder

6)      Now call the view page from the controller with the theme name as follow.

 

edit3