Skip to main content
2 of 2
Retagged, corrected title
Krzysiek Dróżdż
  • 25.5k
  • 9
  • 53
  • 74

How to write this conditional statement?

What is the correct way to write a conditional statement?

                    <?php if is_tag( 'Premium' ){
                     <a href="<?php the_permalink(); ?>" class="info"> Subscribe</a>
                   
                    }else {
                    
                    <a href="<?php the_permalink(); ?>" class="info">Read More</a>
                    }
                    ?>                   

Help Needed.

luckyrajiv
  • 47
  • 1
  • 3
  • 13