Change Header Image on Blog Post for Mobile View

You’re not calling the class correctly. The container has both the page-banner and the bg classes, so you should write it like this: .page-banner.bg And the class post-id-41012 doesn’t exist in your document. postid-41012 does. So try this way: @media (max-width: 767px) { .postid-41012 .page-banner.bg { background-image: url(‘https://staging3.ryanlawn.com/wp-content/uploads/2021/09/ggob-blog-banner-all-star-2021-m.jpg’) !important; } }

Search function does not work on mobile devices

In WordPress the name for a search field must be s. WordPress automatically performs a search on any request where s is present. For some reason your theme has a separate search field named m that is displayed on mobile. This won’t do anything unless custom code is added to handle this. But that’s not … Read more

Review site using WordPress

The most comprehensive review plugin is GD star rating. http://wordpress.org/extend/plugins/gd-star-rating/ A theme is very subjective, you can integrate this plugin with any theme, I would suggest browsing the theme repository for one you like, http://wordpress.org/extend/themes/ To be specific in terms of layout your looking for a “showcase” theme.

making a plugin that moves other plugins wp_head actions to wp_footer

Remove the action, then add it back on a different hook. I think the only concern you could have with doing this is ensuring you do that late enough for the action to have been hooked, it should possible using the plugins_loaded hook(because that runs after plugins have loaded). add_action( ‘plugins_loaded’, ‘juggle_sharethis_action’ ); function juggle_sharethis_action() … Read more

How can I redirect mobile users to diff url, but also allow them to come back to full site

function mobile_redirect() { if (isset($_COOKIE[“redirected”]) && $_COOKIE[“redirected”]) return; global $is_iphone; if( isset($is_iphone) && $is_iphone ) { wp_redirect( ‘/mobile/’ ); setcookie(“redirected”, true); exit; } } add_action(‘init’, ‘mobile_redirect’); This code redirects every mobile visitor to /mobile/ and then sets a cookie that the user is redirected. If the cookie is set, then the redirect doesn’t take place. … Read more

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