Making WordPress-built website mobile friendly

To make your WordPress site more mobile-friendly, your easiest choices are to install either a plugin or a theme that is mobile-friendly. I don’t have any specific recommendations for you (and asking for recommendations is off-topic on this site), but there are lots of options to choose from. Don’t run more than one “mobile” plugin … Read more

Font size on image captions on mobile

Please Use font-size: 2.5vw; it is responsive and set according to size. .wp-caption .wp-caption-text { **font-size: 16px** !important; color: #000000; text-align: center; background-color: #F2F2F2; padding-top: 1px; margin: 1px; }

Redirect to other page when mobile

You could use wp_is_mobile with wp_redirect if ( wp_is_mobile() AND is_front_page() ) { wp_redirect( $location, $status ); exit; } You can add the js directly to a front-page.php or home.php file or enqueue it directly from either file. Example: add_action(‘wp_enqueue_scripts’, ‘load_script’); function load_script(){ wp_enqueue_script( ‘script-handle’, get_stylesheet_directory_uri() . ‘/js/your-script.js’, array( ‘jquery’ ) ); }

Links not showing up on “AMPforWP”

i didn’t use this plugin but if i were you i use .htacces to redirect mobiles users to amp url Assuming your amp version is under /amp (http://example.com/amp), you can try redirecting your visitors in your .htaccess file like this: RewriteEngine On RewriteCond %{REQUEST_URI} !/amp$ [NC] RewriteCond %{HTTP_USER_AGENT} (android|blackberry|googlebot\-mobile|iemobile|iphone|ipod|\#opera\ mobile|palmos|webos) [NC] RewriteRule ^([a-zA-Z0-9-]+)([\/]*)$ https://example.com/$1/amp [L,R=302] … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)