Home / Forums / ePix Support / Help with Menu

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts

  • Ostap Kirichenko
    Participant

    Please, I need help with setting up the menu. Feel myself as a complete idiot now 🙁
    My site is at esseverum.com.
    How do I adjust what is shown in the menu? How do I fix what seems to be incorrect links?

    Thanks


    Ostap Kirichenko
    Participant

    I had to comment the following lines in function.php
    Why aren’t they working as they are supposed?

    /* $get_MenuDesc = mysql_query(“SELECT p.ID, p.post_title, p.guid, p.post_parent, pm.meta_value FROM ” . $wpdb->posts . ” AS p LEFT JOIN (SELECT post_id, meta_value FROM ” . $wpdb->postmeta . ” AS ipm WHERE meta_key = ‘pgopts’) AS pm ON p.ID = pm.post_id WHERE p.post_type = ‘page’ AND p.post_status = ‘publish’ ORDER BY p.menu_order ASC”);

    while ($row = mysql_fetch_assoc($get_MenuDesc))
    {
    extract($row);
    $post_title = wptexturize($post_title);
    $data = maybe_unserialize(get_post_meta( $ID, ‘pgopts’, true ));

    $menudesc = ( !empty( $data[“menudesc”] ) ) ? $data[“menudesc”] : ”;

    if( $menudesc != “” && of_get_option(‘menu_subtitles’) != ‘disable’ )
    {
    $output = str_replace(‘>’ . $post_title .’‘ , ‘>’ . $post_title . ‘<span class=”menudesc”>’ . $data[“menudesc”] . ‘</span>’, $output);
    }

    } */

    Andy
    Andy
    Keymaster

    Hi Ostap,

    You set the menu via Appearance > Menus. Ensure that the menu you’ve created is selected in Appearance > Menus > Locations. And lastly, ensure that Appearance > Theme Options > General > Wp Custom Menu is enabled.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.