Wordpress uses CI_cms header... |
[eluser]bindaden[/eluser]
Hello, I have a CI Cms and a WP in a sub like http://mydomain.com/blog. And I want to use Header and Footer of CI cms for WP. I ve tried to search for some ways but none works so I came up here for help. Can anyone tell me how to do it? Thanks, Bin
[eluser]CroNiX[/eluser]
I have a CI controller that outputs the header and footer, and then have wordpress just file_get_contents('http://mysite.com/get/header');, etc. Depending on how simple your header/footer are, you could have the cms save them as cache files and then include() them in wp. Mine are dynamically generated depending on the access level of the person logged in so that doesn't work for me. I made it basically so that WP uses the same theme as the rest of the site and only one place to update it. |
Welcome Guest, Not a member yet? Register Sign In |