Link to home
Start Free TrialLog in
Avatar of jumanj1
jumanj1

asked on

Icons next to WP (wordpress) categories,posts etc

Hi!
If you look here:

http://www.revolutiontheme.com/blog/blogging-tips/this-is-a-sample-post.htm

you can see that that theme has little icons next to each of the Categories,Archives,Recent Posts etc on the right hand side bars... for example the Meta box has a hand with a pointy finger for the three links there..

How is that done? do i need some special plugin to have that on my WP theme?

Thanks!
Avatar of JJClements
JJClements
Flag of United Kingdom of Great Britain and Northern Ireland image

No you don't need a plugin. That is specific to the theme. So the theme you are using does not have the graphics to display the little icons. If you design your own icons or see some that will look appropriate on your site then you can of course modify your sidebar.php to include the icons. That's what I do on my blog for the 'Bookmarks' section of the sidebar here:

http://www.jjclements.co.uk/
Avatar of jumanj1
jumanj1

ASKER

Hey!

Thanks for replying.

This is the exact theme i am using:
http://www.prelovac.com/vladimir/wordpress-themes/blue-grace

And i did see one of the links from that site to another person who was using the same theme but... she had one little icon (an arrow) for all posts... (i cant find the link anymore) i want to do that, not have different icons... since she did it I know its possible but just dont know where to fiddle...

Below am attaching the code from my sidebar.php
<div id="sidebar">
 
	<div id="sidebar-left">
	
		<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else : ?>
	   
	    <h4><?php _e('Categories'); ?></h4>
	    <ul>
			<?php wp_list_cats('sort_column=name'); ?>
	    </ul>	    
	    
	    <h4><?php _e('Archive'); ?></h4>
	  	<ul>
		   <?php wp_get_archives('type=monthly'); ?>
		  </ul>
		  
		  <h4><?php _e('Blogroll'); ?></h4>
	    <ul>
	    	<?php wp_list_bookmarks('categorize=0&title_li=0&title_after=&title_before='); ?>		
	    </ul>
	    
	   	<h4><?php _e('Meta'); ?></h4>
			<ul>
				<?php wp_register(); ?>
				<li><?php wp_loginout(); ?></li>
				<li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
				<?php wp_meta(); ?>
			</ul>  
	
	<?php endif; ?>	    
	</div>
 
 
	<div id="sidebar-right">
	 	         	
		<div class="search-form">  
			<?php $search_text = "Search..."; ?> 
	    <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/"> 
	        <input type="text" value="<?php echo $search_text; ?>" name="s" id="s" onblur="if (this.value == '')  
	        {this.value = '<?php echo $search_text; ?>';}"  
	        onfocus="if (this.value == '<?php echo $search_text; ?>')  
	        {this.value = '';}" /> 
	        <input type="hidden" id="searchsubmit" /> 
	    </form>  
	  </div>
		
		<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(2) ) : else : ?>
	    
	    <h4>Recent Posts</h4>
			<ul>
			<?php get_archives('postbypost', 10); ?>
			</ul>			
		    
	    <h4><?php _e('Tags'); ?></h4>
	    <ul>
				<?php wp_tag_cloud(''); ?>
	    </ul>
	    	 
	<?php endif; ?>
	
	</div>
 
</div>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of lopband
lopband

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jumanj1

ASKER

Thanks!
Avatar of jumanj1

ASKER

Thanks!