get_the_excerpt on mobile still displays continue reading
get_the_excerpt on mobile still displays continue reading
get_the_excerpt on mobile still displays continue reading
It turns out Minileven (the mobile theme that comes bundled with Jetpack) uses the main theme’s default post_thumbnail_size, which is set using set_post_thumbnail_size. Adding this line to my main theme’s functions.php inside a function called through the after_theme_setup action helped solve the problem: set_post_thumbnail_size( 600, 400, true );
There’s a pre-release Windows Phone SDK right now for Disqus, and you might want to sign up and try that out: http://help.disqus.com/customer/portal/articles/1222036 Generally speaking it’s not difficult to sync up discussion threads between a mobile app and a WordPress site.
If it’s hitting your server the DNS in cloudflare is doing it’s job. It sounds like you’re using cPanel. I suspect you just need to set up the subdomain in cPanel to point to the same directory as the main site (likely public_html).
Getting error when trying to redirect WP site to mobile site
Make a paginated article (for easier reading on mobile)
That is a plugin, not theme. It should be installed and managed as such through Plugins menu or putting it into appropriate plugins folder.
change theme when on mobile and also on Ipad portrait view
You’ve got a static height set on a block-level element: style.css:806 /** * 4.1 Site Header * —————————————————————————- */ .site-header { position: relative; background: url(http://barkleyphoto.com/_wedding/wp-content/uploads/2014/05/cropped-header-background.jpg) no-repeat scroll top); height: 100px; } remove the height: 100px; and it should work like you expect.
Try: add_filter(‘template’, ‘change_theme’); add_filter(‘option_template’, ‘change_theme’); add_filter(‘option_stylesheet’, ‘change_theme’); function change_theme($theme) { if ( wp_is_mobile() ) { $theme=”SelectThemeMobile”; } $page = get_page_by_title( ‘Title for 145’ ) if ( is_page($page->ID) and wp_is_mobile()) $theme=”SelectThemeOne”; // Replace name below with hook for missing stylesheet wp_enqueue_style( ‘registered name of missing mobile stylesheet’); } return $theme; } I believe you must iterate … Read more