Forums Forums Search Search Results for 'Masonry'

Viewing 10 results - 311 through 320 (of 327 total)
  • Author
    Search Results
  • #17479

    Anonymous
    Inactive

    Here’s the issue I’m having. I want to display search results using one of my template pages (blog masonry style).
    I’ve tried both FREE version and PRO. Actually FREE version worked fine even w/o any template modifications, but the problem is it doesn’t allow to selectively display categories and the daterange field doesn’t work (yes I tried it in latest ver. of Chrome and Firefox). In your demo site the datarange fields are working which makes me believe there’s some conflict with either my theme or one of the plugins I’m using.

    So I’d pretty happy with FREE version if it had options to control which categories appear in the results and I need datefields to work.

    Anyway that was with FREE version, now PRO version works partially and only using shortcode method. The results page displays every post I have, it doesn’t filter them by category or tag. When I change the category or tag then results page reloads but it displays all posts every time.

    Using archive page doesn’t work at all no mater what custom template I tries, search.php, archive.php, and a coupe others. I guess these need to be modified per your suggestion in FAQ to remove custom query but it’s a bit complicated (it includes some extra functions to allow user selected options in the admin panel of the theme). So I don’t feel qualified enough to do this change myself. Should I send you my template pages for you to look at? And, as I said the daterange fields are not working (perhaps there’s jQuery conflict with another plugin?).

    So please can you take a look and give me your advice? The test site url link is : http://rsdasa.5notedesign.ninja/classes/

    I can send you my WP login details so you can check my setup.

    Thank you,
    Dmitriy

    #15247

    In reply to: Invisible Ajax results


    Anonymous
    Inactive

    I’ve resolved the issue by adjusting CSS of results.php : it was calling some function of the theme to define CSS classes, and I think it was not working when ajaxed.

    However I DO have a pb of JS : as below, on page load, no pb : some JS is called and create a nice masonry grid.

    But when ajaxing the results, the grid is not looking good. I’ve checked console, but I don’t know what to look at.. One thing is true : when I disable JS, the load page has the same mess, so definitely some JS is not loading in ajax results.

    Any idea ? 😀

    #10465

    Anonymous
    Inactive

    Hi,
    I installed the S&F Pro plugin on my website http://inside.revelator.com/design/
    I use a theme that show my posts in masonry.
    I created a simple search form with a search input and a category filter, but when I choose a category, the results are not filtered.

    Can you tell me what I missed ?

    Thank you

    #9166

    Ross
    Keymaster

    Hey Stian

    The only time pagination won’t show is if you don’t have more results – could you add this to your template file so we can see how many results the plugin has:

    <?php
        global $wp_query;
        echo "Results found: ".$wp_query->post_count."<br />"; 
    ?>

    If the post count is below results per page then you will not see pagination.

    In regards to masonry – take a look at the first question in our FAQs – http://www.designsandcode.com/wordpress-plugins/search-filter-pro/faqs/

    Thanks

    #9130

    Anonymous
    Inactive

    So I already made one template that works great with a custom-post-type archive, pagination displays and works great with AJAX.

    This other page I’m doing is for news items, but the pagination won’t display at all.
    The settings and files are almost identical, with the exception of the markup of the listings.

    Search & Filter Settings

    Working page
    This page is not working

    I’m not sure what’s wrong here.

    Another issue I’m having with this page is that the masonry script won’t work after I use any filters to change the results.

    #9026

    In reply to: Masonry Implementation


    Ross
    Keymaster

    Hey Robbin

    Thanks for this – you got further than most – this used to be a suggestion I provided but to make life easier I created two custom events which you can hook in to like:

    $(".searchandfilter").on("sf:ajaxstart",function(){
    console.log("ajax start");
    });
    
    $(".searchandfilter").on("sf:ajaxfinish",function(){
    console.log("ajax complete");
    //so load your lightbox or JS scripts here again
    });

    Thanks 🙂

    #9019

    In reply to: Masonry Implementation


    Anonymous
    Inactive

    Got it. In case this is helpful to others, you can trigger scripting functions after the ajax filter by wrapping them in this function:

    jQuery(window).ajaxComplete(function($){ $('.target').action(); });

    #9018

    Anonymous
    Inactive

    I’ve got jQuery Masonry working when the page first loads, but it does not get applied after each ajax request. Is there an event handler that I can trigger this with? Thanks!

    #6913

    In reply to: Theme Template


    Anonymous
    Inactive

    Sorry, also here is the theme template code:

    <?php
    
    // =============================================================================
    // VIEWS/GLOBAL/_INDEX.PHP
    // -----------------------------------------------------------------------------
    // Includes the index output.
    // =============================================================================
    
    $stack = x_get_stack();
    
    if ( is_home() ) :
      $style     = x_get_option( 'x_blog_style', 'standard' );
      $cols      = x_get_option( 'x_blog_masonry_columns', '2' );
      $condition = is_home() && $style == 'masonry';
    elseif ( is_archive() || is_search() ) :
      $style     = x_get_option( 'x_archive_style', 'standard' );
      $cols      = x_get_option( 'x_archive_masonry_columns', '2' );
      $condition = ( is_archive() || is_search() ) && $style == 'masonry';
    #elseif ( is_search() ) :
    # $condition = false;
    endif;
    
    ?>
    
    <?php if ( $condition ) : ?>
    
      <?php x_get_view( 'global', '_script', 'isotope-index' ); ?>
    
      <div id="x-iso-container" class="x-iso-container x-iso-container-posts cols-<?php echo $cols; ?>">
    
        <?php if ( have_posts() ) : ?>
          <?php while ( have_posts() ) : the_post(); ?>
            <?php if ( $stack != 'ethos' ) : ?>
              <?php x_get_view( $stack, 'content', get_post_format() ); ?>
            <?php else : ?>
              <?php x_ethos_entry_cover( 'main-content' ); ?>
            <?php endif; ?>
          <?php endwhile; ?>
        <?php else : ?>
          <?php x_get_view( 'global', '_content-none' ); ?>
        <?php endif; ?>
    
      </div>
    
    <?php else : ?>
    
      <?php if ( have_posts() ) : ?>
        <?php while ( have_posts() ) : the_post(); ?>
          <?php x_get_view( $stack, 'content', get_post_format() ); ?>
        <?php endwhile; ?>
      <?php else : ?>
        <?php x_get_view( 'global', '_content-none' ); ?>
      <?php endif; ?>
    
    <?php endif; ?>
    
    <?php pagenavi(); ?>
    #6803

    Anonymous
    Inactive

    Hi, I need to process manipulate the search results to applied a “masonry” layout to them. How can I hook that up?

Viewing 10 results - 311 through 320 (of 327 total)