Solved

How Do I Add Hyperlink To Wordpress Button Shortcode

Posted on 2012-03-26
3
300 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CSS Style Effect 2 18
HTML auto refresh to another site 4 29
CSS for <center> 14 35
Table header must be on top 2 28
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

749 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