Limit posts when visited with mobile devices

Original answer: You could instead try using MobileESP by downloading https://raw.githubusercontent.com/ahand/mobileesp/master/PHP/mdetect.php to your theme directory and then: function change_limit_mobile( $query ) { if ( $query->is_main_query() ) { require get_stylesheet_directory() . ‘/mdetect.php’; $mdetect = new uagent_info; if ( $mdetect->DetectMobileLong() ) { set_query_var( ‘posts_per_page’, 10 ); } } } Update: the simplest thing is to use wp_is_mobile() … Read more

Menu Not Showing on Mobile

Your menu on mobile have font color white. check the attached image below. go to your theme setting and then menu or mobile menu setting. change the color to #000 or black.

Readable titles in mobile

It’s important not to use <h1> tags (and other headings) just to affect font size. You should use CSS to target whatever HTML element is already there. It’s also important not to edit a theme directly, because when you update that theme, all of your changes will be lost. To avoid that problem, see if … Read more