Fork me on GitHub

Need help modifying a Xanthia theme header  Bottom

  • Hi all,

    I have a simple enough problem, I feel dumb asking it actually but I cannot seem to find the right spot to put in a piece of PHP code. Here's the situation:

    I have a Xanthia Theme that I have heavily modified, and its parts in the Xanthia editor in the Admin section are all .HTML files.

    I have a pulldown menu that I used instead of a block-menu, which requires one simple IF clause in PHP, using the pnUserLoggedIn functionality. Essentially I have a PHP coded set that must be in the BODY of the HTML served, and a header and footer text, that must also be included. The header and footer stuff is not a problem. They can go into the HTML HEADER FOOTER templates.

    I just don't know where I can force this short 6 lines of PHP code that will be seen by the XANTHIA theme at some point between the HEADER template and the FOOTER template.

    in the Theme.php there is a routine that runs the header, and a routine that runs the footer... should I put this code (PHP) after the run header function?

    Anyone have any ideas?

    My prior theme was non Xanthia and was all PHP files... so the menu was no issue.

    Anyone able to help?

    Greetings,
    Antonio

This list is based on users active over the last 60 minutes.