WordPress.org

Ready to get started?Download WordPress

Forums

Pinboard
Footer Wide Widget Only Displaying on Home (5 posts)

  1. Justin Sanchez
    Member
    Posted 11 months ago #

    My footer wide widget is only displaying on the home screen. I've tried a widget logic plug in, but I've had no luck thus far.

    http://thezoerestaurant.com/

  2. redwren
    Member
    Posted 10 months ago #

    I'm having the same issue as well. It must be somewhere in the code or functions.php ?

    Anyone know how to fix this? Thanks!!!

  3. paul.a.cunn
    Member
    Posted 10 months ago #

    What template are you using on your other pages? Maybe you are not using one that has a sidebar. Even though this is a footer area it will not show up on a page that has no sidebar enabled. Not sure otherwise.

  4. redwren
    Member
    Posted 10 months ago #

    Hi, thanks for the response.

    All of my pages are using: "Default Template" and I have sidebars on all the pages: Landing page (with blog), single post pages, About page, etc.

    I tried out the other templates and the ONLY one that seems to show the "footer wide" is the "Landing page"

    Check it out -- I looked at the footer.php and I see that there is code there that calls the "footer wide" for the "Landing Page" but does not seem to include any other types of pages ( such as the single posts pages, etc) to include footer wide in the php code.

    I'm a novice at php & code but I'm guessing that something more needs to be added to the php code so that the footer wide can be included on other templates or pages?

    Does anyone know what to add to "footer.php" where it calls "footer wide"? Below is what the code looks like:

    <?php if( is_front_page() || is_page_template( 'template-landing-page.php' ) || ( is_home() && ! is_paged() ) ) : ?>
    			<?php get_sidebar( 'footer-wide' ); ?>
    		<?php endif; ?>
    		<div id="footer">
    			<?php get_sidebar( 'footer' ); ?>
    			<div id="copyright">

    Thanks !!!

  5. mpaschoal
    Member
    Posted 6 months ago #

    just reorder the line with footer-wide in the code:

    <?php if( is_front_page() || is_page_template( 'template-landing-page.php' ) || ( is_home() && ! is_paged() ) ) : ?>
    		<?php endif; ?>
    	        <?php get_sidebar( 'footer-wide' ); ?>
    		<div id="footer">
    			<?php get_sidebar( 'footer' ); ?>
    			<div id="copyright">

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.