Author Parameter in Shortcode

This topic contains 44 replies, has 2 voices, and was last updated by  Paolo 7 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #137985

    Matt Gray
    Expired Member
    Post count: 131

    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

    #137986

    Matt Gray
    Expired Member
    Post count: 131
    This reply has been marked as private.
    #138003

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    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,

    #138013

    Matt Gray
    Expired Member
    Post count: 131
    This reply has been marked as private.
    #139426

    Matt Gray
    Expired Member
    Post count: 131
    This reply has been marked as private.
    #139668

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    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

    #139671

    Matt Gray
    Expired Member
    Post count: 131
    This reply has been marked as private.
    #139674

    Paolo
    Site Admin
    Post count: 31206

    Access 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

    #139678

    Matt Gray
    Expired Member
    Post count: 131
    This reply has been marked as private.
    #139805

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    I’m getting invalid username.

    Let me know,

    Thanks

    #139807

    Matt Gray
    Expired Member
    Post count: 131
    This reply has been marked as private.
    #139808

    Paolo
    Site Admin
    Post count: 31206

    Please see image attached.

    #139811

    Matt Gray
    Expired Member
    Post count: 131
    This reply has been marked as private.
    #139814

    Paolo
    Site Admin
    Post count: 31206

    Sorry, the username had a space at the end. I’m in. I’ll let you know when done.

    Thanks

    #139850

    Paolo
    Site Admin
    Post count: 31206

    Ok 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

Viewing 15 posts - 1 through 15 (of 45 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket