WordPress.org

Support

Support » Themes and Templates » How could i have a blog in the menu bar? :)

How could i have a blog in the menu bar? :)

  • Hello,

    I would need help in creating a blog in the menu. I use the circles as different topics (not for blogging), but they figure as entries on the dashbord. The blog would be nice to have in the menu bar, like here: http://www.thepointsproducer.com/ (it can be found at trips and tricks).

    A simple solution would be needed as i am a really-really beginner. 😀

    Many thanks,
    B.

Viewing 10 replies - 1 through 10 (of 10 total)
  • WPyogi

    @wpyogi

    Forum Moderator

    WPyogi

    @wpyogi

    Forum Moderator

    Looks like that site you linked to has a separate installation of WP in a sub-directory – as that “blog” is twentytwelve theme.

    WPyogi

    @wpyogi

    Forum Moderator

    Looks like that site you linked to has a separate installation of WP in a sub-directory – as that “blog” is twentytwelve theme.

    Add custom menus to wordpress:

    1. ADD this code to functions.php
    ——————————–
    register_nav_menus(
    array(‘topic1’ => __( ‘Main Menu’, ‘TOPIC_1’ ),)
    );

    register_nav_menus(
    array(‘topic2’ => __( ‘Footer Menu’, ‘TOPIC_2’ ),)
    );

    2. wp admin -> appearance -> mens.
    create menu name and select theme location.

    3. Add this to where you want:
    —————————-

    <?php wp_nav_menu( array( ‘container_id’ => ‘none’, ‘container_class’ => ‘none’, ‘menu_class’ => ‘none’, ‘menu_id’ => ‘none’, ‘theme_location’ => ‘topic1’ ) ); ?>

    <?php wp_nav_menu( array( ‘container_id’ => ‘none’, ‘container_class’ => ‘none’, ‘menu_class’ => ‘none’, ‘menu_id’ => ‘none’, ‘theme_location’ => ‘topic2’ ) ); ?>

    WPyogi

    @wpyogi

    Forum Moderator

    @nehemc – please do NOT suggest that people modify the theme directly – that kind of changes should only be made in a child theme.

    So…what do I have to do? 🙂

    WPyogi

    @wpyogi

    Forum Moderator

    Why not use the “blog” that Spun theme has?

    Because i use the circles for different themes-topics, they are permanent. I do not intend to use them as blog. I would like to have the blog accessible from the menu.

    I’m sorry, but, I cannot find the “blog” that Spun theme has. I have had a look in the demo from Caroline, but to no avail. Could you kindly point me in the right direction. Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘How could i have a blog in the menu bar? :)’ is closed to new replies.