listings widget options

This topic contains 13 replies, has 4 voices, and was last updated by  lisec73 6 years, 2 months ago.

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

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #446459

    lisec73
    Full Member
    Post count: 180

    Hi,
    I am using the [gd_listings] shortcode in a page I am trying to set up as an admin/dashboard page.

    I want users to be able to have a link in the main navigation to all their listings and invoices and favorites.

    It is working as it is, however, I would like empty widgets to be hidden.

    A user who has a school will probably not also have a business listing etc.

    If I could get the widget to include draft author postings as well (like the dashboard) that would be good as well.

    Basically, I want the dashboard page but from the main navigation (and I don’t want BP and I can’t get the dynamic page as a custom page link so I am trying this as a workaround).

    Thanks,
    Lise

    #446467

    Kor
    Moderator
    Post count: 16516

    Hi Lise,

    Thanks for your post. Have you seen this plugin? https://userswp.io/ . This plugin allows you to create a nice profile for your users. Let us know if it’s what you’re looking for.

    Thanks!

    #446595

    lisec73
    Full Member
    Post count: 180

    Ok, Thanks. I was hoping to not install another plugin but you’re right.

    I have installed userswp now and I have created the page I needed.

    Cheers
    Lise

    #446783

    lisec73
    Full Member
    Post count: 180

    I just realised that userswp has taken away the author page.

    I would like to keep the author page for blog posts – and to not have all the references to CPT in the author page.

    Can I re-instate the author page without losing the new profile pages – which will work for users.

    I can also use a different code in the blog I suppose to link to author??

    Currently, the only blog author is me, but there will be others later on and the blog-post-author page is important.

    Thanks,
    Lise

    #446814

    Patrik
    Moderator
    Post count: 1971

    Hi,

    Author and Profile page are different for all users. UWP by default redirects to profile page while visiting author page. If you want to keep the author page as it is you can try following code in your currently active theme’s functions.php file:

    add_filter('uwp_check_redirect_author_page', '__return_false', 10);

    Regards,
    Patrik

    #446915

    lisec73
    Full Member
    Post count: 180

    sorry, that stopped all user pages from loading and did not reinstate the blog author page.

    #446926

    Patrik
    Moderator
    Post count: 1971

    Hi,

    Can you please provide us admin details of your site in private reply here? Also, it would be great if you can explain your issue in details like what you want on author page and how it should work?

    Regards,
    Patrik

    #447038

    lisec73
    Full Member
    Post count: 180
    This reply has been marked as private.
    #447061

    Patrik
    Moderator
    Post count: 1971

    Hi,

    The code I provided above will load the default author page instead of redirecting to the author profile. You want to display the author page with the author info and his posts right? Can you use the previous snippet and let me know so that I can look into your site? Also, provide me FTP details so that I can look more into this issue.

    Regards,
    Patrik

    #447084

    lisec73
    Full Member
    Post count: 180
    This reply has been marked as private.
    #447635

    Patrik
    Moderator
    Post count: 1971
    This reply has been marked as private.
    #447638

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    after some testing, it seems like a small change to the snippet was needed.

    
    
    
    add_filter('uwp_check_redirect_author_page', 'uwp_redirect_author_page_cb');
    function uwp_redirect_author_page_cb(){
        return false;
    }
    
    add_filter('uwp_use_author_page_content', 'uwp_redirect_author_page_cb');
    

    This has been updated for your site.

    #447641

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #447736

    lisec73
    Full Member
    Post count: 180

    Well, hello author page!

    Thanks, Alex

Viewing 14 posts - 1 through 14 (of 14 total)

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount