Title: mdsupport2019's Replies | WordPress.org

---

# mdsupport2019

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[IMPress Listings] Permalink Without /Listings/](https://wordpress.org/support/topic/permalink-without-listings/)
 *  [mdsupport2019](https://wordpress.org/support/users/mdsupport2019/)
 * (@mdsupport2019)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/permalink-without-listings/#post-11884932)
 * You can add the following code to your theme’s functions.php file, but you just
   have to keep in mind that conflicts can happen easily…
 * First, we will remove the slug from the permalink:
 *     ```
       function na_remove_slug( $post_link, $post, $leavename ) {
   
           if ( 'listings' != $post->post_type || 'publish' != $post->post_status ) {
               return $post_link;
           }
   
           $post_link = str_replace( '/' . $post->post_type . '/', '/', $post_link );
   
           return $post_link;
       }
       add_filter( 'post_type_link', 'na_remove_slug', 10, 3 );
       ```
   
 * Just removing the slug isn’t enough. Right now, you’ll get a 404 page because
   WordPress only expects posts and pages to behave this way. You’ll also need to
   add the following:
 *     ```
       function na_parse_request( $query ) {
   
           if ( ! $query->is_main_query() || 2 != count( $query->query ) || ! isset( $query->query['page'] ) ) {
               return;
           }
   
           if ( ! empty( $query->query['name'] ) ) {
               $query->set( 'post_type', array( 'post', 'listings', 'page' ) );
           }
       }
       add_action( 'pre_get_posts', 'na_parse_request' );
       ```
   
 * You will need to refresh your permalinks by going to Settings -> Permalinks and
   clicking the save button.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[IMPress for IDX Broker] Unified Registration and Login](https://wordpress.org/support/topic/unified-registration-and-login/)
 *  [mdsupport2019](https://wordpress.org/support/users/mdsupport2019/)
 * (@mdsupport2019)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/unified-registration-and-login/#post-11884909)
 * Hello,
 * For something like this you would be looking at a custom API integration that
   leverages the IDX Broker API when people signup on your website to create them
   as a lead within IDX Broker so they can log in using their email address.
 * To register a new user in WordPress when someone signs up in IDX Broker could
   also be done with a custom API endpoint within your WordPress website that could
   be triggered using Zapier or another sort of webhook.
 * All of these items would require some custom development to accomplish.
 * IDX Broker has a large number of Developer Partners that could be able to assist
   you with something like this: [https://idxbroker.com/developers/search](https://idxbroker.com/developers/search)
 * I hope that helps provide you some insight there.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[IMPress for IDX Broker] No Results being displayed](https://wordpress.org/support/topic/no-results-being-displayed/)
 *  [mdsupport2019](https://wordpress.org/support/users/mdsupport2019/)
 * (@mdsupport2019)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/no-results-being-displayed/#post-11884888)
 * Hello Mark,
 * I would suggest instead to create a saved search within the IDX Broker dashboard
   and then create a showcase widget using the built in shortcode system within 
   the plugin.
 * The URL’s you are referring to are widgets that are created within the IDX Broker
   dashboard and don’t have anything to do with the WordPress plugin. To edit those
   widgets and correct the search results you need to edit the search criteria from
   within the IDX Broker dashboard.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[IMPress for IDX Broker] Property Type not coming through to WordPress](https://wordpress.org/support/topic/property-type-not-coming-through-to-wordpress/)
 *  [mdsupport2019](https://wordpress.org/support/users/mdsupport2019/)
 * (@mdsupport2019)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/property-type-not-coming-through-to-wordpress/#post-11884884)
 * Hello Ann,
 * Looks like the issue with the property type display has been resolved for you.
   This is part of the IMPress Listings plugin. Let me know if you still need help
   with this 🙂

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