Support » Fixing WordPress » Changing the link title for categories

  • I have a page which currently lists all categories (using the older list_cats command) but I’d like to change the URL title that is displayed on mouseover from “View all posts filed under {Category name}” to “View all records in the {Category name} category”.

    I don’t think it’s in a template – though I may well be wrong – so where else can I find and change that variable?

Viewing 2 replies - 1 through 2 (of 2 total)
  • wp-includes/classes.php, line #640.
    Remember, making changes to core WP files is bad karma 🙂 you will need to redo them after every upgrade.

    Thanks for the pointer. That’s fixed one instance. Now I need to do the same where the individual categories are displayed with links to
    <?php the_category(‘
    ‘) ?> listing the other categories the entries appear in (it’s using archive.php).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing the link title for categories’ is closed to new replies.