install / update plugins remotely

If you have admin access to your WP site you can login remotely via any web browser and use built in Updates function. To login to your site visit http://yoursite.url/wpadmin (replace yoursite.url with your web address. From your Dashboard you will see the Updates option which will check for updates of legitimate Plugins. If you … Read more

How to find where an image is used by it’s url

function searchstring_wpdb(){ global $wpdb; $mytables=$wpdb->get_results(“SHOW TABLES”); $ss=”cdn.cloudflare.com”; //string to search $used_is=””; foreach ($mytables as $mytable) { foreach ($mytable as $table) { $existing_columns = $wpdb->get_col(“DESC {$table}”, 0); foreach ($existing_columns as $existing_column) { $last_link =$wpdb->get_results($wpdb->prepare(“SELECT * FROM “.$table.” WHERE “.$existing_column.” LIKE %s”, ‘%’.$ss.’%’)); if ($last_link){ foreach ($last_link as $row) { if (strstr($table,’postmeta’)){ $used_is .= ‘, Used in … Read more

Genesis Child Theme – Customize body

You need to add the Loop to your template to display post content. Regular loop (the current page). <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <article> <h2><?php the_title(); ?></h2> </article> <?php endwhile; ?> <?php // Navigation ?> <?php else : ?> <?php // No Posts Found ?> <?php endif; ?> Custom … Read more