Thread Starter
coche
(@coche)
Thanks dannie,
I checked the article, but I see that is only for displaying custom posts in the sidebar, and not in the main column or body of the page. Also a sidebar widget is more useful for the home page when other posts summaries are displayed… but when you click a post’s “continue reading” to see only that post, I would like to use the sidebar for displaying widgets or information that is relevant for that post only.
Thread Starter
coche
(@coche)
Hi,
I just resolved it, you only need to add the complete uri, like this:
http://cochesaurus.com/MyFontsWebfontsKit.css
My code looks like this:
function webfont_link() {
echo <<<EOB
<link rel=”stylesheet” type=”text/css” href=”http://cochesaurus.com/MyFontsWebfontsKit.css” />
EOB;
}
add_action(‘wp_head’, ‘webfont_link’);
Hope this helps to somebody with this same problem.
Regards
Hi,
Just put your image tag between the anchor tag:
<img src=”my-picture.jpg” />
Hope that helps.