bbPress

Simple, Fast, Elegant

bbPress support forums » Plugins

Very basic header footer plug in

(2 posts)
  • Started 2 months ago by lstelie
  • Latest reply from _ck_
  • This topic is not a support question
  1. 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

    Posted 2 months ago #
  2. That's a valid, good approach and will allow you to switch between templates very easily while retaining customization.

    Posted 2 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.