Author Parameter in Shortcode
This topic contains 44 replies, has 2 voices, and was last updated by Paolo 9 years, 7 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
March 11, 2016 at 4:37 pm #137985
Hello,
You had asked me to respond here about thew new version. I have to be honest, I don’t know how github works. I am not a developer. Can you let me know how to do it? Or can you install the new version so I can work on it this weekend?
Also, I need to know how to add this custom column. Here is your original email:
HI,
the way I see it, this is possible and not even that difficult.
You could use 1 custom post type with locations enabled to list contractors and 1 locationless custom post type to list projects.
Then a small customization would be needed, to add a custom tab in each contractor’s profile, that lists all projects submitted by that contractor.
Adding a custom tab isn’t difficult. https://wpgeodirectory.com/add-a-new-tab-in-the-listing-detail-page/
In the new tab you would need to call the gd_listings shortcode with the author parameter set to display only listings of the custom post type project from the same author of the visited listing.
The author parameter in that shortcode is the only thing that isn’t available yet, but it is in our roadmap for next release.
You’ll probably won’t even need a developer to do all this.
Hope this is an acceptable solution.
Thank you,
The GeoDirectory Team
March 11, 2016 at 4:38 pm #137986This reply has been marked as private.March 11, 2016 at 5:22 pm #138003Hi,
we can definitely help you out with this, however not before monday. It’s friday night and the developers are off already.
Thanks for your patience,
March 11, 2016 at 6:37 pm #138013This reply has been marked as private.March 14, 2016 at 2:45 pm #139426This reply has been marked as private.March 14, 2016 at 7:32 pm #139668Hi,
I’m sorry, I’ve tried to update the GeoDirectory with the development version using this plugin: https://wordpress.org/plugins/easy-theme-and-plugin-upgrades/ but something went wrong.
I need FTP credentials to fix the problem and proceed.
Sorry again about any trouble.
Let us know,
Thanks
March 14, 2016 at 7:34 pm #139671This reply has been marked as private.March 14, 2016 at 7:41 pm #139674Access to the server via FTP. If you don’t know these details, please ask to your hosting provider. You should have all these info in your server control panel.
Let us know,
Thanks
March 14, 2016 at 8:03 pm #139678This reply has been marked as private.March 14, 2016 at 10:02 pm #139805Hi,
I’m getting invalid username.
Let me know,
Thanks
March 14, 2016 at 10:04 pm #139807This reply has been marked as private.March 14, 2016 at 10:05 pm #139808Please see image attached.
March 14, 2016 at 10:07 pm #139811This reply has been marked as private.March 14, 2016 at 10:10 pm #139814Sorry, the username had a space at the end. I’m in. I’ll let you know when done.
Thanks
March 14, 2016 at 10:26 pm #139850Ok the site is back up, 2 things:
1) you haven’t created the custom post type projects.
2) You are not using a child theme, which means that whatever custom code I add now to your functions.php, updating the theme would erase it. https://codex.wordpress.org/Child_Themes
Please move to a child theme so that we don’t have this problem. You can ask for support to the theme provider for this in case you don’t know how to proceed.
Also create the projects custom post type and add a couple of test project, that way we can test what we are going to add.
Let us know,
Thanks
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket