Hi! I'm designing a wordpress template at the moment. I'm new to designing and i used an old template as basis for my work. The problem with this template is that it has no rss feed icon in the sidebar. When i add the rss widget to the sidebar it just stays empty. How can i add a rss icon to my sidebar?
A lot of people are martyrs and want to get their hands in the dirt and design their own WordPress Theme from scratch. That’s okay. I did that, and then got smarter. Let’s start with the smarter choice. * First, find a WordPress Theme architecture that you like, be it one or two sidebars, or no header, or whatever you want. Forget about the colors, graphics, and fonts. Just concentrate on the layout. If nothing pleases you, then I recommend you try the new Sandbox Theme, another great way to start your WordPress Theme from scratch. * Download a couple of Themes you like and put them through their paces on your test site. Do you like the way the single post looks different from the front page, category, and archive pages? If not, try another. If yes, then it’s time to start to work. * Copy your chosen Theme to a new folder with a different folder name under your wp-content/themes folder. Open the style.css style sheet file in a Text Editor and rename the header section at the top to something different, like “My Test Theme†or “Ripping and Tearingâ€. Just give it a different name. Depending upon how much you will end up modifying the Theme, you can either leave the author credit inside or not, it’s up to you and the copyright terms of the WordPress Theme. * A web page without CSS style sheetUpload the new Theme Folder to your website. From within the Administration Panels, under Presentation, find the new Theme and activate it. You now have a test Theme to work with.
Well, that's preety much what i am doing right now. I have a nice ttheme architecture, the only thing that's missing is a nice rss-icon in the rss section of the sidebar. I'm looking for a html code that connects my css tag for the icon with the link to my rss feeds. How do i do that?
The RSS widget is for displaying feed summaries. Paste the following on a new line at the end of your functions.php in the same directory as your theme: <?php /** * Makes a quick RSS Links widget */ function quick_rss() { ?> <div id="quick_rss" class="widget widget_quick_rss"><h2>RSS Links</h2> <ul><li><a href="<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a></li> <li><a href="<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a></li></ul> </div> <?php } if ( function_exists('register_sidebar_widget') ) register_sidebar_widget(__('Quick RSS'), 'quick_rss'); ?> Change it up to suit your needs or add images, etc. Also, both of these links are available in the Meta widget.