Edit Button – Better Interface

This topic contains 5 replies, has 3 voices, and was last updated by  Kor 1 year, 7 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #541286

    gowrann
    Expired Member
    Post count: 39

    Hi,

    On the profile page of a logged in user, how can a better button/option for the user to edit the listing be presented – currently it is a 3 dot click in the bottom right which needs to be clicked twice – screen shot attached.

    Thanks

    #541311

    Kor
    Moderator
    Post count: 16516

    Hi gowrann,

    Thanks for your post. That button can be customized using custom CSS as explained here https://wpgeodirectory.com/docs/customizing-your-style/

    #541356

    gowrann
    Expired Member
    Post count: 39

    I think some javascript is controlling the button it’s more than just CSS – any pointers on how to tackle this.

    Would be happy for the edit and delete options just to display as inline-blocks but can’t get them to display outside of the ellipse.

    #541415

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    Instead of customizing the original code you could instead choose to make your own tab content.

    https://wpgeodirectory.com/docs-v2/design/gd-listings/#current_user

    That way you can use GD Author Actions in the GD Archive item.

    https://wpgeodirectory.com/docs-v2/templates/archive-item/

    You are asking about a UsersWP feature. In the future please post UsersWP topics to support here:

    https://userswp.io/support/

    UsersWP developers are considering making changes to the tabs feature in the future. To make your request for options for changing the markup you can post a topic there.

    #542040

    gowrann
    Expired Member
    Post count: 39

    Ok so yes have made a custom tab with shortcode

    [gd_listings post_type="gd_place" post_limit="5" add_location_filter="1" sort_by="az" title_tag="h3" layout="5" view_all_link="1" bottom_pagination="1" post_author="current_user"]

    Then changed the ‘GD Archive Item’ page shortcode..

    [gd_author_actions author_page_only='1']

    to

    [gd_author_actions author_page_only='0']

    And I can see the edit and delete when the owner of the listing is logged in.

    #542045

    Kor
    Moderator
    Post count: 16516

    hi gowrann

    Thanks for your reply. Ok, it doesn’t really look nice. Could you share the URL of the page in question along with your Website WP admin access here in private reply so that I could try to work out a custom CSS code for you?

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

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

Open Support Ticket