CodeIgniter Forums
how to integate ci into wordpress ? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: how to integate ci into wordpress ? (/thread-9526.html)



how to integate ci into wordpress ? - El Forum - 06-28-2008

[eluser]whidbey[/eluser]
hi all,
I am seeking a way to integated ci with wordpress. one of my site write by codeigniter,but I would like to make the index.php to be wordpress's ,and I dont' want change the function of my codeigniter site.
just embbing it, any suggetsiton? thanks first.


how to integate ci into wordpress ? - El Forum - 06-28-2008

[eluser]EEssam[/eluser]
Hello,

You need to change "index.php" from config/config.php and set it to whatever you want.


how to integate ci into wordpress ? - El Forum - 06-28-2008

[eluser]Colin Williams[/eluser]
There's no blanket way to integrate CI and WordPress. It depends on what you want to do. One problem you might encounter is that WP has a very specific theming engine, with special functions for pulling in posts, plugins, etc. So, I would anticipate it might be a bit difficult to share templates between the two.

But as EEssam pointed out, you can change the name of your front controller for CI, index.php by default, so it doesn't clash with WP's front controller, also index.php by default. Refer to http://ellislab.com/codeigniter/user-guide/general/managing_apps.html for some more info.


how to integate ci into wordpress ? - El Forum - 06-29-2008

[eluser]whidbey[/eluser]
[quote author="Colin Williams" date="1214695102"]There's no blanket way to integrate CI and WordPress. It depends on what you want to do. One problem you might encounter is that WP has a very specific theming engine, with special functions for pulling in posts, plugins, etc. So, I would anticipate it might be a bit difficult to share templates between the two.

But as EEssam pointed out, you can change the name of your front controller for CI, index.php by default, so it doesn't clash with WP's front controller, also index.php by default. Refer to http://ellislab.com/codeigniter/user-guide/general/managing_apps.html for some more info.[/quote]

well,thx for your advise. I will consider it:-), but if anyone has the same solution,I would like to use it too:-)