'View website' button

  • Radek
    Newbie 3 points
    June 7, 2014 at 4:28 pm


    I’m trying to find the feature which automatically placed ‘visit website’ button on each listing directly on the homepage. In the old version of directory it was located in display settings / search/listing page as ‘view website’ link. Here in the new version is the website link buried three clicks away in the ‘details’ column. Am I missing something or is was this feature scrapped on purpose? The current state makes it kinda awkward for my purposes (being mainly website directory).


  • zarko
    Senior Member 360 points
    June 7, 2014 at 10:52 pm

    hi Radek,

    If you are referring to item view, you can change this from Page Setup > Content Pages > Search Results Layout.

    You can format link nicely using code like:
    <a href="[URL]" class="btn btn-primary">Visit Website</a>

    This reply was awarded the best answer by the topic poster.
  • Harry
    Senior Member 135 points
    June 7, 2014 at 11:57 pm

    Hi Zarko,

    Added the code suggested – is this meant to add a button? If so its not working for me. Here is the code on my search results page.

    [IMAGE]<div class=”caption”><h1>[TITLE]</h1><div class=”details”><span class=”tagline”>[tagline]</span><br /><div class=”hidden_details”>[EXCERPT]</div></div></div>Visit Website

    Still shows as

    Visit Link Here

  • Harry
    Senior Member 135 points
    June 8, 2014 at 12:30 am


    Forget last post. Placed code in search result layout – actually want the VISIT WEBSITE button on listing page layout – details.

    On the Search Result page, when I placed the code (revised to MORE DETAILS) the button link appears, but returns a Page not found error when clicked. (Sorry forgot to take screen and quickly deleted coding as site is live).

    Any ideas how to fix so button appears and links to listing page still works?

  • Radek
    Newbie 3 points
    June 8, 2014 at 5:52 pm

    Hmm, will that work in the same manner as it works here: https://uselitecoin.com ? Here’s how it used to work in the older template settings (at the bottom left): https://i.imgur.com/Cnvu0f8.jpg

  • Donna
    Newbie 33 points
    July 5, 2014 at 9:30 am

    Did this ever get resolved? I have used the code above (the one awarded best answer) and it gives me the greatly missed button. However, it returns a page not found.

    I’d start a new topic but the code used is in this one and I’m hoping to get the attention of the person who posted the code. 🙂

    Thanks in advance


  • JD
    Newbie 47 points
    August 7, 2014 at 12:29 am

    I’m having the same issue. The code above does not work correctly. It ads a class and the link looks like this


    Can you please tell me how I can fix this?

  • Mick
    Newbie 57 points
    September 1, 2014 at 3:31 am

    Hi guys, all you have to do is change the [URL] to [url] and it should work.

    [code title=””]Visit Website[/code]


  • Mick
    Newbie 57 points
    September 1, 2014 at 3:37 am
  • Mick
    Newbie 57 points
    September 1, 2014 at 3:44 am

    Just change [URL to [url] and it will work.

    Sorry about the 2 previous posts, I tried to post the entire code but it did not work.

    Use the code that Zorko has shared and change the URL to lower case url and it will work.

  • Mr
    Titan 708 points
    September 1, 2014 at 4:46 am

    One of the reason is because the website custom field uses a different database keyword. Maybe it’s something like “website” or “site”. It should be replaced with “url”.

    PetMaterial.com | Premium Plugins and Custom Theme Design

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

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes