{"id":2364,"date":"2026-10-20T08:32:19","date_gmt":"2026-10-20T07:32:19","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/ultimate-member-with-geodirectory\/"},"modified":"2026-10-20T08:40:21","modified_gmt":"2026-10-20T07:40:21","slug":"ultimate-member-with-geodirectory","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/integrations\/ultimate-member-with-geodirectory\/","title":{"rendered":"Using Ultimate Member with GeoDirectory"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Ultimate Member users are normal WordPress users, so they can add and edit GeoDirectory listings with the same login and need no separate account. GeoDirectory has no built-in Ultimate Member integration, though, and the problem people hit is the &#8220;My listings&#8221; links.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why &#8220;My listings&#8221; goes to the wrong page<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The GD > Dashboard block links each user to their listings on their WordPress author page (for example <code>\/author\/username\/places\/<\/code>). Ultimate Member can redirect author pages to its own profile pages, and then those links end up on the profile or the home page instead of the listing list.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ways to let users manage their listings<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Show an Edit link on the listing itself. The GD > Author Actions block shows Edit to the listing&#8217;s owner. Add it to your details page template if it is not there already. The link opens the add listing form with that listing loaded.<\/li>\n\n\n\n<li>Check your Ultimate Member settings for author page redirects and turn that off if you can, so the dashboard links work again.<\/li>\n\n\n\n<li>Change where the links point with the <code>geodir_dashboard_link_my_listing<\/code> filter if you build your own listings page.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This snippet is a starting point for the filter. It sends the link to a page of your own, passing the post type:<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-php\">add_filter( &#039;geodir_dashboard_link_my_listing&#039;, &#039;my_gd_my_listings_link&#039;, 10, 3 );\nfunction my_gd_my_listings_link( $link, $post_type, $user_id ) {\n\treturn add_query_arg( &#039;stype&#039;, $post_type, home_url( &#039;\/my-listings\/&#039; ) );\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If you have not settled on a membership plugin yet, our own <a href=\"https:\/\/userswp.io\/\">UsersWP<\/a> plugin is built to work with GeoDirectory and shows each user&#8217;s listings on their profile.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">More on editing listings is in <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-features\/how-can-my-users-edit-or-delete-their-listings\/\">How can my users edit or delete their listings?<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ultimate Member users are normal WordPress users, so they can add and edit GeoDirectory listings with the same login and need no separate account. GeoDirectory has no built-in Ultimate Member integration, though, and the problem people hit is the &#8220;My listings&#8221; links. Why &#8220;My listings&#8221; goes to the wrong page The GD > Dashboard block [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[213,403],"class_list":["post-2364","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-extensions-features","gd_placecategory-integrations"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"author":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/comments?post=2364"}],"version-history":[{"count":1,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2364\/revisions"}],"predecessor-version":[{"id":2425,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2364\/revisions\/2425"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=2364"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=2364"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=2364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}