Solved

How Do I Add Hyperlink To Wordpress Button Shortcode

Posted on 2012-03-26
3
280 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now