Title Icon Plugin
Displays a small icon or smiley in the title. You have to add
<?php if (function_exists('the_title_icon')) the_title_icon(); ?>
to your index.php, single.php, page.php, archive.php
before or after the
<?php the_title(); ?>
Installation
- Download the latest version
- Upload `title-icon.php` to the `/wp-content/plugins/` directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Optionally add
add_filter('title_icon', 'my_title_icon_filter');to your code - When editing a post, add ‘title_icon’ Custom Field
Hello.
I have just installed your plugin, activated it and added the code to the files i want, i have then added the custom field to the post along with the url to the image.
When then viewing the blog i only got the url to the image besides the title, no icon.
So whats wrong and how to fix it?
You’ll need to upgrade to Title Icon 0.2 and use the BBCode format in the title_icon custom field, like this:
[img]http://example.com/images/myicon.gif[/img]You can also use the LMB^Box Smileys plugin and use the shortcuts like:
:smiley_wp:Hi,
Do you know how to fix this issue?
http://wordpress.org/support/topic/276086
HOw do I link to the icon? I added [img]http://www.domain.com/myimage.jpg[/img], but that only shows the image and the link does not appear. Can you please show me how I can add a link? Thanks.
I never thought that someone would want to add a link to the icon. I think it won’t work, because the icon itself is within a link (together with the article title) already, when you look at the archive page for example.