• Hi,

    => Can you please update plugin with compatible to polylang plugin
    => I need to translate all testimonial details to multiple languages.

Viewing 1 replies (of 1 total)
  • Thread Starter heena1

    (@heena1)

    add_filter(‘pll_get_post_types’, ‘add_cpt_to_pll_custom’, 10, 2);
    function add_cpt_to_pll_custom($post_types, $hide) {
    if ($hide)
    unset($post_types[‘testimonial’]);
    else
    $post_types[‘testimonial’] = ‘testimonial’;
    return $post_types;
    }

    add_filter(‘pll_get_taxonomies’, ‘add_tax_to_pll’, 10, 2);
    function add_tax_to_pll($taxonomies, $hide) {
    if ($hide)
    unset($taxonomies[‘easy-testimonial-category’]);
    else
    $taxonomies[‘easy-testimonial-category’] = ‘easy-testimonial-category’;
    return $taxonomies;
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Can you please update plugin with compatible to polylang plugin’ is closed to new replies.