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.
What's with this footer menu in WP Goodstore?
Moderator: General Moderators
-
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?
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: What's with this footer menu in WP Goodstore?
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?
It's this chunk of rendered code here:
I haven't added a copyright menu. So no idea where it's come from.
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>Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
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?
I've done this:
.template-footer-menu
{
display: none;
}
But I shouldn't have to.... no idea why it's even there.
.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.
All the best from the United Kingdom.
Re: What's with this footer menu in WP Goodstore?
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?
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!
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.
All the best from the United Kingdom.
Re: What's with this footer menu in WP Goodstore?
It allows you to control the footer menu from the backend.