:exclaim_wp:Title Icon Plugin

Donation Amount:
USD

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

  1. Download the latest version
  2. Upload `title-icon.php` to the `/wp-content/plugins/` directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Optionally add add_filter('title_icon', 'my_title_icon_filter'); to your code
  5. When editing a post, add ‘title_icon’ Custom Field

5 Responses to “Title Icon Plugin”

  1. Niklas says:

    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?

    • Gavriel says:

      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:

  2. Niklas says:

    Hi,

    Do you know how to fix this issue?

    http://wordpress.org/support/topic/276086

  3. Doug says:

    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.

    • Gavriel says:

      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.

Leave a Reply