Support » Plugin: WordPress Picture / Portfolio / Media Gallery » Setting a Default Filter?

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

    (@nimble3)

    Yes its possible, below are the steps. (these steps are only for FREE version)

    1- Find the filter slug by browsing Item Type section under Nimble Portfolio (wp-admin)

    2- in scripts.js (of our plugin) add following JS in jQuery block,

    jQuery('div.nimble-portfolio-filter ul .current').removeClass('current');
    	jQuery('div.nimble-portfolio-filter a[rel="put-item-type-slug-here"]').parent().addClass('current');
    	jQuery('div.nimble-portfolio ul li').each(function() {
    		if(!jQuery(this).hasClass("put-item-type-slug-here")) {
    			jQuery(this).fadeOut('normal').addClass('hidden');
    		} else {
    			jQuery(this).fadeIn('normal').removeClass('hidden');
    		}
    	});

    3- Replace the put-item-type-slug-here from above JS with your filter slug.

    Hello, your plugin is fabulous compliments, but I also have the problem of defining a default initial filter, I followed the procedure you have written but I could not get it to work, but must be called as a filter?

    so:?
    [nimble-portfolio type = “my filter slug”]

    because to me it does not work. help. thanks

    Plugin Author Nimble3

    (@nimble3)

    The above procedure will work for only one filter, you need to set the filter slug in an hidden field and then use that field in jQuery block. you can also use any URL parameter/Querystring variable to set the filter slug.

    Hello , Pluggin gud, but facing problem while i click on catagories the pluggin don’t filter the categories like article, news and so on .

    is there any way out to make the pluggin, filter posts according to categories

    Your help would be highly appreciated

    is there any way out to make the pluggin, filter posts according to categories
    Your help would be highly appreciated

    Is there any technic to filter posts rather then portfolious using this pluggin.

    Help would be highly appreciated

    Is there any technic to filter posts rather then portfolious using this pluggin.

    Help would be highly appreciated

    Is there any technic to filter posts rather then portfolious using this pluggin.

    Help would be highly appreciated

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Setting a Default Filter?’ is closed to new replies.