WordPress.org

Ready to get started?Download WordPress

Forums

Category Meta plugin
Doesn't work for Custom Taxonomies (3 posts)

  1. iporter
    Member
    Posted 3 years ago #

    Hi, your plugin looks good but doesn't appear to work for custom taxonomies.

    As I understand it, the recommended practice is to register custom taxonomies in a function like 'my_theme_setup' called on the 'after_setup_theme' hook.

    I'm guessing that your call to get_taxonomies() on line line 71 of wp-category-meta.php runs before this hook, because it's not returning my custom taxonomies, only the default taxonomies.

    Hope that helps.

  2. iporter
    Member
    Posted 3 years ago #

    Ah, it also doesn't save data if your Meta Name contains a whitespace character (i.e. you haven't used the 'Replace special characters into Meta Name' checkbox).

    Got it to fulfil my needs however, so thanks.

  3. Jacob Dunn
    Member
    Posted 3 years ago #

    iporter - the issue was exactly what you thought, it was called too early. Fix here.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic