- This topic has 64 replies, 2 voices, and was last updated 12 years, 2 months ago by
ashrafashraf.
-
AuthorPosts
-
August 14, 2013 at 12:47 am #13157
ashrafashraf
MemberThis theme is the best , thank you Sakin.
August 14, 2013 at 12:48 am #13158Sakin
Keymaster@ashrafashraf: That is the issue of your table not the theme.
August 14, 2013 at 12:51 am #13161ashrafashraf
MemberYes i know that,
But i don’t know how can i fix the issue.August 14, 2013 at 1:04 am #13163Sakin
Keymaster@ashrafashraf: That’s inside the table so I cannot break in or float it.
August 14, 2013 at 4:14 am #13168ashrafashraf
MemberHi sakin,
Please, I want when i click on the user name on the admin bar ,go to specific address,
Which file that can i add my code on it ?Best wishes
August 14, 2013 at 4:17 am #13169ashrafashraf
MemberWhere can i find this code ? please
August 14, 2013 at 12:20 pm #13178ashrafashraf
MemberHI Sakin,
Please, it is very important question:
I changed the core theme for admin bar.php and i put scripts on CSS custom.
What will happened if i update my theme on the future ?
I have Catch BOX PRO(The best).August 14, 2013 at 6:41 pm #13181Sakin
Keymaster@ashrafashraf: I don’t get it what you mean. Can you send me the screenshot of what you are asking for.
August 14, 2013 at 6:57 pm #13185ashrafashraf
MemberThank you so much for answering.
I mean , now i bought theme Catch Pro . IF i change t.ex : the following:
#branding #access-secondary ul.menu li {
border-right: 1px solid #1ccc;
}#wp-admin-bar-wp-logo{
display:none;
}#branding li a:hover{
background-color:#585858;}
What will happen when i update my theme ? and in this case , need i to create Child theme ?
August 14, 2013 at 7:06 pm #13186ashrafashraf
MemberAnd i changed the admin bar .php , see please:
function wp_admin_bar_my_account_item( $wp_admin_bar ) {
$user_id = get_current_user_id();
$current_user = wp_get_current_user();$userLogin=$current_user->user_login;
$userUrl=get_bloginfo(‘wpurl’).’/’.$userLogin;$profile_url = get_edit_profile_url( $user_id );
if ( ! $user_id )
return;$avatar = get_avatar( $user_id, 16 );
$howdy = sprintf( __(‘%1$s’), $current_user->display_name );
$class = empty( $avatar ) ? ” : ‘with-avatar’;$wp_admin_bar->add_menu( array(
‘id’ => ‘my-account’,
‘parent’ => ‘top-secondary’,
‘title’ => $howdy . $avatar,
‘href’ => ‘<?php echo $userUrl ?>’,
‘meta’ => array(
‘class’ => $class,
‘title’ => __(‘My Account’),
),
) );
}What will happen if i update my theme? please
August 14, 2013 at 7:09 pm #13187ashrafashraf
MemberI want to say : i don’t know how can i send screenshot.
Best wishes
August 14, 2013 at 10:30 pm #13203Sakin
Keymaster@ashrafashraf: If you have added the css in your child theme style.css or in “Appearance => Theme Options => Custom CSS” box, then your changes will not be effected when you update the theme.
When you change the admin bar php file. It will be reverted back when you update the WordPress core, as that file is from WordPress core.
You don’t have option to add screenshot in this forum. So, you have to upload the screenshot image in your site or in any photo sharing site and then the url of that image in the forum.
August 14, 2013 at 10:44 pm #13205ashrafashraf
MemberThank you for answering,
Thats means i must not change the adminbar.php.
And also all my css codes must i added on catch-box-pro-child in the style.css
and by this way if any updates happen , my blog will not be effected and my blog will keep all my changes that i did it.Best regards
August 14, 2013 at 10:52 pm #13206ashrafashraf
MemberI want to make :log in for each user on my blog. when the user login to hans account ,he can see hans page .and i can do that.
But, i want to make icon that when he click on it he can go back to hans page if he was on another page on hans page.DO you idea please ?
August 14, 2013 at 11:02 pm #13208Sakin
Keymaster@ashrafashraf: Yes it will not be effected.
Sorry I don’t have idea about that.
August 14, 2013 at 11:10 pm #13209ashrafashraf
MemberYou have on your blog on the one right corner login button :
in which file you created this button ? pleaselast question for today please: it is very important.
If i made box button on the header.php ,so when i will update my theme , my blog will not be effected. and also if i update my wordPress core , my blog will not be effected also.Thank you very much Sakin .
August 15, 2013 at 1:13 am #13211ashrafashraf
Memberplease i want to add icon on my menu nav. bar ? which php file can i add my code ? i want to add icon after the page on the nav. menu (Blanketer).
Please, if you know that , can do tell me ?
August 15, 2013 at 1:38 am #13212Sakin
Keymaster@ashrafashraf: If you want to change header.php then you have to copy the header.php in your child theme and edit it.
August 15, 2013 at 1:44 am #13213ashrafashraf
MemberThank you Sakin,
You mean first :
1- i take copy of my header.php and put it on the catch-box-pro-child2- after that, i will edit the header.php and put my code on it.
Thats all.
August 15, 2013 at 1:56 am #13216Sakin
Keymaster@ashrafashraf: Yes.
-
AuthorPosts
- The topic ‘Problem with pictures’ is closed to new replies.
