Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Same problem here with custom post type (partner) and taxonomy (partner-cat) generated by code. Yoast Config is unusable atm. Here is the error when saving :

        Partenaires - Image pour les réseaux sociaux: wpseo_titles.social-image-id-partner must be a number type, but the final value was: NaN (cast from the value false).
        Catégories - Image pour les réseaux sociaux: wpseo_titles.social-image-id-tax-partner-cat must be a number type, but the final value was: NaN (cast from the value false).
    Thread Starter f.herewecom

    (@fherewecom)

    After research, the error appears with two taxonomies created by polylang. I solved the problem, but, Polylang having a large number of users, i think it would be better to register these two taxonomies in the global exclusion list of the “get_taxonomies” function in lib/options.php. And at least ensure that the display is not broken if a taxonomy has no name or labels

    function fixSimpleTaxonomyOrderingSelector($excluded_taxonomies, $taxonomies) {
        array_push($excluded_taxonomies, 'term_language', 'term_translations');
        return $excluded_taxonomies;
    }
    add_filter('yikes_simple_taxonomy_ordering_excluded_taxonomies', 'fixSimpleTaxonomyOrderingSelector', 10, 2);
    • This reply was modified 3 years, 11 months ago by f.herewecom.
    Thread Starter f.herewecom

    (@fherewecom)

    Thanks,

    But this plugin don’t resolve my problem. I don’t want to filter the display of field group.

    Acf relationship field is bugged when you have the admin lang switcher in different lang of the post you edit.

    🙁

    And i use the acf pro version … 🙂

    Thread Starter f.herewecom

    (@fherewecom)

    Don’t know him. Can you give me a link ?

    Thread Starter f.herewecom

    (@fherewecom)

    Thanks for your answer 🙂

    I already know that i ask is not a native functionnality, i just consider that’s an usefull feature from WPML.

    My original problem who make me post this subject concernes the plugin Advanced Custom Field and the relationship fields who don’t work well with Polylang. ACF search post in lang of the language filter even if the post is in another lang.

    Don’t know if the problem come from Polylang or ACF.

Viewing 5 replies - 1 through 5 (of 5 total)