• Resolved chiqui1234ok

    (@chiqui1234ok)


    Hi! When I install this plugin (and I assure the problem is with this plugin only because when I deactivated is all OK), image/thumbnail related to categories can’t be loaded OR random image from gallery is loaded.

    I mean, if you get a category inside $cat and then do this for getting category image.

    get_term_meta($cat -> term_id, ‘thumbnail_id’, true);

    You don’t get the thumbnail or get another image. I have this problem in most of my categories ??

    • This topic was modified 1 year, 9 months ago by chiqui1234ok.
Viewing 1 replies (of 1 total)
  • Plugin Author Maya

    (@tdgu)

    Hi,
    How exactly do you manage the categories’ thumbnails, since there is no such functionality in the WordPress core? Deactivating all, there is no such thing as thumbnails.
    I don’t see how the code would impact the get_term_meta, can you make sure the $cat->term_id is the one you actually expect? You can output that variable, on your template to see what is querying. Then compare the value with what you can find on the database.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin brokes category thumbnail’ is closed to new replies.