What is the best way for doing that? (PHP/CSS wise)
You want some code to be added to the
#title element. You can do this, as Sorich said, by copying the
The code you need is simple, let's take the example you gave:
<p> <a href="<?php echo bloginfo('rss2_url'); ?>"> <img style="vertical-align:middle" src="http://www.r-bloggers.com/wp-content/themes/black-lucas/images/rss.png" alt="Subscribe to R-bloggers"> RSS Feed </a> </p>
Of course, you would copy the image to your own server and change the path. You can check the styles used on the page, using a good web inspector/debugging tool (like Firebug).
- Some themes provide hooks or widgets areas that you can use
- For the theme which does not provide them, you can create a child theme or edit templates files.
With the theme you are using on your blog, there is no hook. So, I would recommend creating a Child Theme. The benefit is that your modifications will not be overwritten during a theme upgrade.
- Create a child theme
header.phpfrom the theme directory to the child theme
- Modify the new
header.phpfile in the child theme directory
See the codex for details about the feeds URLs.
It depends. There is number of ways theme can be customized:
- it can include ready-made widget areas or admin control panel;
- it can include set of hooks to insert content in different areas;
- templates can be directly edited;
Most basic way to modify header is
header.php template, called by
But without seeing the internals the only person who can properly answer this is theme's developer.