Jauhari
Forum Replies Created
-
Forum: Plugins
In reply to: Made a loginformWhy this doesn’t work on WordPress 2.1
Everytime click login the page go to wp-login.php but after that nothing happen, the page doesn’t back to where I coming form.
What should I do?
Forum: Fixing WordPress
In reply to: is_category OR in_category conditionI want no just one category that not show? how to do that? that I mean, I have 15 and 19 category, and I don’t want this category show up in front my page.
How to do that?
Forum: Fixing WordPress
In reply to: How to add XHTML and CSS Code to our PostI try add < on HTML mode on TINYMCE editor and I click save, and boom, on tinymce editor my code < was translate to < ??
whats wrong?
And sorry what is <b>backticks</b>?
Forum: Fixing WordPress
In reply to: Display Total Post Count only on Child, but Hide on ParentI have find how to do this. and this what I’m doing.
I find on wp-includes/template-functions-category.php
then find this function wp_list_cats and list_cats then I make copy to my own function on my themes directory.Then I make some change that function to the new one.
example wp_list_cats & xlist_catsThen I add this code on if statement in this line.
if ( intval($optioncount) == 1 )
$link .= ‘ (‘.intval($category->category_count).’)’;with this
if ( intval($optioncount) == 1 & $category->category_parent!=0 )
$link .= ‘ < span>(‘.intval($category->category_count).’)< /span>‘;Why I’m add some < span> code? It’s for better CSS styling ??
Thanks for my friends arief fajar nursyamsu
Forum: Fixing WordPress
In reply to: Display Total Post Count only on Child, but Hide on ParentCan anybody help me?
Forum: Plugins
In reply to: What must I do to display total visitor like wordpress.comI use and counterize use real counter, but I saw on wordpress.com use session. How to make Counterize session enable mode?
Thanks
Forum: Fixing WordPress
In reply to: How to show only child category of a parent category in posts?I use from function from another tread, but I can’t remember who is posting (sorry) the function like this
function cat_is_parent() {
global $wpdb;
$grypesagon_cat_title = single_cat_title('', false);
$parent = $wpdb->get_var("SELECTcategory_parent
FROM$wpdb->categories
WHEREcat_name
= ‘$grypesagon_cat_title'”);
if ( 0 == $parent ) {
return true;
} else {
return false;
}
}Then on my category themes I add this code
<?php
if ( cat_is_parent() ) {
// Replace this with the code
// you want when the category is a parent} else {
// when the category is a child
// untuk aksi jika
}
?>That’s all.
CMIIW.
Forum: Plugins
In reply to: What must I do to display total visitor like wordpress.comWhat Number Two for? I not use widget yet.
Forum: Fixing WordPress
In reply to: How to show only child category of a parent category in posts?Problem was solved ??
Thanks
Forum: Fixing WordPress
In reply to: How to show only child category of a parent category in posts?Wow this function really help full but I need guide how to do this?
I was success show post only on child, but I want show the child of the categories.
A
1
2
B
1
2
3Then if I click categories A > 1 their will show all post from A1.
If I click categories A
The page will show All child of A categories.How to add this code?
Forum: Fixing WordPress
In reply to: How to find the number of posts in a categoryI want display count only on child but on Main categories the count will gone. How to do that?
Forum: Fixing WordPress
In reply to: About Count Category Post ..Can Anybody give me more info?
Forum: Fixing WordPress
In reply to: How to Display Custom Field?Thanks you very much
Forum: Fixing WordPress
In reply to: How to Show Only Categories and…Like this…
I have many post on many many categories. After that I want only show all categories in the front page. So if I click the one of categories (example lyrics categories) the page will show the post on lyrics categories. Do you understand what I mean?
Thanks.
Forum: Fixing WordPress
In reply to: How to Show Only Categories and…I am sorry I still newbie, can give more explain
That I want in the FRONT PAGE is like this
– My Categories
— my sub
— my sub
– My Other Categories
— my other sub
— my other sub
Thanks