0

I would like to integrate the wordpress blog into codigniter site. I found one solution to use CI functions into wordpress but it didn't work. I would like to add ci header into wordpress blog.

found the sollution from this

In above picture it shows me a error. It's related to path issue.

Community
  • 1
  • 1
Rahul Patel
  • 81
  • 2
  • 10
  • files are missing, copy them properly and why would you use CI with wordpress? it is going to be hectic soon... – Danyal Sandeelo Mar 10 '15 at 06:31
  • Actually it's client's requirement to use ci header into wordpress blog. And these files are not missing. constants.php is loacted at application/config directory. – Rahul Patel Mar 10 '15 at 06:36
  • the path is correct that means right? and what do you mean by CI header in WP? – Danyal Sandeelo Mar 10 '15 at 06:44
  • I have a website in codeigniter and clients wants to use the header part of the website into wordpress blog. Is it possible to write just $CI->load->view('header') in wordpress? And I think the path isn't correct. It should located to application/config directory. – Rahul Patel Mar 10 '15 at 06:52
  • Both are developed on different frameworks, core php will be very helpful here..you cant use $CI->load->view('header') because it would run since the wordpress doesn't know about the code igniter framework. why do you customize the header of your wordpress blog? – Danyal Sandeelo Mar 10 '15 at 06:55
  • It's requirement. If a user log in into website and visit a blog then he /she should know about it. And it's easy to directly go back to the website from header. So I want the header of a website into blog. But in header I had used some CI functions so It creates a problem. Is there any way to do it the same? – Rahul Patel Mar 10 '15 at 07:39
  • Have a look here : http://stackoverflow.com/questions/17829990/codeigniter-wordpress-integration, It may help you. – Jenis Patel Mar 10 '15 at 08:54

0 Answers0