Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » Forum Usage » Forum How-To »

[SOLVED] How to create a link to (a website) button in the sidebar


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old May 10, 2012, 12:45 AM
Marcel
 
13 posts · May 2012
The Netherlands
Dear people,

On my website I created two menus (left and right).
In the right menu I installed the search option, social sharing toolkit and a button (under widgets I placed them under right sidebar).
With regard to the button, I first made a "page" from it in Pages and applied this as an image in a page. Thereafter placed it under the right sidebar under widgets.

My website is: http://www.noordzeeresidence-cadzandbad.nl/

My question: How can I create a link (to another website) to the button in the right sidebar?

I hope someone can help me with this.

Warm regards, Marcel
  #2  
Old May 10, 2012, 07:02 AM
lmilesw's Avatar
lmilesw
 
10,099 posts · Jul 2009
Central New York State USA
It seems like all you need to do is hyperlink the image or am I misunderstanding?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old May 10, 2012, 07:14 AM
Marcel
 
13 posts · May 2012
The Netherlands
Yep.
So when I go to "pages" and look for the specific page where I stored the button as an image.

Then I click on the image and I can modify the image.
In the screen that opens, it says: " Link URL". So I filled in the link where I would like to refer to. In this case for example: http://www.roompot.nl
Then I saved these settings. It does save this.

However, going to my webpage: a click on the button does not open a new screen from http://www.roompot.nl

So actually I do not see what I forgot to do.

Sorry for my english.
  #4  
Old May 10, 2012, 07:28 AM
lmilesw's Avatar
lmilesw
 
10,099 posts · Jul 2009
Central New York State USA
The code you have in the text widget does not have the hyperlink. If you are creating the code in a page you need to change to the HTML editor, copy the code and paste it into the text widget.

Alternatively you could use a plugin such as Smart WYSIWYG Blocks of Content to create the widget which would remove the necessity of copying and pasting the code.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #5  
Old May 10, 2012, 07:45 AM
Marcel
 
13 posts · May 2012
The Netherlands
Dear Emile,

I looked into the html and it says the following:

<p style="text-align: center;"><a href="http://www.roompot.nl"><img class="aligncenter" style="vertical-align: middle;" src="http://www.noordzeeresidence-cadzandbad.nl/wp-content/themes/atahualpa/images/NuReserveren.png" alt="" width="315" height="101" /></a></p>

I believe the "http://www.roompot.nl" is what is included. Is this not right?
  #6  
Old May 10, 2012, 08:02 AM
Marcel
 
13 posts · May 2012
The Netherlands
Under widgets
and then right sidebar
I found the following under text:

<img class="aligncenter" style="vertical-align: middle;" src="http://www.noordzeeresidence-cadzandbad.nl/wp-content/themes/atahualpa/images/NuReserveren.png" alt="" width="157,5" height="50,5" />

This is the button-image. Do you mean I have to add here something like:
<a href="http://www.roompot.nl">

??
  #7  
Old May 10, 2012, 09:22 AM
lmilesw's Avatar
lmilesw
 
10,099 posts · Jul 2009
Central New York State USA
Yes... Perhaps something like
HTML Code:
<a href="http://www.roompot.nl"><img class="aligncenter" style="vertical-align: middle;" src="http://www.noordzeeresidence-cadzandbad.nl/wp-content/themes/atahualpa/images/NuReserveren.png" alt="" width="157,5" height="50,5" /></a>
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #8  
Old May 10, 2012, 02:43 PM
Marcel
 
13 posts · May 2012
The Netherlands
YES !!

Thank you very much!

I included: target="_blank" as well so it can be opened in a new window.

Thanks again. This one can be closed.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Use this theme to create a website, not a blog ScalableSite New Versions, & Updating 3 Mar 5, 2012 01:38 AM
Adding a link button (image) to sidebar yasirsheikh Sidebars & Widgets 2 Jun 7, 2011 09:30 PM
"Create a Link Button" doesn't work anymore since update to Wordpress 3.1 manuhoz New Versions, & Updating 3 Mar 2, 2011 05:20 AM
Page Menu Bar items link to another website. Briggsm8 Page & Category Menu Bars 1 Sep 23, 2010 06:28 PM
TIP: How to create single page website (salesletter-type) with Atahualpa gesman Sidebars & Widgets 4 Aug 14, 2010 01:40 AM


All times are GMT -6. The time now is 09:29 PM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.