<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>ThemeShaper Forums Topic: Changing the format of links in the right sidebar on single posts</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Sun, 19 May 2013 04:43:59 +0000</pubDate>

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

</channel>
</rss>
