Categories and tags

Home Forums Automattic Newsy Categories and tags

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #162841 Resolve

    Bennison Books
    Member

    Hi, 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 :)

    #162845

    Hi 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
    #162847

    Bennison Books
    Member

    Hi, 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.

    #162848

    I’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!

    #162852

    Bennison Books
    Member

    Thank you! I will give that a go. :) Best wishes from Blighty.

    #162853

    You’re welcome! Don’t hesitate to give me a shout if you have any questions.

    #162876

    Kathryn P.
    Happiness Engineer

    Hi – 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.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.