WordPress.org

Ready to get started?Download WordPress

Forums

Awesome Filterable Portfolio
Categories with a space done sort items "Car Manufacturers" (1 post)

  1. ashleyrodan
    Member
    Posted 1 year ago #

    It seems that all the categories which have a space and are not in one word will not sort the portfolio at all. There is no response.

    I have a feelings its somthing to do with this:

    //AFP Main Container
    		$output='<div class="afp-clear"></div>
    		<div id="afp-container">';
    
    		//Start Echo Categories
            $output.='<ul id="afp-filter">
            <li class="afp-active-cat"><a href="#" class="All">All</a></li>';
            foreach ( $cats as $cat ){
                	$output.='<li><a href="#" class="' .<strong> preg_replace("[^A-Za-z0-9]", "", $cat->cat_name) </strong>. '">' . $cat->cat_name . '</a></li>';
            }

    Also I have had to change the ereg to preg

    http://wordpress.org/extend/plugins/awesome-filterable-portfolio/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.