style.css not reflecting changes. I have no cache installed

When it happens to me it usually turns out that I’m editing the wrong file. Are you sure the active theme is the one you are editing? You should go to your admin and check. If you really deleted the right CSS file your theme should become inactive and listed as a broken theme

How to create different navigation for registered users in WooThemes Canvas?

add_action(‘init’,’wpsites_members_menu’); function wpsites_members_menu(){ if(is_user_logged_in()){ add_filter( ‘wp_nav_menu_args’ , ‘logged_in_nav_menu’ ); } } Display Different Nav Menu For Logged in and Logged Out Users Source: http://wpsites.net/web-design/members-nav-menu-logged-in-members/ function logged_in_nav_menu( $args ) { if ( $args[‘theme_location’] == ‘primary’ ) { $args[‘menu’] = ‘members’; } return $args; }

Restrict access to specific widget field based on user role

I ended up adding the class ‘ab-ads’ to all my widget areas. if ( !is_super_admin() ) { add_action(‘admin_print_styles-widgets.php’, function() { echo ‘<style type=”text/css”>div.sidebar-widgets-ab-ads { display:none; }</style>’; }); } That way I just hide them for everyone that isn’t administrators.

Page has a parent and $post->post_parent returns 0

Try echoing serialized($post); to make sure you’re looking at the right page(s). It should return the post_parent so the problem may be either in the call you’re making to get $post, or double-check that the set of pages did save with a parent page. Easiest way of doing that is call up “All Pages” and … Read more