Skip to:
Content
Pages
Categories
Search
Top
Bottom

Very basic header footer plug in


  • lstelie
    Member

    @lstelie

    Hello,

    I wrote this for my own use, in case it could be of some use for someone, here it is :

    http://pastebin.com/f35e5dcbe

    This allow to put some html code in header (or example metatags) and footer (for example counter code)

    There is no admin part for two reasons :

    1) I’m learnig how it works

    2) I’m not sure it would be a great idea to have a DB request for a code that never change

    So for instance you’ll have to edit manually the plugin file

    Why use a plug in instead of a direct ad in the template ? because for alpha release the default template (my own is based on kakumei) sometimes change, so keeping the personal code updated each time can be tedious.

    Luc

Viewing 1 replies (of 1 total)

  • _ck_
    Participant

    @_ck_

    That’s a valid, good approach and will allow you to switch between templates very easily while retaining customization.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.