Hi, wordfence has emailed me about a vulnerability. Is this something that will be updated soon?
Many thanks
]]>Hi!
I would like to apply the featured image of the latest post within a category, as the featured image/thumbnail of the category. Is this possible with this plugin?
Have a great day!
Best regards,
Isac
Hello,
I am able to install the plugin and set the image and icon for a product category but it does not show up in the front-end in any location. Does this plugin work and how? I’ve test on both the presented link and other websites.
Is it supported? I see the same issue reported more than one year ago and it has no reply but the thread is closed.
Thank you.
]]>Good day,
I am using the Listable theme. I wanted to create tag categories, for example “style of establishment”, “nearby services”, etc. I contacted the WP Job Manager – Tags plugin developers, and they said its not possible with their plugin. I decided to create more taxonomies to achieve this. Everything works fine – I can use your plugin to assign an icon to each tag in the different taxonomies – but it doesn’t output on the frontend.
Here’s a link to a printscreen of the output. https://snag.gy/s4VxwK.jpg
Here’s a link to a prinscreen of how the WP Job Manager – Tags plugin outputs the tags category. https://snag.gy/EKUay2.jpg
How can I apply the same output on the other taxonomies to make it look the same as what the theme already offers?
Please let me know if you need anything else from me?
Please note the website is currently under construction and therefore not visible.
Kind regards,
Mariette
Hey!
I was speed testing our application today and found that your plugin load its assets on all admin pages no matter if it’s required.
We are running our application for a team with a variety of capabilities and bandwidth.
Therefore your plugin is wasting bandwidth and slows down the admin interface.
Would love to see a check with in the enqueue_admin_scripts() method if the assets should be loaded. At least just load them on the options screen and terms add and edit views. Like:
function enqueue_admin_scripts () {
// Get current view
$current_screen = get_current_screen();
// Check if assets are needed
switch ( $current_screen->base ) {
case 'term':
case 'edit-tags':
case 'settings_page_category-icon':
wp_enqueue_style( $this->plugin_slug . '-admin-style', plugins_url( 'assets/css/category-icon.css', __FILE__ ), array(), $this->version );
wp_enqueue_media();
wp_enqueue_script( $this->plugin_slug . '-admin-script', plugins_url( 'assets/js/category-icon.js', __FILE__ ), array( 'jquery' ), $this->version );
wp_localize_script( $this->plugin_slug . '-admin-script', 'locals', array(
'ajax_url' => admin_url( 'admin-ajax.php' )
) );
break;
default:
break;
}
}
If you want you could also check if the current taxonomy needs it. Would be even sleeker ??
Greetings
derRALF
Quick question:
got the Listable theme and want to display some icons WITH links to filter categories. Icon is shown on page but when i click on specific filters, the filters didnt show the right result.
]]>Hello, I have a question about the ” Category Icon ” plugin. I need more images or icons. For the categories of my site.
Greetings thank you
How to get category icon url any where in my front end?
I have created one function in my function.php
function get_cat_icon($id,$key=”){
global $wpdb;
$strTable = $wpdb->prefix.”termmeta”;
$icon_id = $wpdb->get_var( “SELECT meta_value FROM “.$strTable.” WHERE term_id = “.$id.” AND meta_key = ‘”.$key.”‘” );
$src = wp_get_attachment_image_src( $icon_id, ‘thumbnail’ );
return $src[0];
}
This is working. but I want to know if you have implemented something else?
]]>What’s the difference between category icon and image?
And where exactly each one gets displayed?
Just thought I’d let you know that I discovered a conflict with your Category-Icon plugin and the Image Map Pro plugin : https://codecanyon.net/item/image-map-pro-for-wordpress-interactive-image-map-builder/2826664
The issue seems to be based on a jQuery/JS issue of some sort… In short, when your plugin is active, their polygon drawing tool ceases to work, and a number of other UI elements break completely within their plugin’s admin page.
I’m not sure if the problem is on their side or yours and I haven’t gone through the code in detail… but as I’ve been able to use a bunch of other plugins with their plugin and this is the only one that throws the problem, I figured I’d just log the problem here to let you know.
It could be as simple as both of you using the same name for a function or something (or one of you changing the script-loading order on the admin panel), but I’ve run DEBUG and a number of other checks and I can’t seem to turn up the problem or even an error log. Anyways, thanks for checking this out!
PS: Oh, and I’ve let them know as well in the event that the issue is on their side… I’m recording this more for the sake of anyone else that may encounter this particular conflict. I am not really expecting an immediate fix, but hey, if you can fix it, that’d be awesome!
]]>Thank you for this plugin, it looks great, but how do I make it display?
Is there something like a shortcode or php code I can use?
$categories = get_the_terms( get_the_ID(), 'portfolio-category' );
if ( ! empty( $categories ) ) {
echo esc_html( $categories[0]->name ); //this works!
echo esc_html( $categories[0]->icon ); // nop
echo esc_html( $categories[0]->category-icon ); //displays 0
}
Thanks again.
??
Are you planning to update the plugin to be compatible with WordPress 4.4? I’m currently receiving errors on my site that your plugin is calling an undefined function z_taxonomy_image().
Thanks,
Allan