Solved

How Do I Add Hyperlink To Wordpress Button Shortcode

Posted on 2012-03-26
3
289 Views
Last Modified: 2012-03-30
How do I add a hyperlink to the shortcode below so that when it is clicked it goes to the specified url?

[button color="blue"]Learn More![/button]
[/box]
0
Comment
Question by:securitythreat
  • 2
3 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 37768937
You would need to alter the shortcode functionality in the code to add support for a URL parameter and the desired action.

Do you know if the shortcode is coming from a theme or a plugin?
0
 
LVL 1

Author Comment

by:securitythreat
ID: 37768988
I do not.. is there a way to tell or do I need to open a support case with the company a purchased the theme from.
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 300 total points
ID: 37769059
Easiest way to tell is to disable the theme (switch to twentyeleven) and see if the shortcode still works.  If so, it's coming from somewhere else.  If switching to a new theme disabled the shortcode, we can look in the theme's functions.php file for the code used.
0

Featured Post

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question