Forums Forums Search & Filter Pro Filters are not working on Mac

Tagged: , ,

Viewing 10 posts - 1 through 10 (of 11 total)
  • Anonymous
    #207603

    Hi,

    First of all, thanks for your plugin.
    We have intgrated your plugin on : https://www.t4gf.org/actualites/

    It’s working well on windows environment ( Chrome / Firefox…) but it does’nt work on Mac system.

    Code in our template :

     <?php
                                        // The Query
                                        $args = array('post_type'        => 'post',
                                            'post_status'      => 'publish',
                                            'posts_per_page'   => -1,
                                            'orderby'          => 'date',
                                            'order'            => 'DESC',
                                            'suppress_filters' => false);
    
                                        if( $langActive == "fr-FR" ) {
                                            $args['search_filter_id'] = 1684;
                                        } else {
                                            $args['search_filter_id'] = 1697;
                                        }
    
                                        
    
                                        $the_query = new WP_Query( $args );
    
                                        // The Loop
                                        if ( $the_query->have_posts() ) {
                                            echo '<ul>';
                                            while ( $the_query->have_posts() ) {
                                                $the_query->the_post();
                                                $vignette = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );
                                                $sousTitre = get_field('sous-titre');
                                                $extrait = get_field('extrait_texte_page_actualites');
                                                ?>
    
                                               <li class="display-article">
                                            <a href="<?php the_permalink(); ?>">
                                                <div class="container50 image-article vignette-actu" style="background-image:url(<?php echo $vignette; ?>)">
                                                    <div class="aplat-hover"><div></div></div>
                                                    <div class="aplat-hover-noir"></div>
                                                </div>
                                            </a>
                                            
                                            <div class="container50 contenu-article floatleft">
                                                <div class="display-table">
                                                    <div class="display-table-cell">
                                                        <h2 class="titre-article cap"><?php the_title(); ?>
                                                         <?php if($sousTitre){ echo $sousTitre; } ?></h2>
                                                        <div class="texte-article">
                                                            <p class='bleu'><strong><?php echo $extrait; ?></strong></p>
                                                            <a href="<?php the_permalink(); ?>" class="lien-actu"><?php echo $intituleLien; ?></a>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="clearboth"></div>
                                        </li>
                                        <?php
                                            }
                                            echo '</ul>';
                                            /* Restore original Post Data */
                                            wp_reset_postdata();
                                        } else {
                                            // no posts found
                                        }
                                         ?>
    Trevor
    #207615

    Could you explain (using screenshots or screencast video if possible) what does not work? Any media cannot be uploaded here, so will need to be linked to a sharing site.

    Anonymous
    #207628

    Here’s a dropbox link with two video screencast from a macbook pro and iphone.

    The filters are not working. When I select a filter nothing happens and the posts don’t get sorted :

    https://www.dropbox.com/sh/2xhfc68mj2n2qvb/AADKQRVSvNOwU8zABHExObNPa?dl=0

    Trevor
    #207663
    This reply has been marked as private.
    Anonymous
    #207669

    Here’s the link of the page : https://t4gf.org/actualites/

    I can not give you admin logins, the owner of the site didn’t allow me.

    If you really access, we could make a copy of the website on a pre-production server next week.

    Let me know if you absolutely need it

    Trevor
    #207671

    One thing I think needs changing is the Ajax Container (currently set to #main), which I think may need to be:

    .liste-articles

    Anonymous
    #207831
    This reply has been marked as private.
    Trevor
    #207871
    This reply has been marked as private.
    Anonymous
    #207944
    This reply has been marked as private.
    Trevor
    #207989

    I looked at your plugin list and for now have disabled Post Type order and Autoptimize. I think it now works. Post Type Order will cause our plugin not to work. Autoptimize should only be activated when the site is finished. It should not be used when developing.

Viewing 10 posts - 1 through 10 (of 11 total)