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.
-
Go to Listing Types, edit the type, and open Single Page → Quick Actions.
-
Select Add Custom Action.
-
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> -
Set Link to to
#copy-listing-link, disable Open link in new tab, and update the type. -
Go to Theme Tools → Theme Options → Custom Code, select CSS, and add:
.quick-listing-actions > ul > li > a[href="#copy-listing-link"] {display: none;} -
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.
