Title: Michael James's Replies | WordPress.org

---

# Michael James

  [  ](https://wordpress.org/support/users/michaeljames1/)

 *   [Profile](https://wordpress.org/support/users/michaeljames1/)
 *   [Topics Started](https://wordpress.org/support/users/michaeljames1/topics/)
 *   [Replies Created](https://wordpress.org/support/users/michaeljames1/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/michaeljames1/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/michaeljames1/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/michaeljames1/engagements/)
 *   [Favorites](https://wordpress.org/support/users/michaeljames1/favorites/)

 Search replies:

## Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BackWPup – WordPress Backup & Restore Plugin] After update BackWPup to version 4.0.0 my site is totally blocked](https://wordpress.org/support/topic/after-update-backwpup-to-version-4-0-0-my-site-is-totally-blocked/)
 *  [Michael James](https://wordpress.org/support/users/michaeljames1/)
 * (@michaeljames1)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/after-update-backwpup-to-version-4-0-0-my-site-is-totally-blocked/#post-16204918)
 * All my websites are also affected. Just removed the plugin with ftp access. Hope
   there is a fix being worked on. But the question remains whether the plugin has
   been sufficiently tested in version 4.0?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Redirection] Change RED_MAX_PER_PAGE and RED_DEFAULT_PER_PAGE in options](https://wordpress.org/support/topic/change-red_max_per_page-and-red_default_per_page-in-options/)
 *  Thread Starter [Michael James](https://wordpress.org/support/users/michaeljames1/)
 * (@michaeljames1)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/change-red_max_per_page-and-red_default_per_page-in-options/#post-16026784)
 * We have large pages, with 50.000 404-logs and more from many crawlers, and bulkediting
   is much easier with selecting more entries like only 200. And WordPress can handle
   it very well (I just changed the constants to check it at some pages). Our authors
   are also faster in scrolling then in clicking.
    It doesn’t have to be an option,
   but a filter for this would be great.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to Adjust Embedded Instagram/Facebook Block Width for Mobile Devices?](https://wordpress.org/support/topic/how-to-adjust-embedded-instagram-facebook-block-width-for-mobile-devices/)
 *  [Michael James](https://wordpress.org/support/users/michaeljames1/)
 * (@michaeljames1)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/how-to-adjust-embedded-instagram-facebook-block-width-for-mobile-devices/#post-11795795)
 * Hey, with some css you can fix this, put the following somewhere in your style.
   css:
 *     ```
       @media (max-width:500px) {
       .wp-block-embed {
           margin-left: 0;
           margin-right: 0;
       }
   
       .fb_iframe_widget_fluid span {
           max-width: 100%;
       }
       }
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to use custom form fronted with file upload image ajax](https://wordpress.org/support/topic/how-to-use-custom-form-fronted-with-file-upload-ajax/)
 *  [Michael James](https://wordpress.org/support/users/michaeljames1/)
 * (@michaeljames1)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/how-to-use-custom-form-fronted-with-file-upload-ajax/#post-11795781)
 * Hey,
 * try the following tutorial, works fine:
    [https://www.ibenic.com/wordpress-file-upload-with-ajax/](https://www.ibenic.com/wordpress-file-upload-with-ajax/)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Loading issue](https://wordpress.org/support/topic/loading-issue-21/)
 *  [Michael James](https://wordpress.org/support/users/michaeljames1/)
 * (@michaeljames1)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/loading-issue-21/#post-11795762)
 * Hey,
    try to login ([http://leelewisphotography.com/wp-login.php](http://leelewisphotography.com/wp-login.php))
   Then go to Settings -> General and check the Site Address (URL) and WordPress
   Address (URL) => Should be “[http://leelewisphotography.com&#8221](http://leelewisphotography.com&#8221);
   Then go to Settings -> Permalinks and click “Save changes” (This updates the 
   permalink settings).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Set number of revisions using a simple plugin](https://wordpress.org/support/topic/set-number-of-revisions-using-a-simple-plugin/)
 *  [Michael James](https://wordpress.org/support/users/michaeljames1/)
 * (@michaeljames1)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/set-number-of-revisions-using-a-simple-plugin/#post-11409854)
 * Exactly, it’s 5.
 * It’s the callback to be run when the filter is applied, the priority and the 
   number of arguments the function accepts.
 * More infos here: [https://developer.wordpress.org/reference/functions/add_filter/](https://developer.wordpress.org/reference/functions/add_filter/)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Looking for a plugin…](https://wordpress.org/support/topic/looking-for-a-plugin-137/)
 *  [Michael James](https://wordpress.org/support/users/michaeljames1/)
 * (@michaeljames1)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/looking-for-a-plugin-137/#post-11409839)
 * Hey,
    you could try the plugin Image Hotspot by DevVN: [https://de.wordpress.org/plugins/devvn-image-hotspot/](https://de.wordpress.org/plugins/devvn-image-hotspot/)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Set number of revisions using a simple plugin](https://wordpress.org/support/topic/set-number-of-revisions-using-a-simple-plugin/)
 *  [Michael James](https://wordpress.org/support/users/michaeljames1/)
 * (@michaeljames1)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/set-number-of-revisions-using-a-simple-plugin/#post-11398479)
 * Hey,
    you can use this plugin: [https://wordpress.org/plugins/wp-revisions-limit/](https://wordpress.org/plugins/wp-revisions-limit/)
 * Or write you own with this function:
 *     ```
       add_filter( 'wp_revisions_to_keep', 'control_revisions', 10, 2 );
   
       function control_revisions($num, $post) {
   
         $num = 5;
         return $num;
   
       }
       ```
   
 * [Source](https://www.sitepoint.com/wordpress-post-revision-control/)
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Do I need FTP Client? First steps](https://wordpress.org/support/topic/do-i-need-ftp-client-first-steps/)
 *  [Michael James](https://wordpress.org/support/users/michaeljames1/)
 * (@michaeljames1)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/do-i-need-ftp-client-first-steps/#post-11391357)
 * Hey,
    if you use a one-click solution you don’t need a FTP client, but eventually
   to fix bugs, it’s recomended to have one.
 * And you shouldn’t and can’t manage images in the media folders (on FTP). Because
   WordPress handles the uploaded media files, create entries in database and create
   the right sizes for your theme.
    If you upload images via FTP, you can’t use 
   them in your WordPress theme.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to optimize the speed for site that is using shortcode and 3rd party images](https://wordpress.org/support/topic/how-to-optimize-the-speed-for-site-that-is-using-shortcode-and-3rd-party-images/)
 *  [Michael James](https://wordpress.org/support/users/michaeljames1/)
 * (@michaeljames1)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/how-to-optimize-the-speed-for-site-that-is-using-shortcode-and-3rd-party-images/#post-11388354)
 * Hey,
 * if you want to optimize the images, you have to import them or use a third-party
   service like [https://kraken.io/plugins](https://kraken.io/plugins).
    But I don’t
   think the images are you biggest problem concerning the performance, because 
   they are lazy loaded. You could try:
    - Don’t use Revolution Slider (Self-coded is much faster)
    - Fix Errors (See in the console) -> jquery.themepunch.tools.min.js:103 GET 
      [https://clinicotst.miramar.com.ua/wp-content/](https://clinicotst.miramar.com.ua/wp-content/)
      net::ERR_NAME_NOT_RESOLVED (Don’t use RevSlider)
    - Reduce your DOM (HTML) and requests (JS, CSS) (Don’t use RevSlider)
 * However if you want to use RevSlider, you could try a plugin like [Autoptimize](https://de.wordpress.org/plugins/autoptimize/)
   to reduce the requests.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [display posts](https://wordpress.org/support/topic/display-posts-7/)
 *  [Michael James](https://wordpress.org/support/users/michaeljames1/)
 * (@michaeljames1)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/display-posts-7/#post-11382025)
 * Hey,
 * yes, you can do this easily with a WP Query, just create a page template and 
   paste the following code:
    Just replace ‘category_slug’ with the desired category
   slug.
 *     ```
       <?php
       		// Custom WP query
       		$args_query = array(
       			'post_type' => array('post'),
       			'posts_per_page' => -1,
       			'order' => 'ASC',
       			'orderby' => 'title',
       			'tax_query' => array(
       				array(
       					'taxonomy' => 'category_slug',
       					'field' => 'slug',
       				),
       			),
       		);
   
       		$query = new WP_Query( $args_query );
   
       		if ( $query->have_posts() ) {
       			echo '<table>';
       			while ( $query->have_posts() ) {
       				$query->the_post();
   
       				echo '<tr>';
       					echo '<td>';
       						echo '<a href="'.get_the_permalink().'">'.get_the_title().'</a>';
       					echo '</td>';
       				echo '</tr>';
   
       			}
       			echo '</table>';
       		} else {
       			echo 'No posts found.';
       		}
   
       		wp_reset_postdata();
   
       		?>
       ```
   
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Function To Run on New User Sign Up](https://wordpress.org/support/topic/function-to-run-on-new-user-sign-up/)
 *  [Michael James](https://wordpress.org/support/users/michaeljames1/)
 * (@michaeljames1)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/function-to-run-on-new-user-sign-up/#post-11381971)
 * Hey achanne,
 * just use this action hook, tested it, works well.
    “testmeta” is the meta key.“
   Value to save” is the value you want to save. 😉
 *     ```
       add_action( 'user_register', 'myplugin_registration_save', 10, 1 );
   
       function myplugin_registration_save( $user_id ) {
   
           update_user_meta($user_id, 'testmeta', 'Value to save');
   
       }
       ```
   
 * [Source](https://codex.wordpress.org/Plugin_API/Action_Reference/user_register)

Viewing 12 replies - 1 through 12 (of 12 total)