Calling Wordpress Header and Footer Outside the Loop

Discussion in 'Programming' started by Nigel Lew, Feb 4, 2016.

  1. #1
    Has anyone done this lately? I am trying to port the header and footer from a wp site into what are ultimately the respective smarty templates on WHMCS.

    Its a bit of stumper. This doesnt seem to work https://squidix.com/library/how-to-include-wordpress-header-footer-in-whmcs/

    Happy to hurl someone a few bucks who has done this before as well. Its the only thing holding me up.

    thanks,
    Nigel
     
    Nigel Lew, Feb 4, 2016 IP
  2. ModulesGarden

    ModulesGarden Active Member

    Messages:
    21
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    58
    #2
    Hi Nigel,

    Did you enable {php} tags support in WHMCS? Make sure that 'Allow Smarty PHP Tags' option is checked in Setup→General Settings→Security tab in your WHMCS.
     
    ModulesGarden, Feb 18, 2016 IP
    Nigel Lew likes this.
  3. Nigel Lew

    Nigel Lew Notable Member

    Messages:
    4,642
    Likes Received:
    406
    Best Answers:
    21
    Trophy Points:
    295
    #3
    Geez. I have been in this stuff for damn near a month and never noticed that. Thanks alot!. I will check on that.

    N.
     
    Nigel Lew, Feb 18, 2016 IP
  4. ModulesGarden

    ModulesGarden Active Member

    Messages:
    21
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    58
    #4
    Let us know whether it helped. If not, we will try a different approach to the issue.
     
    ModulesGarden, Feb 19, 2016 IP