What's with this footer menu in WP Goodstore?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

What's with this footer menu in WP Goodstore?

Post by simonmlewis »

I have this new store we are building, but the moment we add the Goodstore theme, we get this odd menu in the footer.

Even if I had widgets in the footer, this remains down there.

Could it be to do with outdated Goodstore Child theme or something like that?

I'm lost.
Attachments
Screenshot
Screenshot
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: What's with this footer menu in WP Goodstore?

Post by Celauran »

Without being able to inspect the code, it's really impossible to say. You'll have to work backwards from the markup, find out where that's being included, and go from there.
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: What's with this footer menu in WP Goodstore?

Post by simonmlewis »

It's this chunk of rendered code here:

Code: Select all

<footer id="footer" class="" role="contentinfo">

    <div class="row-fullwidth">
        <div class="fullwidth-block row footer-content">
            <div class="col-lg-3 footer-widget-area">
    <article id="text-2" class="widget widget_text">			<div class="textwidget"><p><img src='http://website.org.uk/wp-content/uploads/2016/02/79design-bw.png' /></p>
<p>Website company</p>
</div>
		</article></div>
<div class="col-lg-3 footer-widget-area">
      
</div>
<div class="col-lg-3 footer-widget-area">
     
</div>
<div class="col-lg-3 footer-widget-area">
     
</div>            
        </div>

                    <div id="copyright" class="fullwidth-block row footer-content">            
                <div class="col-lg-6">
                                    </div>
                <div class="col-lg-6 copyright-menu">
                    <div class="template-footer-menu"><ul><li class="page_item page-item-8"><a href="http://website.org.uk/cart/">Cart</a></li><li class="page_item page-item-9"><a href="http://website.org.uk/checkout/">Checkout</a></li><li class="page_item page-item-10"><a href="http://website.org.uk/my-account/">My Account</a></li><li class="page_item page-item-2"><a href="http://website.org.uk/sample-page/">Sample Page</a></li><li class="page_item page-item-7 current_page_item"><a href="http://website.org.uk/">Shop</a></li><li class="page_item page-item-17"><a href="http://website.org.uk/wishlist/">Wishlist</a></li></ul></div>
                </div>
            </div>
        
    </div>



</footer>
I haven't added a copyright menu. So no idea where it's come from.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: What's with this footer menu in WP Goodstore?

Post by simonmlewis »

I've done this:
.template-footer-menu
{
display: none;
}

But I shouldn't have to.... no idea why it's even there.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: What's with this footer menu in WP Goodstore?

Post by Celauran »

Try grepping the codebase for template-footer-menu. My first guess would be it's a menu specified in wp-admin. Check also if the theme has enabled any widgets. Either of those may have default values.
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: What's with this footer menu in WP Goodstore?

Post by simonmlewis »

Yes.
In the footer PHP file there was this code.

I just removed it.

No idea at what the point is for it, but there you go - gone!

Code: Select all

<div class="col-lg-6 copyright-menu">
                    <?php wp_nav_menu(array('theme_location' => 'footer_navigation', 'menu_class' => 'template-footer-menu')); ?>
                </div>
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: What's with this footer menu in WP Goodstore?

Post by Celauran »

It allows you to control the footer menu from the backend.
Post Reply