• Resolved needhelpwithnimble

    (@needhelpwithnimble)


    I recently purchased a plugin called Nimble Portfolio iHover and I’ve failed to receive support when I e-mail then so I’m hoping someone here could help me out real quick. I’m fairly new to wordpress right now, I just got out of school and I’m still learning so I’m not 100% certain of how this plugin works.

    Anyways; this is my client’s website:

    http://www.js.htpwebdesign.ca

    If you go to the projects page

    http://js.htpwebdesign.ca/jsre-projects/

    you can see the filters at the top of the page by year, but if you are to click “2013” for example on the first page, nothing appears because nothing is tagged in 2013 for the 9 images on that page.

    My client would like it so that no pages are left blank, and they want the page to show the 2013 projects even if there are no 2013 projects on that page, is this possible? Here is my filters.php file, i’m not sure how to do this.

    <?php
    $args = array();
    if (isset($this->atts[‘filters’]) && $this->atts[‘filters’]) {
    $filters_r = explode(“,”, $this->atts[‘filters’]);
    sort($filters_r);
    $filters = implode(“,”, $filters_r);
    $args[‘include’] = $filters;
    $args[‘hierarchical’] = 1;
    }

    $filters = $this->getFilters($args);
    foreach ($filters as $filter) {
    $filter_atts = array();
    $filter_atts[‘href’] = get_term_link($filter->slug, $this->taxonomy);
    $filter_atts[‘rel’] = $filter->slug;
    $filter_atts[‘class’] = array(“-filter”);
    $filter_atts[‘id’] = “filter-” . $filter->term_id;
    $filter_atts = apply_filters(‘nimble_portfolio_filter_atts’, $filter_atts, $filter);
    ?>
    ><?php echo apply_filters(‘nimble_portfolio_filter_name’, $filter->name, $filter); ?>
    <?php
    }

    does anyone know how to fix this issue?

    https://wordpress.org/plugins/nimble-portfolio/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Nimble3

    (@nimble3)

    The answer is very short 🙂 i.e. use Ajax filtering.

    This is a common scenario and the Isotope addon has solution for this, just enable Ajax pagination and Ajax filtering in the shortcode.

    Thread Starter needhelpwithnimble

    (@needhelpwithnimble)

    I don’t use Isotope, I’m using iHover. I do not see that option with iHover.

    Thread Starter needhelpwithnimble

    (@needhelpwithnimble)

    Why is this marked resolved? It is not resolved..

    Plugin Author Nimble3

    (@nimble3)

    It is marked resolved, because the suggested solution is there.

    Ajax Filtering and Ajax Pagination are supported by Isotope addon, not iHover Addon.

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

The topic ‘[Plugin: Nimble Portfolio] Filter Help’ is closed to new replies.