Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Is there a way to make a widget title clickable?


  #1  
Old Mar 12, 2010, 12:11 PM
Rashell's Avatar
Rashell
 
67 posts · May 2009
Is there a way to make a widget title clickable?

ie. as in links to another page

Rashell
  #2  
Old Mar 12, 2010, 01:44 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I know some widgets have that functionality but I know of no way to link any old widget title. Curious to see if someone has an idea.
__________________
~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 Mar 12, 2010, 03:12 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
you would have to edit the plugin's code and put in the link.

I wonder if you could write a plugin that would look for a shortcode, like
[widget-link title='widget title' link='http://domain.com/page']
and apply it correctly.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Mar 13, 2010, 10:34 AM
Rashell's Avatar
Rashell
 
67 posts · May 2009
got it halfway there.

I swapped the functions.php register sidebar with

register_sidebar(array(
'name'=>'Right Sidebar',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<div class="widget-title"><a href="./link"><h3>',
'after_title' => '</h3></a></div>',
));

But I have to figure out how to make the links dynamic or specific for each widget. Right now they're all linking to

http://mydomain.com/link

Got any suggestions, anyone?

Rashell
  #5  
Old Mar 13, 2010, 01:37 PM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
Would the widget's ID help?
  #6  
Old Mar 14, 2010, 01:37 PM
Rashell's Avatar
Rashell
 
67 posts · May 2009
I think so. I'm still trying to grapple my mind around the whole dynamic_sidebar_params wordpress thing. I'm not sure if I'd need to list each widget currently in my right sidebar in the functions.php seperately. I'd just go into each widget and change the "title" to a clickable link but there's 1 with a multiple instance I can't do it with.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Code Showing up in the Title... How do I make it go away! rohaver Header configuration & styling 2 Jan 23, 2010 11:56 AM
How to make company logo clickable to website? FunBloggin Header configuration & styling 2 Dec 17, 2009 09:50 AM
Make header image clickable? nfdieter Header configuration & styling 2 Nov 5, 2009 08:09 AM
New plugin should make widget flexibility in Atahualpa EVEN better than it is now owenl Atahualpa 3 Wordpress theme 0 Aug 26, 2009 04:49 PM
only on one of my static Pages: how do make the page title NOT show up? petevannuys Atahualpa 3 Wordpress theme 11 Aug 24, 2009 10:56 AM


All times are GMT -6. The time now is 05:22 PM.


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