Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: [Resolved] BP-columns: cant get pages to display in footer Unless logged in as admin.

@mercime

Participant

Ok, I see the screenshot now. And yes, you have links to the Pages (text so small I can’t read them all) at the footer of your theme.

In actual site (home page) looking at page source, I see the empty div
`

`
wp_nav_menu is being called but not rendered. This is because the function is not supported in your theme.

Open up functions.php file of your theme https://themes.svn.wordpress.org/bp-columns/1.2/functions.php
and add the following line just above closing `?>`

`add_action( ‘init’, ‘register_goldbrick_menus’ );

function register_goldbrick_menus() {
register_nav_menus(
array(
‘footer-menu’ => __( ‘Footer Menu’ )
)
);
}`
Then save and upload.

Open up your footer.php and replace:

`<?php wp_nav_menu(
array(
‘theme_location’ => ”,
‘menu’ => ”,
‘container’ => ”,
‘container_class’ => ”,
‘container_id’ => ”,
‘menu_class’ => ”,
‘menu_id’ => ”
)
); ?>`

with

` ‘footer-menu’ ) ); ?>`

Then save and upload.

In dashboard Appearance > Menus. Choose Footer Menu and add the links.

Skip to toolbar