Forums

Changing the title text for the_category (3 posts)

  1. camelindisrepair
    Member
    Posted 2 years ago #

    Hello folks!

    I have a bit of a question which stumps me, but perhaps it is because my WordPress skills just are too basic to figure it out for myself... :)

    When using <?php the_category(', ') ?> I have noticed that the default title text (which pops up when one mouseovers the link) for the link is "View all posts in CATNAME".

    What is the workaround to have category links but with a customized link title?

    Many thanks!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    There isn't an option to customise the title attribute text in the_category. The workaround would be to use get_the_category, then loop through the resulting array building your own link markup - including a customised title.

  3. layabozi
    Member
    Posted 2 years ago #

    a little late but to fix that you can check here http://wordpress.org/support/topic/296779?replies=4

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.