• Hi.

    I’m looking for a plugin which enables me to put an icon next to every single title of my entries like it is used e.g. on tvblogger.de. I tried to use the plugin called WP Post Icon, but i have no idea how to tell this programme that it should show the icon in the title and not in the beginning of the article. Any idea what i have to change with it – or even better – if there is such a plugin i’m looking for?

Viewing 5 replies - 1 through 5 (of 5 total)
  • you could add a class, and use css to add a background icon beside the title, like wikipedia.org does beside it’s external links
    something like:

    h3.icon1 {
            background: url(-icon-url-) center right no-repeat;
            padding-right: -icon-width-px;
    }

    -icon-url- is the url of the icon
    -icon-url- is the icon width in pixels
    put the icons wherever, but the url will have to be a complete url, or relative to the theme you use

    probably best to resize the images to the same height as your titles… any different and it’ll look stupid

    Thread Starter kanzler3000

    (@kanzler3000)

    Thanks for the anwser, but I’m not sure if that is what i’m looking for. With this code i’ll always have the same icon next to the title, isn’t it like that? I’d like to choose between several different icons

    no, you could add multiple classes, and then specify a different class for each icon…
    so icon2 would point to a different image, and so on…

    I’ve started to work on a Title Image Plugin. It’s in testing now, I need beta testers.

    Currently it works together with LMB^Box Smileys plugin, but I would like to add another smiley plugins as well, just tell me what do you need.

    You can also add your own ‘title_icon’ filters:
    add_filter('title_icon', 'my_title_icon_filter_function');

    More on the Title Icon Plugin Homepage

    Here’s an example of how it looks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Looking for plugin to show icon in titles’ is closed to new replies.