• Hi there,
    I’m trying to re-order portfolio categories for the Enfold theme, & I’m having no luck.
    This breadcrumb navigation
    Here is the code snippet controlling this currently:

    foreach($categories as $category)
    			{
    				if(in_array($category->term_id, $current_page_cats))
    				{
    					//fix for cyrillic, etc. characters - isotope does not support the % char
    					$category->category_nicename = str_replace('%', '', $category->category_nicename);
    
    					$output .= 	"<span class='text-sep ".$category->category_nicename."_sort_sep'>/</span>";
    					$output .= 		'<a href="#" data-filter="'.$category->category_nicename.'_sort" class="'.$category->category_nicename.'_sort_button" ><span class="inner_sort_button">';
    					$output .= 			"<span>".esc_html(trim($category->cat_name))."</span>";
    					$output .= 			"<small class='av-cat-count'> ".$cat_count[$category->term_id]." </small></span>";
    					$output .= 		"</a>";
    				}
    			}

    I have this in a child theme, so can easily modify as required.
    Is there anything in the above that might be stopping your plugin working as expected?
    Many thanks,
    Jason

    The page I need help with: [log in to see the link]

  • The topic ‘Enfold portfolio taxonomy re-ordering’ is closed to new replies.