As you can see of the webpage www.evolvedtools.org/Genr8PageIntro.php I fetch blogs from my wordpress.org blog and display them on this page using some simple php markup: In the page header:
<?php
require('./blog/wordpress/wp-blog-header.php');
?>
...And in the page body:
<div id="PHPBlog">
<?php
global $post;
$args = array( 'posts_per_page' => 8 );
$myposts = get_posts( $args );
foreach( $myposts as $post ) : setup_postdata($post); ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a><br >
<?php endforeach; ?>
<p>Feeds - Personal Blog - Master Thesis</p>
</div>
The problem is I only want the blog post to show when you are in full screen desktop. I have made media queries for different environments. I DONT WANT TO SHOW THE DATABASE CONTENT OTHER THAN UNDER THESE CONDITIONS:
<link href="TextPstyle.css" rel="stylesheet" type="text/css" media="only screen and (min-width: 41em)" id="stylesheet-TextP">
I know very little PHP so I've just started tinkling with these things. I would be very happy if anyone could advise me on this :-)