The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. dasfgh
    Posted 3 years 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


  2. submarine
    Plugin Author

    Posted 3 years 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

  • Category Icons
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.