I think this should work if you are wrapping the condition around the arguments, and not the menu link itself:
if(!is_user_logged_in())
{
$args = array(
'exclude' => '100,110,145'
);
}
else
{
$args = array(
'exclude' => '100,145'
);
}
wp_list_pages( $args );
Related Posts:
- The style.css stylesheet doesn’t contain a valid theme header
- Remove transparancy in Sydney theme’s headerimage
- Passing dynamic options from backend to frontend
- Theme Options Menu Item – Permission Issue
- Customizing a WordPress theme without changing it?
- how to add version of style.css in wordpress
- How can I version the main CSS file?
- How do I add support to my theme for custom menus?
- Best practices for a Style/CSS based theme options page?
- Any official way to create an admin theme?
- How do I create my own admin button and theme settings page?
- How to set two different themes on one WordPress? (Desktop vs. Mobile)
- Moving WordPress.com theme and widget settings to self-hosted site?
- I’m trying to add an image in my CSS
- Multisite: setting theme and options when a new blog is created
- How to use scss in wordpress theme?
- How to automatically highlight syntax of code in a post?
- How to add the main style.css to my index.php?
- Copying theme from Localhost to Live does not copy all theme settings with it?
- Creating Multiple Menus when using the TwentyTen Theme?
- Getting rid of unused css directives [closed]
- Register theme customizer settings when theme activates [duplicate]
- Exclude stylesheet from admin
- hfeed CSS class in Twentyeleven Theme
- How to highlight the current page in the nav menu?
- WordPress Fatal error: Call to undefined get_header() in index.php on line 15 [closed]
- Change Theme from Plugin based on query_vars
- How to mark an option as selected
- Add transparency to wordpress color picker?
- Change logo on each page of University Hub theme [closed]
- How do I copy my Parent Templates to my Child Templates?
- What is the WordPress Pinecone sitting on top of? [closed]
- Theme information in style.css being corrupted
- How do you create a custom WPTouch theme?
- How to start learning CSS and theme development?
- Where is definied the theme location for the main menu in a WordPress template?
- How do I apply my CSS to a theme page?
- Working with an Array inside Your Theme Options Array – Multiple Values
- how to remove padding from left and right side? [closed]
- 404 Error while accessing the font files
- How to load parent theme style.css?
- Add a series of checkboxes to theme options
- Child Style.css not overriding parent theme style located in assets/css/main.css
- How does a Child Theme works?
- What’s the order of loading wordpress elements?
- Creating new templates in child themes breaks layout
- WordPress Admin Bar Covering & Overlapping Fixed Menu Header [closed]
- none of my css is working in my child theme
- X-Axis of Site is Messed Up Because it is in Hebrew
- loss of theme options while site deployment in production
- Theme settings default, strange behavior before first save
- Style the archives/category sidebar widget via theme
- New custom theme option (text input) giving index error
- Custom CSS doesn’t work in edit mode
- How can I add class to every quote element?
- Twenty fifteen theme – change responsive menu condition
- CSS Start Fresh option on; main.css still being loaded [closed]
- Port existing Bootstrap site to WordPress?
- How to style the post previews/links without it affecting the main posts?
- How to create different navigation for registered users in WooThemes Canvas?
- Full page (no WP admin menus and options) admin theme options
- Different logo on homepage
- Redirect to another page using contact form 7? [closed]
- How to deactivate the text, that appears, when you hovering over topbar tabs? [closed]
- Finding and disabling ‘rogue’ stylesheet from header: Source Sans Pro
- Cannot apply custom css to IE in the theme
- How to dynamically change theme’s slogan from admin?
- Need to edit themes HTML code
- Plugin and themes are adding the same stylesheets
- Child theme’s stylesheet cannot load [closed]
- Theming global variables – initializing in index.php but using in header.pho
- Is it good practice moving the main stylesheets after the plugin styles?
- What Generated Classes and IDs That Is Always Used On All Themes?
- Blank line before doctype
- Understanding the theme details in style.css
- Problems to disable the comments for my statics pages
- Re-skinning Site
- Getting a ‘slide down’ js panel implemented within WP
- Calling external Libraries in WordPress
- Need a theme that let the posted content stretched maximum width [closed]
- What’s the default order used by WordPress to load CSS files?
- The requested theme does not exist. Stylesheet is missing – error after changing style.css name to my-styles.css in wp child theme?
- Newbie wordpress question re banner height
- How to trace and resolve a theme problem such as flickering links in WordPress? [closed]
- On a Https site, Css and Js Url are back to http after redirect the site
- How to integrate JSS to WordPress
- Why submenu item’s background color is not changing by css?
- Cannot figure out what element header color is in wordpress theme [closed]
- How to access theme fonts using custom CSS style? [closed]
- Full screen nav menu block with avada theme
- Default Nav Highlight
- Changing an image in header.php
- How to add some php code in header.php using plugin
- Moving the search bar to be in menu bar
- Increase content area width in TwentyFourteen [closed]
- Using Grunt and keeping theme comments
- Background image appears on localhost site but not online
- How to use only scripts from new theme?
- header.php-tweak: How to do that getting Meta-Slider into the header-center?
- Theme modification for custom category menus