Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › Link in button to http:// not working
New Landing › How can we help? › Themeforest Theme Support › Dante › Link in button to http:// not working
- This topic has 6 replies, 4 voices, and was last updated 10 years by Melanie – SUPPORT.
-
Posted in: Dante
-
January 9, 2014 at 11:20 pm #41470
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
January 11, 2014 at 9:46 pm #41818Hi 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
January 13, 2014 at 1:21 pm #42061Hi 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=………..” 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
SamJanuary 13, 2014 at 1:52 pm #42086Hi 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.
January 15, 2014 at 6:03 am #42539Hi,
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
TahirJanuary 15, 2014 at 6:32 am #42540This reply has been marked as private.January 16, 2014 at 10:06 am #42892Hi, you cannot place full html code in the link attribute of a shortcode, you can only place a link into the link value.
Cheers
-
Posted in: Dante
You must be logged in and have valid license to reply to this topic.