Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey Matt I can’t find a way to contact you, I had an oppurtiunity to test your plugin (I was working with version 2.4.2) awesome plugin btw.

    Just want to say that at least in this version that I was to debug there was a bug with Front end posting with ACF the posts weren’t indexed correctly when published via the front-end, acf_form() uses save_post with priority of 10, this is what saved the situation for my client :

    In file : facetwp/includes/class-indexer.php, I have added this row:

    add_action('acf/save_post', array($this, 'save_post'), 10);

    Which run the indexer on acf/save_post.

    Sorry for off-topic, hope it helps, best regards!

    EDIT: It was the code I posted that was still causing the issue, sorry please delete this answer. ?? Thank you for the update awesome job, I am currently testing it and for now it is working like a charm.

    Info: If you have been using previous fix via functions.php

    if ( function_exists("qtrans_useTermLib") ) {
            function qtrans_menuitem2( $item ) {
                    foreach ($item as $key=>$values){
                    $item[$key]->title = qtrans_useTermLib($values->title);
            }
            qtrans_useCurrentLanguageIfNotFoundShowAvailable( $item->title );
               return $item;
            }
            add_filter('wp_nav_menu_objects', 'qtrans_menuitem2', 0);
    
            function qtrans_menuitem( $menu_item ) {
               $menu_item->title = qtrans_useCurrentLanguageIfNotFoundShowAvailable( $menu_item->title );
               $menu_item->title = qtrans_useTermLib( $menu_item->title );
               return $menu_item;
            }
            add_filter('wp_setup_nav_menu_item', 'qtrans_menuitem', 0);
    }

    Delete it because the new update fix won’t work with it.

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