Title: Mike's Replies | WordPress.org

---

# Mike

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 165 total)

1 [2](https://wordpress.org/support/users/manndtp/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/manndtp/replies/page/3/?output_format=md)…
[9](https://wordpress.org/support/users/manndtp/replies/page/9/?output_format=md)
[10](https://wordpress.org/support/users/manndtp/replies/page/10/?output_format=md)
[11](https://wordpress.org/support/users/manndtp/replies/page/11/?output_format=md)
[→](https://wordpress.org/support/users/manndtp/replies/page/2/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress Site redirecting to Adult Friend Finder](https://wordpress.org/support/topic/wordpress-site-redirecting-to-adult-friend-finder/)
 *  Thread Starter [Mike](https://wordpress.org/support/users/manndtp/)
 * (@manndtp)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/wordpress-site-redirecting-to-adult-friend-finder/#post-4884344)
 * Completely forgot to check back in and post the results. Turns out it was an 
   sshd hack, which should have been fixed a year prior but apparently was not. 
   Host patched and things have been working well ever since.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Redirectioner] Invalid ID for manual redirect](https://wordpress.org/support/topic/invalid-id-for-manual-redirect/)
 *  [Mike](https://wordpress.org/support/users/manndtp/)
 * (@manndtp)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/invalid-id-for-manual-redirect/#post-5310094)
 * So it’s not redirecting to the external link, but trying to redirect to an internal
   page/post?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Exploit Scanner] Absolutely Worthless](https://wordpress.org/support/topic/absolutely-worthless/)
 *  Thread Starter [Mike](https://wordpress.org/support/users/manndtp/)
 * (@manndtp)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/absolutely-worthless/#post-5314615)
 * Found a site which has updated hash files. Have not gone through to check if 
   they are correct.
 * [https://github.com/philipjohn/exploit-scanner-hashes](https://github.com/philipjohn/exploit-scanner-hashes)
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Show events with start dates after today (Custom Post Type)](https://wordpress.org/support/topic/show-events-with-start-dates-after-today-custom-post-type/)
 *  Thread Starter [Mike](https://wordpress.org/support/users/manndtp/)
 * (@manndtp)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/show-events-with-start-dates-after-today-custom-post-type/#post-5335514)
 * Wasn’t quite sure what to do with your response, but did a little bit more searching
   around and stumbled on this post from 2 years ago (used it as a guide):
 * [https://wordpress.org/support/topic/display-custom-post-type-by-custom-field-date-range?replies=9#post-2797408](https://wordpress.org/support/topic/display-custom-post-type-by-custom-field-date-range?replies=9#post-2797408)
 * Reviewed the codex listed below and came up with this code that works:
 *     ```
       $args = array(
       	'posts_per_page' => 15,
       	'post_type' => $type,
       	'post_status' => 'publish',
       	'meta_key'=>'event_start_date',
       	'orderby' => 'meta_value_num',
       	'order' => 'DESC',
       	'meta_query' => array(
       		array(
       			'value'         => date('Ymd',strtotime("today")),
       			'compare'       => '>=',
       			'type'          => 'DATE'
       		)
       	)
       );
       ```
   
 * Reference: [http://codex.wordpress.org/Class_Reference/WP_Query#Custom_Field_Parameters](http://codex.wordpress.org/Class_Reference/WP_Query#Custom_Field_Parameters)
 * Thanks for your help to steer me in the right direction.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Missing Argument 1 for WC_Order::__construct()](https://wordpress.org/support/topic/missing-argument-1-for-wc_order_construct/)
 *  Thread Starter [Mike](https://wordpress.org/support/users/manndtp/)
 * (@manndtp)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/missing-argument-1-for-wc_order_construct/#post-5284711)
 * Changing line 320 in the theme file from
    `$order = new WC_Order();`
 * to
    `$order = new WC_Order();`
 * fixed the error showing issue here. Much appreciated.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Wrong Price Sent to PayPal](https://wordpress.org/support/topic/wrong-price-sent-to-paypal/)
 *  Thread Starter [Mike](https://wordpress.org/support/users/manndtp/)
 * (@manndtp)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/wrong-price-sent-to-paypal/#post-5218594)
 * WooCommerce is the only WooCommerce related plugin on the site in question. In
   fact, WooCommerce is the only active plugin on the site I am having the issues
   with.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Wrong Price Sent to PayPal](https://wordpress.org/support/topic/wrong-price-sent-to-paypal/)
 *  Thread Starter [Mike](https://wordpress.org/support/users/manndtp/)
 * (@manndtp)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/wrong-price-sent-to-paypal/#post-5218569)
 * Yes, I just tested the site using the Twenty Thirteen theme and now get the price
   sent to PayPal as 199.99. The price sent to PayPal is variable for some reason.
   The default currency is set to USD for both WooCommerce and PayPal.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Wrong Price Sent to PayPal](https://wordpress.org/support/topic/wrong-price-sent-to-paypal/)
 *  Thread Starter [Mike](https://wordpress.org/support/users/manndtp/)
 * (@manndtp)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/wrong-price-sent-to-paypal/#post-5218518)
 * Taxes are not enabled and shipping is set to free. An example of the problem:
 * Product is 12.99 and total checkout price is 12.99, but when you get to the PayPal
   page the price is 189.99. In all my setups of WooCommerce this one is the most
   odd with this really strange price.
 * Any help is appreciatd.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Grid Gallery Ready!] Shows Nothing](https://wordpress.org/support/topic/shows-nothing-3/)
 *  Thread Starter [Mike](https://wordpress.org/support/users/manndtp/)
 * (@manndtp)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/shows-nothing-3/#post-5193511)
 * It should be added that the plugin has some coding issues. I’m seeing this error
   when I turn on WordPress debugging:
 * `Notice: register_uninstall_hook was called incorrectly. Only a static class 
   method or function can be used in an uninstall hook. Please see Debugging in 
   WordPress for more information. (This message was added in version 3.1.) in /
   wp-includes/functions.php on line 3245`
 * There is also this error appearing:
    `Notice: Undefined index: colorbox in /wp-
   content/plugins/grid-gallery-ready/vendor/Rsc/Config/Loader.php on line 30`
 * The other undefined indexs are “core, developer, galleries, installer, photos,
   promo, settings, stats and ui.”
 * All errors disappear on deactivation of the Grid Gallery Ready! plugin.
 * On activation, with debugging turned on I see this:
 * `The plugin generated 9982 characters of unexpected output during activation.
   If you notice “headers already sent” messages, problems with syndication feeds
   or other issues, try deactivating or removing this plugin.`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Grid Gallery Ready!] Shows Nothing](https://wordpress.org/support/topic/shows-nothing-3/)
 *  Thread Starter [Mike](https://wordpress.org/support/users/manndtp/)
 * (@manndtp)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/shows-nothing-3/#post-5193504)
 * I have figured out what I was doing wrong. Seems you create the gallery and add
   images. Then you need to place the uploaded photos into a gallery. I’m working
   my way through a tutorials for setting up this plugin. Awesome plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Custom Post Order] Any Custom Post Type?](https://wordpress.org/support/topic/any-custom-post-type/)
 *  [Mike](https://wordpress.org/support/users/manndtp/)
 * (@manndtp)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/any-custom-post-type/#post-5133820)
 * This should work with any custom post type, as long as the custom post type is
   set to public. Then you enable it (if not already enabled) through Settings >
   SCPOrder. I ran into the same thing when I first started to use this amazing 
   plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Google Analytics Dashboard] Upgraded, site dies with message "Please open this page in the Admin panel only"](https://wordpress.org/support/topic/upgraded-site-dies-with-message-please-open-this-page-in-the-admin-panel-only/)
 *  [Mike](https://wordpress.org/support/users/manndtp/)
 * (@manndtp)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/upgraded-site-dies-with-message-please-open-this-page-in-the-admin-panel-only/#post-5138111)
 * WordPress 2.0 came out in 2005. This plugin still uses functions from that far
   back. I would avoid a plugin using that old of code. I would consider that abandoned.
 * This is the notice you will get if you have debugging turned on:
    “Notice: has_cap
   was called with an argument that is deprecated since version 2.0! Usage of user
   levels by plugins and themes is deprecated. Use roles and capabilities instead.”
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Google Analytics Dashboard] Upgraded, site dies with message "Please open this page in the Admin panel only"](https://wordpress.org/support/topic/upgraded-site-dies-with-message-please-open-this-page-in-the-admin-panel-only/)
 *  [Mike](https://wordpress.org/support/users/manndtp/)
 * (@manndtp)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/upgraded-site-dies-with-message-please-open-this-page-in-the-admin-panel-only/#post-5138095)
 * This plugin uses deprecated (as in do not use any longer) functions that have
   been that way since WP 2.0. I see Yoost is listed as one of the team, so hopefully
   he either gets in there and fixes things or remove it from the repository. Abandoned
   plugins suck.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Anyone know of a plug in that will scroll the content of just one post?](https://wordpress.org/support/topic/anyone-know-of-a-plug-in-that-will-scroll-the-content-of-just-one-post/)
 *  [Mike](https://wordpress.org/support/users/manndtp/)
 * (@manndtp)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/anyone-know-of-a-plug-in-that-will-scroll-the-content-of-just-one-post/#post-5063960)
 * If it’s just a single post you want to show on a particular page, you might be
   able to get away with creating a simple custom template like this:
 *     ```
       <?php /*
       Template Name: Query Single Post
       */
       get_header(); ?>
       	<?php query_posts('p=40'); ?>
       	<?php while (have_posts()) : the_post(); ?>
       		<h4><?php the_title(); ?></h4>
       		<?php the_content(); ?>
       	<?php endwhile;?>
       <?php get_footer(); ?>
       ```
   
 * Change the 40 in p=40 above the id of the post you want to show. Then assign 
   this template to page you want to show just that one post on.
 * Hope that helps!
 * Source: [http://wordpress.org/support/topic/how-to-display-a-specific-post-in-a-page-template?replies=6#post-754205](http://wordpress.org/support/topic/how-to-display-a-specific-post-in-a-page-template?replies=6#post-754205)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [wp-admin redirect to "theme my login" page](https://wordpress.org/support/topic/wp-admin-redirect-to-theme-my-login-page/)
 *  [Mike](https://wordpress.org/support/users/manndtp/)
 * (@manndtp)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/wp-admin-redirect-to-theme-my-login-page/#post-5063930)
 * Theme My Login, as the name implies, themes your login. That means it will redirect
   wp-admin to your custom login page.

Viewing 15 replies - 1 through 15 (of 165 total)

1 [2](https://wordpress.org/support/users/manndtp/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/manndtp/replies/page/3/?output_format=md)…
[9](https://wordpress.org/support/users/manndtp/replies/page/9/?output_format=md)
[10](https://wordpress.org/support/users/manndtp/replies/page/10/?output_format=md)
[11](https://wordpress.org/support/users/manndtp/replies/page/11/?output_format=md)
[→](https://wordpress.org/support/users/manndtp/replies/page/2/?output_format=md)