Community Forums › Forums › Archived Forums › General Discussion › Dynamic Footer Link
- This topic has 5 replies, 2 voices, and was last updated 11 years, 3 months ago by Bill Murray.
-
AuthorPosts
-
January 3, 2013 at 10:57 am #9192austi1mMember
I'm using the metric theme and would like to modify the footer titles so they dynamically link to a piece of content.
For example, we're currently using the featured posts widget in each footer position, and would like the H4 title to link to the same piece of content as the text beneath it. Anytime the footer featured post is updated, we obviously want the link of the H4 footer title to update as well to the new piece of content.
Hopefully I'm being clear enough in my explanation, but any assistance that can be provided would be great.
Thanks in advance!
January 3, 2013 at 6:28 pm #9320Bill MurrayMemberCan you post a link to your site and describe the widget where you don't see this happening?
The headline for the featured posts widget should update the way you describe, where it is the title for the post below it. If that's not happening, either your widget settings are wrong or we're not talking about the same things.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
January 4, 2013 at 8:33 am #9474austi1mMemberHi Bill, thank you for your reply. The site is mfg4me.org. If you take a look at the bottom four footer widgets (blog, resources, events/webinars, case studies), I'm looking to have those titles link to the same url as the content beneath it.
So for example, the word Blog would currently link to the business process overview qad page, just as the content does beneath it. But should we log in and switch the url in the widget area, we also want the link for the word Blog to update with it. Right now, those words (blog, resources, etc) are all just static and not even links.
All four footer columns use the "Genesis - Featured Posts" widget.
Hope that clears things up a bit. Thanks again for your assistance.
January 4, 2013 at 9:26 am #9487Bill MurrayMemberYes, it does. The best approach for you is to install and activate Nick's Genesis Featured Widget Amplified plugin. After doing that, your current featured post/page widgets should be replaced with the better-featured widget that comes with that plugin. Visit the widget areas, and adjust them. For the widget title, don't enter anything. For the featured image placement, choose "after title". Choose to display the post/page title. This will put the post/page title above the featured image, making it dynamic.
You have to go the plugin route because you can't put HTML in the title areas for those widgets, and even if you could, it wouldn't make it dynamic.
Once you've set up the widgets the way I've described, you can adjust your CSS for the post/page titles for those widget areas to make them more to your liking. That's because the post/page title links will become H2's as opposed to the H4's they are now. That markup change won't have any impact once you adjust your CSS.
Hope that helps.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
January 4, 2013 at 12:00 pm #9527austi1mMemberGoing that route, I seem to lose the widget title (Blog, Resources, etc). If you go back to the site, I've added it that way on the far left but the Blog title is now gone.
Any idea on what CSS customization actually has to be done to change that to be a smaller footer font? I'm familiar with CSS just not sure what I'm doing when it comes to customizing with Genesis.
January 4, 2013 at 1:03 pm #9546Bill MurrayMemberOn your resources widget, the CSS is:
#footer-widgeted h4 {
color: #FFFFFF;
font-family: Arial,Tahoma,Verdana;
font-size: 16px;
font-weight: normal;
margin: 0 0 5px;
padding: 0;
}
[/css2]so you could change the starting line to #footer-widgeted h2, #footer-widgeted h4
That would apply the same styling both. However, the H2 is a link, so you may want to add some link styling.
Keep in mind that your post/page title will always be the H2. You can't have 1 text as a clickable link in the widget and a different post title. That may lead you to have bland post/page titles. So you could spice those up with a H2 in the post/page itself, just below the opening title. The downside to this is that for SEO, the H1 will carry more importance. And you don't want to apply the same page title (a generic one) to different content. If you want different text as the widget title compared to the post title, it won't be clickable and it won't be dynamic.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.