Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Including extra CSS/JS to header page level instead of new template
#2
acasperw Wrote:Would it be be possible to add CSS ( <link> or <style> ) to the header on a page level, instead of having to create a new template?

You can use I18N Custom Fields or I18N Special Pages to define an additional text/textarea field header for the pages, add the corresponding <link> or <style> into this field, if needed and include it in the template with get_custom_field('header') or get_special_field('header').
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply


Messages In This Thread
Including extra CSS/JS to header page level instead of new template - by mvlcek - 2012-03-02, 01:21:20



Users browsing this thread: 1 Guest(s)