Quote:
Originally Posted by Rouzbeh1
Hey Andrew,
I need the variable for entry links that are in links_linkbit (Modern Template).
Right now I can only use $linkurljump which contains both title and url, but I only need the URL and not the title.
i tried $linkurllink, but it didn't help. it's an empty varible.
Is there a variable to differentiate between Entry titles and urls?
Thank you
|
The raw url is stored in $linkurl, but this is probably not what you are after. If you want the masked url that allows LDM to keep file locations secret and track hits, you need to create a plugin, as follows:
hook location: ldm_linkbit_create
code:
PHP Code:
$linkmaskurl = ldm_seo_url("jump", $linkcatid, $linkid);