Support » Plugin: ShortCodes UI » [Plugin: ShortCodes UI] Request Feature Multilangual with WPML

Viewing 3 replies - 1 through 3 (of 3 total)
  • I found the solution, in public function load_shortcodes just add as args
    ‘suppress_filters’ => 0

    Please see this link below
    http://wpml.org/forums/topic/get_posts-in-right-language/

    I must duplicate the function because i get an error in admin panel

    //register shortcodes
    if(!$isadmin){
    add_action(‘plugins_loaded’,array($this,’load_shortcodes’));
    // load shortcodes with $args ‘suppress_filters’ => 0
    }

    if($isadmin){
    add_action(‘plugins_loaded’,array($this,’load_shortcodes_admin’));
    // load shortcodes without $args ‘suppress_filters’ => 0
    }

    Plugin Author Bainternet

    (@bainternet)

    updated and added!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: ShortCodes UI] Request Feature Multilangual with WPML’ is closed to new replies.