Support » Plugin: Menu Item Visibility Control » WordPress 4.3

Viewing 15 replies - 1 through 15 (of 32 total)
  • The readme file show ‘tested up to 4.1’

    Please, any response would be very kind…..

    Pietro

    (@patm2g)

    Me too.
    I’m using 4.3.1 and the plugin has no effect.

    P.

    Peter Luit

    (@peterluit)

    @patm2g: the plugins works fine until version 4.4. Bu I don’t see any minor updates from this developer to keep up with WordPress. But you can still use it.

    Peter

    Pietro

    (@patm2g)

    Dear Peter,

    I installed the plugin, and I put (as example) ‘! is_home()’ in visibility of the primary menu (Modern Business Theme). But the menu is always visible…

    Any tips?

    Pietro

    PS: the site is not online.

    Peter Luit

    (@peterluit)

    @patm2g: you mention that the primary menu ‘is always visible’. Do you mean the whole menu of just one menu-item? Using ‘! is_home()’ means that one single menu-item won’t be shown on the homepage, but on all other pages. So, this plugin is about menu-items, not about the whole menu at once.

    Pietro

    (@patm2g)

    Thanks Peter.
    Actually, the plugin is running! After you kindly answer, I try a different condition: if I use ‘! is_page(pagenumber)’ the plugin hide the item; if I use “! is_home” doesn’t work!
    Maybe this arppers because my home actually is not /home, but /wordpress/home.

    Thanks for help!

    Pietro

    I’m on 4.4.2 and I am not seeing the visibility field. Would really like to see this up and operating on my site!

    Jim

    @jim. Visibility is a field just below the navigation label.
    I can’t attach a image, but if you send me a mail address, I’ll give you a screenshot (unfortunately in Italian…).
    You can use the contact form on our site (www.match2grow.it) to send me the email add.

    I’m trying to get it to work with the GeoIP plugin.

    Unfortunately if I enter a country code like in_array('TH', $userInfo->country->isoCode) or $userInfo->country->isoCode == 'TH' it does nothing even though the variable is working elsewhere on my site.

    @ryan: you can only use teh conditionals, listed here: https://codex.wordpress.org/Conditional_Tags

    I do see the navigation label and title attribute field in Appearance > Menu > Menu Structure > any menu item, but the Visibility field is not present. I’ve deactivated and reactivated the MIVC plugin just in case.

    I am also using a plugin that relates geo coding (Visitor Maps and Who’s online, and Visitor Maps Geolocation Addon). I haven’t got as far as Ryan yet with regard to being able to enter code, but perhaps this is related?

    Jim

    Thanks Peter! I got it to work by registering a custom taxonomy…

    add_action( 'init', 'create_country_tax' );
    function create_country_tax() {
    	$userInfo = geoip_detect2_get_info_from_current_ip();
    	$country = $userInfo->country->isoCode;
    	register_taxonomy($country,'country');
    }

    and then calling taxonomy_exists('US') in the visibility field.

    Okay, I guess I’m not stuck because of geocoding. But I am still stuck. There is just no visibility option to match the screenshot on the plugin page.

    @bjuniper, Make sure it’s enabled under “Screen Options.”

Viewing 15 replies - 1 through 15 (of 32 total)
  • The topic ‘WordPress 4.3’ is closed to new replies.