Home › Forums › Automattic › Newsy › Categories and tags
-
AuthorPosts
-
Bennison BooksMemberHi, I have a few related questions about tags and categories:
1. I have added the category widget to my blog with the title ‘Authors’ (left hand side). Is it possible to put the authors in alphabetical order?
2. I have previously added code to prevent tags and categories showing on the homepage and on individual posts. However, when I click on one of the author links the posts show the categories and tags. Is there any code I can add to prevent this?
3. Finally, is it possible to change the heading on the ‘category’ pages when you click on one of the author links. For example, if I click on the author Peter Bowes, the heading of the page is ‘Category Archives: Peter Bowes’. I would like it to just say ‘Peter Bowes’.http://bennisonbooks.com/category/peter-bowes-2/
Thanks so much :)
February 5, 2015 at 9:24 pm #162845Hi there! Sorry for the delayed response, but I’m happy to help.
1. The Categories Widget will automatically list your categories by alphabetical order. I had a look at your site just to make sure, and it appears to be working as expected.
2. Certainly! You can modify your existing CSS to prevent tags and categories from being shown on your category pages. Try replacing your existing CSS with the following:
.home .entry-meta, .single .entry-meta, .category .entry-meta { display: none; }
3. We can’t edit the text itself. But we can use some CSS to hide the “Category Archives:” part of the title. Try adding the following to the bottom of your Custom CSS:
.category h1.page-title { color: #fff; font-size: 0; } .category h1.page-title span { color: #2B4C7E; font-size: 35px; line-height: 38px; }
Please let me know how the above works for you! And don’t hesitate to let me know if you have any questions.
-
This reply was modified 8 years, 1 month ago by
Ryan C.. Reason: Formatting
February 6, 2015 at 1:33 pm #162847
Bennison BooksMemberHi, Ryan – thanks so much, the code worked beautifully. I really appreciate your help with that. :)
Re. listing the categories, I wanted to list the authors alphabetically by their surname – so I don’t know if there’s any way of changing the order they are listed in on the homepage? Thanks very much indeed.
February 6, 2015 at 5:24 pm #162848I’m glad to hear that did the trick! I’m afraid that the Categories Widget won’t allow you to alphabetize by surname. However, you could use a Text Widget to manually create the list of authors. It would require a little more setup, but it would allow you to have complete control over the order.
You can find more information about creating a Text Widget here:
http://en.support.wordpress.com/widgets/text-widget/And you can find step-by-step instructions for creating links Text Widgets here:
http://en.support.wordpress.com/links/text-widget-links/Please let me know how that works for you!
February 6, 2015 at 5:54 pm #162852
Bennison BooksMemberThank you! I will give that a go. :) Best wishes from Blighty.
February 6, 2015 at 6:22 pm #162853You’re welcome! Don’t hesitate to give me a shout if you have any questions.
February 20, 2015 at 3:21 pm #162876
Kathryn P.Happiness EngineerHi – I’m marking this thread as resolved since it looks like Ryan helped get you sorted out, but feel free to start a new one if you need help with anything else.
-
This reply was modified 8 years, 1 month ago by
-
AuthorPosts
You must be logged in to reply to this topic.