Jump to content

Full WordPress Integration


Recommended Posts

So this is yet another question about integration with WordPress. I have searched the forum for WordPress and read every post but have not found anything close to what I'm trying to achieve.

 

I am attempting to integrate WordPress with the classic WHMCS theme using the following code in the header.tpl file:

 

http://codex.wordpress.org/Integrating_WordPress_with_Your_Website

 

I can confirm this works in a plain PHP file, but not within the tpl files of a WHMCS theme. From what I can see the problem is very similar to the post below.

 

http://wordpress.org/support/topic/integrating-wordpress-into-my-site-global-blues-and-many-non-objects

 

When WordPress runs through WHMCS it appears none of the global variables are being initialised within functions which is throwing errors all over the place. I have successfully integrated WP with other third party software before so it seems to be something specific to WHMCS.

 

I am aware of other posts which suggest using template sync or including a separate PHP file with the header and footer in. In this case it isn't the solution I'm looking for as I would like to utilise the features of WordPress within the WHMCS theme. Are there any coders here who have been able to achieve this? Please help me tackle this problem once and for all!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated