Support » Plugin: Category Icons » Doubled title and an extra ' "> ' in my case

  • Resolved dasfgh


    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

Viewing 1 replies (of 1 total)
  • Plugin Author submarine


    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. 😉

Viewing 1 replies (of 1 total)
  • The topic ‘Doubled title and an extra ' "> ' in my case’ is closed to new replies.