kevindng
Forum Replies Created
-
Forum: Themes and Templates
In reply to: How to get category link with idSorry All,
The function “get_category_link( $category_id )” will work.
I forgot to use “echo”.Thank all.
Forum: Themes and Templates
In reply to: How to get category link with idHi esmi, The id of category
Forum: Themes and Templates
In reply to: How to customize my sidebari don’t see your code.
Forum: Themes and Templates
In reply to: insert jquery to templateadd_action('wp_head','register_jquery',0); function register_jquery(){ wp_enqueue_script('jquery'); }
Forum: Themes and Templates
In reply to: Need help on the Brewpper themeoh try again with php code in your theme
add_image_size("size-225-150",225,150); the_post_thumbnail("size-225-150");
Forum: Themes and Templates
In reply to: How to Align Text on Navigation BarHi you!
My idea to change css code like this, and your site look better#topMenu{ position:relative; float:left; left:50%; } ul.sf-menu{ position:relative; float:right; right:50%; } #topMenu ul.sf-menu li{ position:relative; float:left; left:50%; } #topMenu ul.sf-menu li:last-child{ background:none; }
https://i1085.photobucket.com/albums/j425/longdhb/YiiVN/Untitled.png
Forum: Themes and Templates
In reply to: Transparent Site TitleOh hi!
Your background color is black, you must have a picture with transparent background.Forum: Themes and Templates
In reply to: Removing border around bannerHi guy!
I use firebug and see at layout tab then i find this line:
#masthead hgroup{
border:10px solid #…..
}Forum: Themes and Templates
In reply to: Need help on the Brewpper themeHi mikelarao!
The easy way for this case :div.entry_image a img{ width:225px; }
add css code above to your style.css file
Forum: Themes and Templates
In reply to: Delete Part of ThemeHi guy!
Login as admin and
1> remove “just another wordpress site” text :
–>Setting->general->delete taglign field.
2> Make site first before: search as google with key word “set static page for wordpress”
3> i don’t know you ask for what4>delete meta
–>appearance->widget->and remove meta label at side lefthope useful
Forum: Themes and Templates
In reply to: Sub Category errorCheck “show hierarchy” at category widget option.
Forum: Themes and Templates
In reply to: Site Main Page does not show posts correctlyi don’t know your problem. more details
Forum: Themes and Templates
In reply to: Custom Menu class namesHi lil_bugga!
I don’t khown your theme, but if your site has a menu, you can check and change config information in header.php like this:<?php wp_nav_menu(array( 'menu'=>'Primary Menu',// name of menu 'menu_class'=>'menu',// change ul class 'menu_id"=>'menu_id'//change ul id 'container'=>'<div>',// add div wrap 'container_class'=>'xxx' 'container_id' =>'yyy' // like above )); ?>
hopefully useful
Forum: Themes and Templates
In reply to: I've written my css style, how do I apply it?You can use the function “aa ” to register your css file to your site by the way:
add_action('wp_head',"register_styles",1); function register_styles(){ wp_enqueue_script("script id",url script); }
Forum: Themes and Templates
In reply to: menu bar not centre aligned[ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]
try with
.menubox > div { background: none repeat scroll 0 0 #FFFFFF; border: 1px solid #FFFFFF; margin: 0 auto; width: 750px; }
however You must set width size when menu changes.