Strict Standards: Redefining already defined constructor for class bbdb in /home/themes/public_html/forums/bb-includes/db-mysql.php on line 12

Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127
One way to style a single page differently « ThemeShaper Forums

ThemeShaper Forums » Thematic

[closed]

One way to style a single page differently

(1 post)
  • Started 4 years ago by elderberry
  • This topic is resolved
  1. elderberry
    Member

    Hi All, with the help of this forum (thanks!) I have been able to add some custom functions to my child theme even though I an not a coder (princess cut and paste).

    Here's a function I wrote to add another stylesheet to a specific page, maybe it will be useful to others:

    // change styling for merchant-catalog
    function merchant_layout() {
    if (is_page('merchant-catalog')) { ?>
    <link rel="stylesheet" type="text/css" href="<?php echo bloginfo('stylesheet_directory') ?>/merchant.css" />

    <?php }
    }
    add_action('wp_head', 'merchant_layout');

    Posted 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.


Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::spool_analytics() should not be called statically in /home/themes/public_html/forums/bb-includes/wp-functions.php on line 586

Strict Standards: Non-static method GA_Filter::spool_this() should not be called statically in /home/themes/public_html/forums/my-plugins/googleanalytics.php on line 183