Need some help with code
-
Hi to all,
I’m needing some help with this piece of code:
<?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>
It tells to use a H1 tag (on the tittle) in front page and/ or home.
I need to edit this same code, adding that it must use a H2 tag if posts.Thanks in advanced for your time, and sorry for my poor english.
Sincerely,Mcbethar
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Need some help with code’ is closed to new replies.