WordPress.org

Ready to get started?Download WordPress

Forums

body_class to show index, not blog (1 post)

  1. oldcastle
    Member
    Posted 3 years ago #

    Hi all,

    I customised my theme where the index.php works as a "page". But with <body <?php body_class(); ?>> it's create the class "blog", which I don't want to. I want to change the class name to "index" or "home. How can I do this?

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic