Dynamic Footer Link

Community Forums Forums General Discussion Dynamic Footer Link

This topic is: not resolved

This topic contains 5 replies, has 2 voices, and was last updated by  Bill Murray 1 year, 7 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #9192

    austi1m
    Participant
    Post count: 2

    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!

    #9320

    Bill Murray
    Participant
    Post count: 575

    Can 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.

    #9474

    austi1m
    Participant
    Post count: 2

    Hi 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.

    #9487

    Bill Murray
    Participant
    Post count: 575

    Yes, 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.

    #9527

    austi1m
    Participant
    Post count: 2

    Going 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.

    #9546

    Bill Murray
    Participant
    Post count: 575

    On your resources widget, the CSS is:

    [css][/css]
    #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.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.