Welcome Guest, Not a member yet? Register   Sign In
site_url function collision with Wordpress
#4

(07-19-2017, 12:35 AM)koeninger Wrote: Hi,
I am using CI to handle the page templating, but using Wordpress to make the content editable (via the CMS). Otherwise I have to have two sets of headers, footers etc. I only load Wordpress for one section on the site and want to avoid duplication.

If WordPress is never actually displaying the content, and instead you are displaying all content with CodeIgniter, the best solution is to use a subdomain for WordPress, like content.example.com. This lets you use the CMS you desire, and then you just create a custom model(s) for CI so it can go get the content and display it. I've done this a few times. Just share a database between the two apps.
Reply


Messages In This Thread
RE: site_url function collision with Wordpress - by skunkbad - 07-19-2017, 04:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB