Skip to content

Add a Copy link quick action

MyListing’s built-in Share action can show Copy link in the share modal when that option is enabled. Use this workaround only when visitors need a separate Copy link item in the Quick Actions row.

  1. Go to Listing Types, edit the type, and open Single Page → Quick Actions.

  2. Select Add Custom Action.

  3. Leave Icon empty and paste the following markup into Label:

    <a class="c27-copy-link" href="[[:url]]" title="Copy link"><i class="fa fa-clone"></i><span>Copy link</span></a>
  4. Set Link to to #copy-listing-link, disable Open link in new tab, and update the type.

  5. Go to Theme Tools → Theme Options → Custom Code, select CSS, and add:

    .quick-listing-actions > ul > li > a[href="#copy-listing-link"] {
    display: none;
    }
  6. Save the theme options and test the action on a listing.

The :url special value is replaced with the current listing permalink. MyListing’s share script listens for the c27-copy-link class, prevents navigation, and copies that link to the clipboard.

NEXTBuild listing content and tabs →