Solved

How Do I Add Hyperlink To Wordpress Button Shortcode

Posted on 2012-03-26
3
296 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The viewer will learn how to count occurrences of each item in an array.
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…

809 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