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

Warning: Cannot modify header information - headers already sent by (output started at /home/themes/public_html/forums/bb-includes/db-mysql.php:12) in /home/themes/public_html/forums/my-templates/kakumei-variant/rss2.php on line 1
ThemeShaper Forums Topic: Changing the format of links in the right sidebar on single posts http://forums.themeshaper.com/ Help In Shaping WordPress Themes en Mon, 25 May 2015 23:32:47 +0000 brongracz on "Changing the format of links in the right sidebar on single posts" http://forums.themeshaper.com/topic/changing-the-format-of-links-in-the-right-sidebar-on-single-posts#post-10780 Wed, 17 Mar 2010 15:47:46 +0000 brongracz 10780@http://forums.themeshaper.com/ <p>Here it is shown how to hook in stylesheets from within your child theme functions.php:</p> <p><a href="http://themeshaper.com/modular-css-wordpress-child-themes/" rel="nofollow">http://themeshaper.com/modular-css-wordpress-child-themes/</a></p> <p>Now what you need to do is to make this function conditional like here:</p> <p><a href="http://programming.thematic4you.com/2010/01/how-to-use-a-different-layout-for-a-certain-page/" rel="nofollow">http://programming.thematic4you.com/2010/01/how-to-use-a-different-layout-for-a-certain-page/</a></p> <p>In your case you put a filter similar to the one from first link (only using your own css files)in a conditional:</p> <pre><code>&lt;?php function my_stylesheet() { $stylesheetdir = get_bloginfo(&#39;stylesheet_directory&#39;); if (is_single()) {?&gt; &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;&lt;?php echo $stylesheetdir ?&gt;/style1.css&quot; /&gt; &lt;?php } else {?&gt; &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;&lt;?php echo $stylesheetdir ?&gt;/style2.css&quot; /&gt; &lt;?php }} add_filter (&#39;thematic_create_stylesheet&#39;, &#39;my_stylesheet&#39;); ?&gt;</code></pre> <p>That is how I suppose more or less your functions.php could look like.<br /> I am also none of a php expert so I might have mixed sth. If it doesn't work keep inquiring here.</p> <p>Greetz. </p> JakeThePeg on "Changing the format of links in the right sidebar on single posts" http://forums.themeshaper.com/topic/changing-the-format-of-links-in-the-right-sidebar-on-single-posts#post-10776 Wed, 17 Mar 2010 12:07:16 +0000 JakeThePeg 10776@http://forums.themeshaper.com/ <p>Does anyone know where I can get some help with this...pleeeease? :) </p> JakeThePeg on "Changing the format of links in the right sidebar on single posts" http://forums.themeshaper.com/topic/changing-the-format-of-links-in-the-right-sidebar-on-single-posts#post-10093 Tue, 23 Feb 2010 13:20:17 +0000 JakeThePeg 10093@http://forums.themeshaper.com/ <p>I am using the Gallery theme, based on Thematic.</p> <p>I would like to change the way the links are displayed in the Single Post pages of my blog.</p> <p>Instead of displaying the full URL of the designer's website, I would like to replace the full URL with the words "Click here for more info".</p> <p>For example, on this page <a href="http://tshirtcowbell.com/obama-more-cowbell-tshirt" rel="nofollow">http://tshirtcowbell.com/obama-more-cowbell-tshirt</a> , in the right sidebar directly beneath "Designed by: Zazzle" I would like to replace the text very long URL in white, with "Click here for more info" (which of course should still hyperlink to the long URL which you are currently seeing).</p> <p>Which part of the code can I modify to do this (I'm a beginner with PHP coding, so be kind!) </p>