Title: Will's Replies | WordPress.org

---

# Will

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-Members Membership Plugin] Show Registration On Category Page](https://wordpress.org/support/topic/show-registration-on-category-page/)
 *  Thread Starter [Will](https://wordpress.org/support/users/silvercats/)
 * (@silvercats)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/show-registration-on-category-page/#post-9606091)
 * Resolved
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-Members Membership Plugin] Show Registration On Category Page](https://wordpress.org/support/topic/show-registration-on-category-page/)
 *  Thread Starter [Will](https://wordpress.org/support/users/silvercats/)
 * (@silvercats)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/show-registration-on-category-page/#post-9606086)
 * Thanks, that’s what I ended up doing for now, creating a page template for the
   category and restricting it with your plugin via blocked page by default. I am
   showing your registration form and the login widget in the sidebar.
 * Would be a nice feature to block by category page or tag.
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[DK PDF - WordPress PDF Generator] Change title in short code](https://wordpress.org/support/topic/change-title-in-short-code/)
 *  Thread Starter [Will](https://wordpress.org/support/users/silvercats/)
 * (@silvercats)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/change-title-in-short-code/#post-9478822)
 * I deleted the hello world post and it finally used the page’s proper title in
   the filename for the pdf. I was using a completely new page and the title was
   from the default “hello world” post created on install. Bug maybe? In any case,
   my problem seems to be fixed.
    -  This reply was modified 8 years, 8 months ago by [Will](https://wordpress.org/support/users/silvercats/).
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Remove "insert into button" in media uploader for custom post types](https://wordpress.org/support/topic/remove-insert-into-button-in-media-uploader-for-custom-post-types/)
 *  Thread Starter [Will](https://wordpress.org/support/users/silvercats/)
 * (@silvercats)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/remove-insert-into-button-in-media-uploader-for-custom-post-types/#post-4712614)
 * Sorry, one more correction
 *     ```
       function get_current_post_type_13247() {
       if (get_post_type())
       $post_type = get_post_type();
       else
       $post_type = '';
        return $post_type;
       }
       add_action('admin_head', 'remove_insert_button_13247');
       function remove_insert_button_13247() {
       	if('listing' == get_current_post_type_13247()) {
       		echo '<style type="text/css">.media-frame a.button-primary { display: none; }</style>';
       	}
       }
       ```
   
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Remove "insert into button" in media uploader for custom post types](https://wordpress.org/support/topic/remove-insert-into-button-in-media-uploader-for-custom-post-types/)
 *  Thread Starter [Will](https://wordpress.org/support/users/silvercats/)
 * (@silvercats)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/remove-insert-into-button-in-media-uploader-for-custom-post-types/#post-4712608)
 * I’ve seen this function tried several times with no success, this actually works
   as of WordPress 3.81.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Remove "insert into button" in media uploader for custom post types](https://wordpress.org/support/topic/remove-insert-into-button-in-media-uploader-for-custom-post-types/)
 *  Thread Starter [Will](https://wordpress.org/support/users/silvercats/)
 * (@silvercats)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/remove-insert-into-button-in-media-uploader-for-custom-post-types/#post-4712607)
 * > get_post_type should work in the admin without the need for a separate query:
 * That works perfect! Thanks nick, you saved me a lot of time.
 * Corrected function for removing insert into post button in media uploader via
   admin:
 *     ```
       function get_current_post_type_13247() {
       if (get_post_type())
       $post_type = get_post_type();
       else
       $post_type = '';
        return $post_type;
       }
       add_action('admin_head', 'remove_insert_button_13247');
       function remove_insert_button_13247() {
       	if('listing' === get_post_type()) {
       		echo '<style type="text/css">.media-frame a.button-primary { display: none; }</style>';
       	}
       }
       ```
   
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Remove "insert into button" in media uploader for custom post types](https://wordpress.org/support/topic/remove-insert-into-button-in-media-uploader-for-custom-post-types/)
 *  Thread Starter [Will](https://wordpress.org/support/users/silvercats/)
 * (@silvercats)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/remove-insert-into-button-in-media-uploader-for-custom-post-types/#post-4712580)
 * > Did you try just get_post_type? Did that not work?
 * Sorry, should have stated I’m working withing the wp-admin. I’ll try a query 
   today. Looking for a simpler way though.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Plugin ideas, ecommerce buy back or trade in program](https://wordpress.org/support/topic/plugin-ideas-ecommerce-buy-back-or-trade-in-program/)
 *  Thread Starter [Will](https://wordpress.org/support/users/silvercats/)
 * (@silvercats)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/plugin-ideas-ecommerce-buy-back-or-trade-in-program/#post-4350216)
 * No, Sorry Dormie. I had to write one from scratch.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[A. Gallery] [Plugin: A. Gallery] Does not work when paired with other jquery containing plugins with 1.73 or 1.8](https://wordpress.org/support/topic/plugin-a-gallery-does-not-work-when-paired-with-other-jquery-containing-plugins-with-173-or-182/)
 *  Thread Starter [Will](https://wordpress.org/support/users/silvercats/)
 * (@silvercats)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-a-gallery-does-not-work-when-paired-with-other-jquery-containing-plugins-with-173-or-182/#post-2861617)
 * Magic Members fix
 *     ```
       Can go in your theme's function.php file.
       // get rid of offending js when not in direct use, ie this conflict is from the MM plugin's js for jquery validation
       function _dereg_it() {
       	global $pagenow;
       if ($pagenow == 'edit' || $pagenow == 'post') {
       wp_deregister_script( 'mgm-jquery-validate' );
        }
       }
       add_action( 'admin_init', '_dereg_it' );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Front-End Users] [Plugin: Front-End Users] Can't change style](https://wordpress.org/support/topic/plugin-front-end-users-cant-change-style/)
 *  [Will](https://wordpress.org/support/users/silvercats/)
 * (@silvercats)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-front-end-users-cant-change-style/#post-2832167)
 * m.mordi,
 *     ```
       line 129 of front-end-users/lib/front_end_users.php
       Find this statement:
       $css_url = $this->plugin_url.'css/feu.css';
       change to:
       $css_url = plugins_url( 'css/feu.css' , dirname(__FILE__) );
   
       hope it helps.
       ```
   

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