• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

conditional footer widgets

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › conditional footer widgets

This topic is: resolved

Tagged: footer, Prose

  • This topic has 3 replies, 3 voices, and was last updated 12 years, 6 months ago by ride2719.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • April 30, 2013 at 6:17 am #38542
    ride2719
    Member

    We want to use footer widgets only on pages (maybe selected pages, but all pages may be ok).  I essentially want a solution like Genesis Simple Sidebars, but for the footer widget areas.  Have I missed something?  Can you assign a custom sidebar to the footer area?

    We're using Prose and are developing generic web pages to go along with the blog.  We don't want the footer widgets for pages to appear on posts.

    TIA, rick.

    http://www.generousmatters.com
    April 30, 2013 at 6:46 am #38549
    Brad Dalton
    Participant

    Try this code i wrote and tested.

    Copy this code from the view raw link and paste it at the end of your child themes functions.php file using a test editor like Notepad++.

    You can change the conditional tag to suit your needs.

    Code not displaying? Grab it from Github.


    Tutorials for StudioPress Themes.

    April 30, 2013 at 8:06 am #38553
    jhguynn
    Member

    Hey braddalton's reply is the most pure way to do this, to be sure.  FYI: the following plugins can also help: Widget Logic, and Dynamic Widgets.  Both are available here: http://wordpress.org/extend/plugins/.  The advantage of using a plugin is that you can change your priorities on the fly.  Widget Logic assumes you have familiarity with wordpress logic conditionals, Dynamic Widgets is more intuitive with a point and click dashboard.

    April 30, 2013 at 9:57 am #38576
    ride2719
    Member

    Thanks braddalton and jhguynn for your responses.  Both were very helpful.  I chose braddalton's suggestion for two reasons:

    I was able to paste it into the "custom code" function of the Prose theme.  One of my goals is to leave this client with no customized code where any the of source files need to be altered via FTP; i.e. that all customizations are made within the confines of the genesis/prose framework that can be accessed from the dashboard.  So far, I've been able to do that.

    It avoids adding another widget/plugin.  Minimizing addons seems to me to be a helpful goal.

    Thanks again... your help is much appreciated.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘conditional footer widgets’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble