Is there a short code for "my listings" or "my account"
This topic contains 16 replies, has 2 voices, and was last updated by Stiofan O’Connor 9 years, 1 month ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
August 19, 2017 at 2:33 pm #391932
Good morning.
I am wondering if there is short code for “gd my listings” or gd-my account.
Why? I have another plugin for registration and currently when a user goes to the m2 plugin “account” their subscriptions will be listed there for other services and user profile.
I wanted to, if they subscribe to GD directory or Post events, display also their gd items.
Any ideas on how this may be accomplished?
August 19, 2017 at 4:03 pm #391944Hi Steve,
What plugin are u using for registration?
We have our own that will display those things in your profile: https://userswp.io/you can use the “[gd_listings]” shortcode to output what you want, you can find the parameters here:
https://wpgeodirectory.com/docs/core-shortcodes/Thanks,
Stiofan
August 19, 2017 at 4:07 pm #391945The registration plugin is Member2 Pro. (wpmudev)
August 19, 2017 at 4:13 pm #391948ok, you would have to use the shortcode i mentioned.
Stiofan
August 19, 2017 at 4:41 pm #391952Thank you Stiofan. Is this configuration correct as it is not working for me as admin ?
[gd_listings post_type=”current_user”]For my particular site needs I would like to show in the m2 account page the GD
current user listing
current user event or eventsAugust 19, 2017 at 4:46 pm #391955Nope, i think you are mixing up post_author and post_type
You probably want
[gd_listings post_author="current_author"]or
[gd_listings post_author="current_user"]Thanks,
Stiofan
August 19, 2017 at 4:55 pm #391957This reply has been marked as private.August 19, 2017 at 5:55 pm #391961Your site is not loading right for me and i can’t login to test, i looks like something to do with a CDN.
And the only other member of the team online just now gets a message saying he is blocked by wordfence…Stiofan
August 19, 2017 at 6:02 pm #391966This reply has been marked as private.August 19, 2017 at 6:10 pm #391968There seems to be a problem with the UK CDN, lots of CSS and JS files are not loading for me, for example https://usfiredepartmenins-w3aynzbn9gnxrf4q1lh.netdna-ssl.com/wp-includes/js/jquery/jquery.js?ver=1484172073
If i check it from around the world it fails in the UK so its not just me https://www.host-tracker.com/InstantCheck/1/b52af8dd-0885-e711-a6a0-0003ff73517aI am just leaving for the weekend but i have tested this one on my local host and it works
[gd_listings post_author="current_user"]If you are using a different CPT you need to add that like
[gd_listings post_type="gd_place" post_author="current_user"]I’ll pick this up on Monday if its still not resolved.
Thanks,
Stiofan
August 19, 2017 at 6:18 pm #391971Once again my apology. The site is for a United States Insurance agent that only sells insurance in the United States. Thus US & Canada are the only Countries.
I will change locations setting now.
August 19, 2017 at 7:05 pm #391978contacting hosting company and maxcdn regarding issues also.
August 21, 2017 at 10:10 am #392117This reply has been marked as private.August 21, 2017 at 4:29 pm #392194Thank you. I will follow that example and test later this week. Did you add a test listing to see if it would display for you?
August 21, 2017 at 4:48 pm #392199Yes, i had to add a test listing for that user as it had no listings.
Stiofan
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket