WordPress.org

Ready to get started?Download WordPress

Forums

Category Icons
[resolved] Icons don't show up -- Theme: Suffusion (5 posts)

  1. Eilonwy926
    Member
    Posted 1 year ago #

    I've spent hours trying to get this to work, but the icons simply do not show up.

    I don't know anything about coding PHP, and I know very little about WP itself, but I did manage to edit the four templates that were listed on the Template Tags page. I've double-checked those twice.

    I tried the Lite version of the plugin and did get icons to appear in the Category list in the sidebar, but there was still no icon in front of the post title, which is the one I really want; and anyway, I want to use the full version because I want the option of more than one icon.

    http://www.foryourwordification.com
    WP: 3.3.1
    Theme: Suffusion (I'm actually using a child theme of Suffusion, but I've also tried going back to the main theme and there still were no icons)

    Any tips welcome.

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

  2. submarine
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    I've written a new post about the Suffusion theme & Category Icons Lite. To display more than one icon, download the version 1.2 of Category Icons Lite, which I've not released officially yet. If this saves you hours of work, you can buy me a coffee, if you want. ;-)

  3. Eilonwy926
    Member
    Posted 1 year ago #

    IT WORKS!! I will buy you a whole bucket of coffee!!

    I'm so pleased. I was wishing I could use the Lite version anyway, because the interface is so simple and elegant, and v1.2 does exactly what I wanted.

    Some notes for anyone who finds this topic in the future:

    * The directions in the blog post linked above said to uncheck the "Posts" option in the plugin settings. I did that before editing the functions.php file, and the changes resulted in icons in the sidebar and one icon before the post title. But after I updated the plugin to v1.2, the icon in front of the post disappeared. I had to go back and check that "Posts" options, and now I've got multiple icons where I wanted them.

    * I am using the official Suffusion child theme called "Suffu-scion." I used the WP theme editor to modify the child functions.php file. In my particular case I pasted the first block at line 15, and the 2nd block at line 35.

  4. submarine
    Member
    Plugin Author

    Posted 1 year ago #

    Thank You !!! I won't sleep with that much coffee (Volluto, my favorite !) ! :-)

  5. janbletz
    Member
    Posted 1 year ago #

    I have the same constellation, but I can't display more than one icon per category (though I have set the max to 8). ANy suggestions?

    This is my functions.php file:

    '<?php

    add_action("after_setup_theme", "suffu_scion_theme_setup", 15);

    add_filter( 'suffusion_get_post_title_and_link', 'bm_caticonslite' );
    function suffu_scion_theme_setup() {

    }

    function bm_caticonslite($entry_title) {
    return get_cat_icon_lite().$entry_title;
    }'

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic