WordPress.org

Ready to get started?Download WordPress

Forums

Can I add an alt tag? (2 posts)

  1. The Night Fox
    Member
    Posted 3 years ago #

    I currently have <?php the_category(', ') ?> at the bottom of my posts. Obviously this displays the category name(s) and links to the relevant category, but is it possible to add and alt tag and remove the title tag?

  2. alchymyth
    Forum Moderator
    Posted 3 years ago #

    write your own code to replace the above, using get_the_category()

    http://codex.wordpress.org/Function_Reference/get_the_category

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.