When i made a custom menu linking to another page this menu doesn’t work (i’m using google for now to try the menu) When i use this menu the only thing i see is the 404 page.
Here a screenshot: http://i.imgur.com/haDNY66.png
Greetings!
2 Answers
To resolve this issue, you can open the framework.php file in the folder path ” /wp-content/themes/dw-page/inc/framework.php”
Replace the following code – line 306 -> 311
if( $page_id = $item_meta['_menu_item_object_id'][0] ){
$page = get_page($page_id);
?>
<li class=""><a title="<?php echo $item->title ?>" href="<?php echo get_page_link($page_id); ?>"><?php echo $item->title ?></a></li>
<?php
}
With new code:
// if( $page_id = $item_meta['_menu_item_object_id'][0] ){
// $page = get_page($page_id);
?>
<li class=""><a title="<?php echo $item->title ?>" href="<?php echo $item->url; ?>"><?php echo $item->title ?></a></li>
<?php
// }
Regards,
Thank you so much!!
Please login or Register to submit your answer