A A A

Please consider registering
guest

Log In Register

Login form protected by Login LockDown.


Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Reorganize SUBCATEGORIES
September 20, 2011
2:22 pm
Member
Forum Posts: 38
Member Since:
December 9, 2010
Offline

In a past post I inquired how to reorganize my MAIN categories in the sidebar.

I have reviewed that post but this time I wish to reorganize the subcategories.

I thought I should check with you!  :-) 

I have tried to use the WP menu but it does not actually change the order of the images after you click on the main category.

(I removed the WP menu since it did not solve my problem – although GREAT solution to the sidebar order)

http://kevinrobinsonartist.co……ts/prints/

I wish to change the order of the images under Subcatergories to the following:

Cambridgeshire

Norfolk

Suffolk

London. . .

Aviation

Figurative

Canvas Prints

Mini Prints

I would imagine I am changing the code again to "slug" like I did for the categories but need to know where and what code I am changing.

Thank you so much for your help!

September 20, 2011
5:58 pm
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline

In the future, please post questions in the "Support" forum.  The "How to" isn't for questions, it's for completed instruction sets.

With that said…

 

Are you talking about the subcategories in the body portion of the page, or again in the left margin area?

 

For the margin, organizing your subcategories by "slug" I think should be pretty easy.

In your "sidebar.php" file, you'll see a couple of lines that begin with:

<?php wp_list_categories(

 

You'll need to alter the "orderby" parameter of the lines to be "slug", rather than "name".

Here's a page that lists all the possible parameters you can use:

http://codex.wordpress.org/Tem…..Parameters

 

If you're wanting to organize the subcategories of your body area, then you'll need to edit something in the "functions.php" file.

On or around line #1671, you'll find the function "mkt_setupCatImage".

Within that function, there are 2 lines that have "get_categories" in them.  Within those lines, between the quotes before "&child_of" you'll need to add the parameter "&orderby=slug".

 

Save the file.

I haven't tested this, but pretty sure it's correct.

 

I hope this helps.

September 20, 2011
7:44 pm
Member
Forum Posts: 38
Member Since:
December 9, 2010
Offline

Sorry about posting in the wrong area.  Embarassed

I'll be more careful in the future!

Thank you for your reply.  I was referring to the body area where you find the images with the subcat titles.

I'll go give it a try.

Forum Timezone: UTC 0

Most Users Ever Online: 40

Currently Online:
23 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

icy1: 2371

wreed06: 175

laurie390: 168

StitchTek Services, LLC: 144

boutiqueelliette: 130

yiorgos: 127

Member Stats:

Guest Posters: 428

Members: 2252

Moderators: 1

Admins: 1

Forum Stats:

Groups: 1

Forums: 4

Topics: 2983

Posts: 16042

Moderators: Market Admin (5051)

Administrators: Market Admin (5051)

Market takes e-commerce to the next level with an easy to use, quick setup platform. Learn more or take the tour.