Different content on mobile device
-
I made a child theme to Twenty Thirteen to change whats presented on front page using is_home() in content.php. I works fine on desktop but not on mobile device. How do I control the content presented on mobile device?
My code:
<?php
if(is_home()){ ?>
<p>" rel="bookmark">
<?php
if(has_post_thumbnail()){
the_post_thumbnail();
?>
<?php }
the_title(); ?></p>
<?php } else{ ?>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Different content on mobile device’ is closed to new replies.