Forums

poast div class listing ALL tags from post (2 posts)

  1. jami1955
    Member
    Posted 10 months ago #

    Woa. I've got a post with about 15 tags, and the div that is wrapping the post content on the single.php page where the post is displayed has a class that looks like this:
    <div class="post-1061 post type-post status-publish format-standard hentry category-music tag- ....

    And it proceeds to list ALL the tags associated with the post. I do not want the div tag class to contain anything other than maybe the post number. Even that is not needed. Certainly not the publish status nor any of the tags. How can I simplify this div tag class?
    thanks
    JSC

  2. jami1955
    Member
    Posted 10 months ago #

    Also: the php producing all of the above is:

    <div <?php post_class() ?> id="post-<?php the_ID(); ?>">

    thanks
    JSC

Reply

You must log in to post.

About this Topic