Home Support General HivePress How to remove Add Listing button when there is no user

How to remove Add Listing button when there is no user

  • Author
    Posts
  • abman

    Hello, I wanted to remove the Add listing Button and replace it with a sign in button and when a user has successfully signed in I want to display the Add Listing button.

    Thank you.

    ihor developer

    This CSS snippet might do it:

    body:not(.logged-in) .hp-menu__item--listing-submit {display:none}

    abman

    Thank you ! worked like a charm. I am really grateful this amazing plugin is for free!, I will be a contributor of this kind of helpful plugins once I am familiar with the wordpress plugin ecosystem.

    Thank you again

    ihor developer

    Thanks! You can contribute by translating HivePress into your language if it’s not translated yet https://hivepress.io/support/topic/translators-wanted/

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

You must be logged in to reply to this topic.