Need help? Check out our Support site, then


how to add style to head of different pages

  1. I create "test cases" to illustrate various web coding practices. I would like to use a custom page template for writing the test cases. The unique need I have is to include a style block in the head of each page ... and that style block is different from page to page.

    I think I need two parts, a way to edit an extra textarea to collect the style information, and a way to call that textarea into my custom template.

  2. Unfortunately, while it's possible with wordpress, it's not possible at wp.com.

    To do what you need will require changes to the core theme files which we're not allowed to do. This is because the themes are shared across all users at wp.com.

    Collin

  3. OK Collin. How do I do it with WP served elsewhere? ... which is the actual case.

    To reiterate, this is for pages, not posts, and it is to add 4 or 5 lines of unique style per page (in a style block, not inline in the HTML) while also using the theme's common style sheet.

  4. The difference between wordpress.com and wordpress.org is in this thread which is a pink sticky at the head of the forum "Please read me first before posting" http://wordpress.com/forums/topic.php?id=3700&replies=1
    The information on self hosted or web hosted blogs is here http://wordpress.org/hosting

  5. Found what I wanted. "this_style" by Francesco Terenzani adds a style block using the Custom Field capability.

    See: http://www.terenzani.it/13/wp-plugin-this-style/

Topic Closed

This topic has been closed to new replies.

About this Topic