• Resolved jasodo

    (@jasodo)


    Hi there!
    I have downloaded this plugins and i have some questions about it.
    What about friendly links for SEO? Now, when i’m adding a category the links seem like …/?wpccategories=categoryName
    is there the posibility to change the string of wpccategories to another string?
    also, i want to know if is possible to add a description into categories page.
    And translate some words, like price to “precio” in spanish.

    Thanks!

    http://wordpress.org/plugins/wp-catalogue/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Yes, you can change it in the code:

    In wpc-product.php file located in wp-content/plugins/products/ find line 126 where it reads:
    ‘rewrite’ => array (‘slug’ => ‘wpccategories’, ‘with_front’ => false),

    Replace wpcategories in the above line with the name you want to use for your category slug.

    Now find this in line 24:
    ‘rewrite’ => array (“slug” => “wpcproduct ‘)

    …and replace wpcproduct with the name you want to use for the product slug.

    Names in line 126 and line 24 must be different.

    Then, just resave your site permalinks via Settings > Permalinks *this bit is important.

    See http://wordpress.org/support/topic/changing-base-slug?replies=7 and http://wordpress.org/support/topic/product-urls?replies=13 for more extended discussion on this topic. Thanks

    just copied from http://wordpress.org/support/topic/change-for-sef-url?replies=6

    Thread Starter jasodo

    (@jasodo)

    And also, add the posibility to show a description in categories?
    I will try this

    Thread Starter jasodo

    (@jasodo)

    I’m trying to do something like that but i dont find that part of code
    Link

    Thread Starter jasodo

    (@jasodo)

    For descriptión in Category you can use this:

    // products area
    		$per_page	=	get_option('pagination');
    		if($per_page==0){
    			$per_page	=	"-1";
    		}
    	$return_string .=' </div>';
    		//
    		<strong>foreach($termsCatSort as $term){
    		if($term_slug==$term->slug){
    		$return_string .= '<p>'.$term->description.'</p>';
    		}
    		}</strong>
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Friendly Seo Links & Categories Description’ is closed to new replies.