Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

Damien ROCHE

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Damien ROCHE in reply to:
    Js Issue with Orderby select
    #146065

    Trevor, you’re right,
    I just changed container now everything is ok !

    thanks a lot !

    Damien ROCHE in reply to:
    Js Issue with Orderby select
    #146038
    Damien ROCHE in reply to:
    WPML + Search
    #19747

    Thanks Ross,
    I found a trick…
    Before insert the shortcode in put this

    <?php
    global $sitepress;
    $sitepress->switch_lang('en');
    ?>

    …and after

    <php $sitepress->switch_lang('fr'); ?>

    Damien ROCHE in reply to:
    WPML + Search
    #19711

    Hi Trisha,
    I understand.
    I have to do this in order to create contest of idea,
    the website is in french and in english,
    but all ideas have to be written in english while the taxonomy are displayed in both languages.

    Damien ROCHE in reply to:
    AJAX event hook not working
    #19698

    interesting question
    after looking to ryan’s code, i managed to do this with this function

            $(".searchandfilter").on("sf:ajaxfinish",function(){
              var area = jQuery('.isotope-area');
              setTimeout(function() {
                area.isotope({
                  itemSelector: '.column',
                  masonry: {
                    columnWidth: 1
                  }
                });
              }, 150);
            });

    If this can help somebody else…

    Damien ROCHE in reply to:
    Problem with Custom Taxonomy Filters
    #19092

    Yes, I was using the 1.4.1 version,
    Works with 1.4.3 !
    Thanks for your help Ross !!!

    Damien ROCHE in reply to:
    Problem with Custom Taxonomy Filters
    #19069

    Just a note.
    I just compared this website with an older one that i’ve made, with S&F plugin that works properly.

    <script type='text/javascript' src='http://somfy.local/wp-content/plugins/search-filter-pro/public/assets/js/search-filter-build.js?ver=1.4.1'></script>
    <script type='text/javascript' src='http://somfy.local/wp-content/plugins/search-filter-pro/public/assets/js/chosen.jquery.min.js?ver=1.4.1'></script>

    On my actual website, I can see the plugin loads 2 js files
    On my older website, the plugin don’t load the 2 files, the problem can be cause by this ?

    Damien ROCHE in reply to:
    Problem with Custom Taxonomy Filters
    #19068

    my list categories output is working, and i’m not sure that this issue is due to add_action( 'init', 'create_value_cat', 0 ); because before I do not use it.
    WEIRD :((

    Damien ROCHE in reply to:
    Problem with Custom Taxonomy Filters
    #19063

    Ok I replace with this

    // hook into the init action and call create_value_cat when it fires
    add_action( 'init', 'create_value_cat', 0 );
    
    // create two taxonomies, genres and writers for the post type "book"
    function create_value_cat() {
        // Add new taxonomy, make it hierarchical (like categories)
        $labels = array(
            'name'              => _x( 'Type', 'taxonomy general name' ),
            'singular_name'     => _x( 'Type', 'taxonomy singular name' ),
            'search_items'      => __( 'Search Type' ),
            'all_items'         => __( 'All Type' ),
            'parent_item'       => __( 'Parent Type' ),
            'parent_item_colon' => __( 'Parent Type:' ),
            'edit_item'         => __( 'Edit Type' ),
            'update_item'       => __( 'Update Type' ),
            'add_new_item'      => __( 'Add New Type' ),
            'new_item_name'     => __( 'New Type Name' ),
            'menu_name'         => __( 'Type' ),
        );
    
        $args = array(
            'hierarchical'      => true,
            'labels'            => $labels,
            'show_ui'           => true,
            'show_admin_column' => true,
            'query_var'         => true,
            'rewrite'           => array( 'slug' => 'type' ),
        );
    
        register_taxonomy( 'filter', array( 'value' ), $args );
    }

    S&F Search UI form is configured like this

    UI FORM SETTINGS

    but the ul is still empty 🙁

    Damien ROCHE in reply to:
    Problem with Custom Taxonomy Filters
    #19053

    Hi Ross,

    The all categories is blank for the “Sort Order” dropdown list, but this one works as expected.
    The all_items_label for custom category is setting to “All”
    If I add a “Test” heading, there is the html output :
    OUTPUT

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