Forum Replies Created
-
AuthorPosts
-
peterhoegMember
Yeah - Of course! I just went into the New User Approve and changed the text - Thank you very much
peterhoegMemberHello Brad. Thats exactly the code I tried (really nice homepage btw). The problem (my problem) is that the featured image DOES show before the title, but in my case, I don't want the feature image to show at all, because the featured image attached to the rat page is a Logo of a rat (check the front page), http://www.peterhoeg.dk, whereas this individual page image is a rat in a christmas tree (that image I want to highlight before the title/not the featured).
So to sum it up, I need to have a different image inside the page than my featured image (from the front page) and get that picture above the title.
Does it make sense:)?
Kind regards Peter
peterhoegMemberArh, removed the } at the bottom - now solved 🙂
peterhoegMemberI've tried looking at various codes, but unfortunately still with no luck 🙁
I need my custom menu to show when users are logged in (client_menu) and my standard menu to show to unregistered users (main_menu).
Im trying with this code, but it doesn't seem to work?
function my_wp_nav_menu_args( $args = '' ) {
if( is_user_logged_in() ) {
$args['menu'] = 'client_menu';
} else {
$args['menu'] = 'main_menu';
}
return $args;
}
add_filter( 'wp_nav_menu_args', 'my_wp_nav_menu_args' );}
Do you know Brad, what could be the missing point ? 🙁
Kind regards Peter
peterhoegMemberOkay - Actually I'm already experimenting with Members,Justin but a need a php code to individual content (whether you are logged in/out). Im following these steps, http://www.sridharkatakam.com/how-to-set-up-a-private-client-area-in-wordpress/
<?php
if ( current_user_can('client') ) :
wp_nav_menu( array( 'menu' => 'client_menu', 'menu_class' => 'builder-module-navigation') );else :
wp_nav_menu( array( 'menu' => 'main_menu', 'menu_class' => 'builder-module-navigation') );endif;
?>but is frustrated about step 7, the code above, because it isn't fitting my genesis child theme. Do you know the solution, since this step is suited for the iThemes Builder? I think I need a specific code to show the hidden menu items for logged in users.
I have created a custom navigation named client_menu for logged in users and a normal navigation menu called main_menu.peterhoegMemberThank you so much genwrock! Thats all I needed to know! It works perfect.
peterhoegMemberThanks a lot genwrock! It works perfect!.
Do you know then, how I can right align the whole transparant box to the right while still having it centered at the mobile views? When i right align it, it gets too much right aligned in the mobile views. I've also tried with different padding/margin options but think I have to replace something in the CSS just like this problem :O
Kind regards Peter
peterhoegMemberI've already experienced that 🙂 definitely becomes easier! I will tryout Chrome Inspector! Thank you again
peterhoegMemberWow- Thankyou SelenaD, it worked! How did you found?
peterhoegMemberyou have understood it correctly! 🙂 - Center the title, justify the text, but how to do it in style.css?
Im new to this and I don't know the procedure to do the following that you are proposing. I can't find the element to change with firebug and there are tons of various text align factors in style.css 🙁
peterhoegMemberThank you Braddalton - What a great advice, It works perfect.
I've just downloaded Firebug and it now solved many of my hazels finding the right code. Im very grateful - Have a good dayKind regards Peter
-
AuthorPosts