Website Button shortcode

This topic contains 1 reply, has 2 voices, and was last updated by  Guust 4 years, 3 months ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #525122

    farmandrancher
    Expired Member
    Post count: 39

    I have 2 questions please.
    Hello,
    1) Is it possible to have the shortcode for the website button set to open in a new window.
    The code I have opens the button and takes the customer from my site to the listing site.
    I would wish to have them stay with my site and open in a new window. This is the code I use and a copy of my button.

    [gd_post_badge key=”website” condition=”is_not_empty” badge=”Our Website” link=”%%input%%” bg_color=”#B267C3″ txt_color=”#ffffff” size=”small” list_hide=”3″ list_hide_secondary=”2″]

    And The 2nd question: How do I make these buttons straight across like in tabs, but without using a tab for my directory?

    like the picture I have attached has compare under showcased, yet website is side by side?

    Thank You

    #525144

    Guust
    Moderator
    Post count: 29970

    1. Add

    new_window='1'

    to the shortcode.
    You can use the setting from the shortcode builder, see image.

    2. I guess there is to much text in the badges to display, but you should be able to change that also with CSS if it is not the number of characters in the badge. We would need to see the page in question in order to inspect the CSS.
    See also https://wpgeodirectory.com/docs/customizing-your-style/

    Thanks

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

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

Open Support Ticket