![]() |
Category Name should not be the same as Category Page Title Name
I've noticed a flaw in how labeling categories is setup.
There are two main uses for a category name: 1) category navigation 2) page title Here's an example of category levels: 1. retro clothing 1.1 dresses 1.1.1 wedding that works great for navigation. However, as a page title, "Wedding" doesn't work because it's non description and is not in the context of a hierarchy. For a title, I'd want "Retro Wedding Dresses" My suggestion is that you add a page title field. That way you have more control - similarly to how you're allowing a user to enter the slug as a different label. |
A workaround is to test on category ID and then specify a unique title for that ID.
1. To find the ID of a category just click on a category name in the Factory and look in the URL. The category ID is the number following cat=. 2. Then go to The Factory > Your Store > VIEWS > CATEGORY PAGE > Default > View menu > View <head> Elements 3. Replace <title>[category.name] - Vintage Shopper</title> with the code below. In example below a unique title has been specified for 3 categories with IDs 123, 456 and 789. The other categories follow the default. Adjust the code to your needs. Code:
<?php if ($category->id==123){ ?> |
Wow, that is a workaround -- not really a fix. If you have a hundred categories, NOT ideal.
Surely this issue has been brought up by other customers? Would you guys consider my solution to the problem please? Thanks |
Thread moved to "Feature Request" forum.
|
Quote:
You don't need to define titles for all category IDs. The category ids you don't specify automatically get the default title - that is the title which is specified in the else clause. Code:
... Quote:
If you have a hundred categories, you would also have to enter 100 times a different title into a field if you want another title than the default. About the same amount of work just another implementation. |
The difference with my solution is focusing on data input where it should be, not via code.
That's why interfaces are designed and built. Also, in your solution you have to go up and look up the id for each category. if you simply have that field in the UI for category properties -- dead simple. |
|
Yeah, I've been told that already.
The only problem is (and correct me if I'm wrong) - don't you need a separate website to run a woocommerce theme? |
Hi
No, WooCommerce can run on any installation of WordPress. If your current theme is not WooCommerce compatible the following link can help with that: http://77webstudio.com/make-wordpres...ce-compatible/ Eric |
All times are GMT -5. The time now is 03:37 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.