Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #162436

    Hi,

    the way things are going there is a new client and I think I want to use enfold for his website.

    But it´s a little bit difficult. This client have different businesses, that means he has sportclubs, restaurants and hotels.

    In this case it´s ok to handle all them with one website but I need different mainmenus on different subsites. How can I do this with enfold?

    I don´t mean the submenu.

    For example the startsite need the Menuitems: Logo 1, item 1, item 2, item 3, item 4 but on the subside I need: Logo 2, item to startpage, item 5, item 6, item 7, item 8.

    I know how to create the menus but what is the right way to insert them inside the pages. And how can I classify the 2 different Logos?

    I want to use the fixed NavBar.

    Best regards

    #162440

    I use this on another blog and it’s works well. Find it in WordPress Plugins Search
    CE WP-Menu per Page

    #162445

    Hi,

    it sounds that this is a good solution. Thanks a lot!

    Are you use this plugin with enfold and the fixed Navibar?

    Regards

    #162455

    And what´s the way to change the logo for another fixed NavBar? I don´t think that I can do this with css and I´am not really a master with jquery…

    #162459

    I don’t use it on my enfold site. I just bought enfold, like you, and don’t know it’s workings well enough (web code in general really). The plugin works great on my other theme and that one has a really funky menu bar so I would imagine it would work with this one easily since it’s so clean.

    I would definitely like to know how to set a custom menu logo for each page as well. I found this online and I would imagine it could be tweaked to use the logo header:
    http://jc-designs.net/blog/2011/06/displaying-menus-on-specific-pages-in-wordpress/

    • This reply was modified 11 years, 3 months ago by Alex.
    #162464

    Thanks a lot!

    What says the masters of support? :)

    Best regards

    #162511

    Hey!

    You can change the header on a page by using a development feature of mine:
    when editing the page create a new custom field with the name “header_setting”
    as value you can use one of the following strings, which represent the various header settings:

    fixed_header
    nonfixed_header
    fixed_header social_header
    nonfixed_header social_header
    nonfixed_header social_header bottom_nav_header
    
    #162526

    Oh, that´s nice to know.

    But it isn´t in this case what I need.

    I need different Navbar-Items and Logos on different subpages.

    For example

    Startsite (Home) need the Menuitems: Logo 1, home, products, events, menus, support

    Subside needs: Logo 2, home, program, courses, wellness, lifestyle.

    This is needed for the Navbar on Top

    My client have different locations. Most of them have the same names and you can use one logo,but for one you need a different logo.
    Most of them have the same features, but some are a little bit different.

    Is there a possibility to handle this with enfold. I also want to use the fixed Navbar because I love it :)

    #162531

    This is not possible out of the box. Sorry. In this case I would recommend to create a child theme with a customized header.php file that fetches different menus and logos based on the page id.

    Its not a difficult customization but it would probably take a few hours with testing, so I am afraid I cant really just post a code snippet here that makes all of that happen ;D

    #162537

    Ok, I think with the menu I´ll get it to work. I work every time with child themes…

    Is there a chance to become a evidence how to change the logo for only one subsite with jQuery or something like this…?

    #162541

    logo is called in your header.php file like this:

    echo avia_logo(AVIA_BASE_URL.'images/layout/logo.png', false, 'strong');
    

    this points to the logo in folder enfold/images/logo.png

    a simple if statement would eb enough:

    if(is_page(1))
    {
    echo avia_logo(AVIA_BASE_URL.'images/layout/logo1.png', false, 'strong');
    }
    else
    {
    echo avia_logo(AVIA_BASE_URL.'images/layout/logo2.png', false, 'strong');
    }
    

    You need to make sure that you didnt set a custom logo in your backend, or it will overwrite those locations

    #162551

    That’s fine! I thank you very much… :)

    Best regards
    Bruno

    #162557

    Glad I could help. WIll close this up then :)

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Enfold – Different Menus on different sites’ is closed to new replies.