New Landing How can we help? Themeforest Theme Support Dante Link in button to http:// not working

Viewing 7 posts - 1 through 7 (of 7 total)
  • Posted in: Dante
  • #41470
    sboyall
    Member
    Post count: 3

    Hi Dante,

    I have tried inserting link (link=”#”) into this Shortcode according to Button Shortcode Documentation:

    [sf_button colour=”accent” type=”standard” size=”standard” link=”#” target=”_blank” icon=”ss-erase” dropshadow=”yes” extraclass=”extra-class”]Button text[/sf_button]

    The link self-directs to my website with www…../# at the end instead of opening link site. I have tried saving link to Links > add new links, without luck.

    How do I insert links to button. I must be missing something!

    Cheers

    #41818
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi there,

    You would need to add a full http:// link to the shortcode, like so:

    [sf_button colour="accent" type="standard" size="standard" link="http://www.google.com" target="_blank" icon="ss-erase" dropshadow="yes" extraclass="extra-class"]Button text[/sf_button]

    Hope that helps.

    – Ed

    #42061
    sboyall
    Member
    Post count: 3

    Hi Ed,

    Thank you, I had the wrong link from Surveymonkey. However, using the full http:// has not actually resolved the issue. While the http:// does work and is linked to new page/tab, the issue has been with embedding an iframe code generated by Surveymonkey – to enable a visitor to click on the button and the Survey appears within the site to the specification I choose within the code. The iframe code looks like below. For security reasons I have removed some code (…..).

    <div id=”surveyMonkeyInfo” style=”width:500px;font-size:10px;color:#666;”><div><iframe id=”sm_e_s” src=”https://www.surveymonkey.com/jsEmbed.aspx?sm=……&#8230;..” width=”500″ height=”350″ style=”border:0px;padding-bottom:4px;” frameborder=”0″ allowtransparency=”true” ></iframe></div>Create your free online surveys with SurveyMonkey , the world’s leading questionnaire tool.</div>

    How would I include this (or amended) set of code into the button to enable the survey to appear within the site – as the code above is supposed to do? Or is there a workaround to allow visitors to click on the button and a survey can appear within a screen on the same page, which is hosted by an external site i.e. Surveymonkey?

    If you need the complete code to help resolve this issue, I can send to a personal email.

    Cheers
    Sam

    #42086
    sboyall
    Member
    Post count: 3

    Hi Ed, So it appears that the code, even in text mode (editing) changes once I save draft and when I go to preview it presents a 404 message. I assume that the preview, if the iframe code is correct, the survey should appear. Surveymonkey does support WordPress.org.

    Cheers.

    #42539
    Tahir – SUPPORT
    Member
    Post count: 1212

    Hi,
    Can you please share your url in a private post so we can see if there are any JS or Css conflicts that seem to be causing the survey iframe to not open .

    You can set the post to private using the Check box(Set as private reply) on the right bottome of the text area .

    Thanks
    Tahir

    #42540
    sboyall
    Member
    Post count: 3
    This reply has been marked as private.
    #42892
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hi, you cannot place full html code in the link attribute of a shortcode, you can only place a link into the link value.

    Cheers

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register