WordPress.org

Ready to get started?Download WordPress

Forums

Category Icons
[resolved] Doubled title and an extra ' "> ' in my case (2 posts)

  1. dasfgh
    Member
    Posted 1 year ago #

    The icon appears, however, the title is doubled and there is an extra sign "> between, for example: Check this out">Check this out.

    I pasted the lines before the title, here's the code so you can understand where "> comes from.

    <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php if (function_exists('get_cat_icon_lite')) echo get_cat_icon_lite(); the_title(); ?>"><?php short_title(); ?></a></h2>

    How to solve these two problems? And after its solved, should I repeat this in single.php, archive.php etc? I'm using the Magpress helone theme. Obviously this is working but theres a little problem, how to solve it? Thanks

    http://wordpress.org/extend/plugins/category-icons/

  2. submarine
    Member
    Plugin Author

    Posted 1 year ago #

    I think that it's because you do an echo get_cat_icon_lite() in the wrong place : it should not be in the title attribute...

    And please, there's another support thread for category icons lite. ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.