Link with custom title

  • Gokhan
    Gokhan
    Newbie
     
    18 points

    I can’t use [FIELDS show=”url”] shortcode, because it comes with “Visit Link Here” title.

    I use [url-title] code for external links. But I didn’t find a way to put it in [FIELDS] shortcode. I can only put it below the fields table. Is there any way to put it in fields table, like other custom fields?


    Gokhan
    Gokhan
    Newbie
     
    18 points

    Please view the screenshot.

    Attachments:
    You must be logged in to view attached files.

    Josh
    Josh
    Super Guru
     
    13,886 points

    Hello Gokhan,
    You will need to edit theme core files to change this (framework >class >class_shortcodes.php)
    Note:Edit theme core files is not recommended

    Attachments:
    You must be logged in to view attached files.
    This reply was awarded the best answer by the topic poster.

    Gokhan
    Gokhan
    Newbie
     
    18 points

    Thank you Josh. It worked. :)

    Can I add a custom field instead of “.$link.” for the title? I created a custom field for only link titles. Can I use it with this code?

    Best Regards

    Attachments:
    You must be logged in to view attached files.

    Josh
    Josh
    Super Guru
     
    13,886 points

    Hello Gokhan,
    You will need some further customization to achieve this.Please post here >>www.premiumpress.com/designwork/


    Gokhan
    Gokhan
    Newbie
     
    18 points

    I got it. Thank you Josh.


    Josh
    Josh
    Super Guru
     
    13,886 points

    You’re welcome Gokhan.Good day :)


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

You must be logged in to reply to this topic.