pixeldesigner
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Themes and Templates
In reply to: Using Isotope Filtering with Portfolio Custom Post TypePlease….there has to be someone out there that knows how to do this
Forum: Hacks
In reply to: Filtering Custom Port Type Category with IsotopeAnyone? really need to figure this out
Forum: Themes and Templates
In reply to: Using Isotope Filtering with Portfolio Custom Post Typeanyone?
Forum: Plugins
In reply to: Blog post category filtering using IsotopeI’m trying to figure this out as well for a portfolio theme i’m building.
I found out how to add the category name to the “item” divs(below) but I’ve yet to find out how to add “data-filter” into the links displayed by wp_list_categories output.function plain_category(){ $cat_plaintext = strip_tags( get_the_term_list($post->ID, 'TAXONOMY_NAME', '', ', ', '' ) ); $cat_plaintext = strtolower($cat_plaintext); $cat_plaintext = str_replace(' ','-',$cat_plaintext); echo $cat_plaintext; }and then just add
<div class="isotope-item <?php plain_category(); ?>"> content in here </div>Forum: Themes and Templates
In reply to: How to add a custom attribute to wp_list_categories linkseven if there was a way to set the title attribute tag to the category name would be of great help such as this:
<li><a href="/category-link/" title="name-of-category"></a></li>
Viewing 5 replies - 1 through 5 (of 5 total)