Zakir Sajib
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to change fonts on Visual Editor modeI see.
In that case, You need a separate style sheet.
Create a css file in your theme folder and name it “custom-editor-style.css”And open functions.php or create a file and name it functions.php (if does not exist)
and paste this following code:
function my_theme_add_editor_styles() { add_editor_style( 'custom-editor-style.css' ); } add_action( 'init', 'my_theme_add_editor_styles' );
Now whatever style you want write in that css file and it will be applied to your visual editor mode when writing and publishing a post.
Forum: Fixing WordPress
In reply to: How To Change "class" of widgets!!You using theme from https://ithemes.com ?
In that case that theme used somewhere else the above code, not in functions.php as you mentioned.
Try to look at other folders in your theme.
Forum: Fixing WordPress
In reply to: How To Change "class" of widgets!!can you please mention the theme u using?
Forum: Fixing WordPress
In reply to: How to change fonts on Visual Editor modenot sure how knowledgable you are about wp and server management…
i assume u want to use some thrid party fonts like google web fonts or premium fonts.
in this case you need to access via ftp and chnage/add code.
or go to appearance and then editor (if it shows) and go to header.php.
before wp_head() copy the google web font code there .
and then go to style.css
find body
find font-family:
and then change the font name to google font name.
Forum: Fixing WordPress
In reply to: video downloadif you put your full video path then users will be able to download the video.
full video path means complete url which may end with .avi or .mpg etc.
Forum: Fixing WordPress
In reply to: HTTP ERROR on image upload 3.6.1it seems you dont have permission on uploads folder or your image is not recognised format or your image size is bigger than permitted upload size.
try this solution as if possible:
see thisForum: Fixing WordPress
In reply to: video downloadupload video files in media, you may need to increase the upload size bit more if your video size is bigger.
then in your code write something
<a href="your full path of video">download video</a>
Forum: Fixing WordPress
In reply to: 3.6.1 causes internal errorif you are new you shouldnt upgrade the wp to latest. BUT
u also said u increased the memory.. how did u do that? modifying php.ini? if yes then u know something about server configuraton.
there are so many things could be happened here…
it seems u are using poor quality theme or plugins or in this case your server is not properly configured.speak to bluehost customer service asap.
Forum: Fixing WordPress
In reply to: I cant edit the font of my Navigationwhich font are you trying to use?
are you using default font like arial, serif or something from third party?
if you use google fonts or third party fonts did you write code so server can locate those fonts? did you upload those fonts if not google web fonts ?
it seems you didnt use system default fonts arial, serif.
my first idea would be to use
arial as your font family and then see whether it shows or not
–
also
do you know the name of naivigaton class?u must correctly use navigation class in your css.
i.e.
.main-menu li a {
font-family: arial
}Forum: Fixing WordPress
In reply to: How To Change "class" of widgets!!to explain bit further i can show following code which is used to display sidebar.
<?php $args = array( 'name' => __( 'Sidebar name', 'theme_text_domain' ), 'id' => 'unique-sidebar-id', 'description' => '', 'class' => '', 'before_widget' => '<li id="%1$s" class="widget %2$s">', 'after_widget' => '</li>', 'before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' ); ?>
now see class=”widget part in above code. now change the widget to something meaningful and use this classs to style in css.
hope it helps.
Forum: Fixing WordPress
In reply to: How To Change "class" of widgets!!to change the widget class you need to go functions.php of your activated theme and find the code which says sidebar, register related. or try to search with the name of widget class.
you may see <div class=”widget title”>…,
then change the class name whatever you want…
Forum: Fixing WordPress
In reply to: Remove Howdyfunction replace_howdy( $wp_admin_bar ) { $my_account=$wp_admin_bar->get_node('my-account'); $newtitle = str_replace( 'Howdy,', 'Welcome', $my_account->title ); $wp_admin_bar->add_node( array( 'id' => 'my-account', 'title' => $newtitle, ) ); } add_filter( 'admin_bar_menu', 'replace_howdy',25 );
Forum: Hacks
In reply to: How to hide certain categories in wordpress dashboard?resolved.
Forum: Hacks
In reply to: How to hide certain categories in wordpress dashboard?it works perfectly in wp 3.3.2
thnx everyone./* * Hide Specified Categories (by ID) from administrators */ add_action( 'admin_init', 'wpse_55202_do_terms_exclusion' ); function wpse_55202_do_terms_exclusion() { if( current_user_can('administrator') ) add_filter( 'list_terms_exclusions', 'wpse_55202_list_terms_exclusions', 10, 2 ); } function wpse_55202_list_terms_exclusions($exclusions,$args) { return $exclusions . " AND ( t.term_id <> 69 ) AND ( t.term_id <> 70 )"; }
my category id’s are: 69 and 70.
Forum: Hacks
In reply to: How to hide certain categories in wordpress dashboard?i tried to use
is_admin()
but it gives me error!