Let me explain about "categories" on WordPress

Discussion Of All Legal Topics Is Fine Anything Goes. Be Respectful of Others. No Personal Information or Attacks.
All Traffic, Link, Banner, Push Notification and Advertising, Offers & Requests Here,.
Domains & Websites For Sale and Requests Here.
Keep One thread per person & No More Than 1 Weekly Bump.
Post Reply
User avatar
TheButcher
Administrator
Administrator
Posts: 17522
Joined: February 2nd, 2018, 11:48 am
Title: I like weekends
Referrals: 1
Contact:

Let me explain about "categories" on WordPress

#1

Post by TheButcher » September 4th, 2018, 3:43 pm

I have been asked today to create a new category on https://www.sponsorchat.com/blog and I did. The same person told me "aint no damn indian category. nevermind i dont have time to mess around"

I am not looking to fallout with the individual or start some drama, my goal here is to explain how categories on wordpress work. Unless there is a post made in a category, that category does not show up in the side bar (or where ever else you list categories) capeesh.

So yes there is a category on the blog for "Indian" but without at least one post in that category, than that category will not be visible.

I thought everyone who uses WP knows this.

Peace

User avatar
LuKenGas
Verified Member
Verified Member
Posts: 2209
Joined: February 23rd, 2018, 8:07 am

#2

Post by LuKenGas » September 4th, 2018, 5:52 pm

That was obvious to me




User avatar
bill
Verified Member
Verified Member
Posts: 8259
Joined: February 3rd, 2018, 3:36 pm

#3

Post by bill » September 4th, 2018, 11:00 pm

Happy India Girls On The Blog:

https://www.sponsorchat.com/blog/ <------

bucksm
Verified Member
Verified Member
Posts: 778
Joined: February 19th, 2018, 7:23 pm

#4

Post by bucksm » September 5th, 2018, 5:00 pm

Bill gets it :mrgreen: :lol:




User avatar
bill
Verified Member
Verified Member
Posts: 8259
Joined: February 3rd, 2018, 3:36 pm

#5

Post by bill » September 5th, 2018, 8:32 pm

a few more Indian pics added to the blog

User avatar
bill
Verified Member
Verified Member
Posts: 8259
Joined: February 3rd, 2018, 3:36 pm

#6

Post by bill » September 6th, 2018, 9:35 pm

and a few more amateur indian pics added to the blog

Colmike7
Banned
Banned
Posts: 1670
Joined: May 23rd, 2018, 12:21 pm
Title: (>^-^)b

#7

Post by Colmike7 » September 6th, 2018, 11:22 pm

You could change "hide_empty" to FALSE if you really want to show them.. ;)




ezdoesitz
Verified Member
Verified Member
Posts: 483
Joined: April 8th, 2018, 6:37 pm

#8

Post by ezdoesitz » September 7th, 2018, 7:36 am

Colmike7 wrote: ↑
September 6th, 2018, 11:22 pm
You could change "hide_empty" to FALSE if you really want to show them.. ;)
Where is that in the admin panel?




ispdn
Verified Member
Verified Member
Posts: 1446
Joined: March 25th, 2018, 8:23 pm

#9

Post by ispdn » September 8th, 2018, 1:09 pm

ezdoesitz wrote: ↑
September 7th, 2018, 7:36 am
Colmike7 wrote: ↑
September 6th, 2018, 11:22 pm
You could change "hide_empty" to FALSE if you really want to show them.. ;)
Where is that in the admin panel?
No you need to modify the source code




User avatar
bill
Verified Member
Verified Member
Posts: 8259
Joined: February 3rd, 2018, 3:36 pm

#10

Post by bill » September 8th, 2018, 2:00 pm

that's why Colmike7 and ispdn are geniuses

ezdoesitz
Verified Member
Verified Member
Posts: 483
Joined: April 8th, 2018, 6:37 pm

#11

Post by ezdoesitz » September 8th, 2018, 2:08 pm

bill wrote: ↑
September 8th, 2018, 2:00 pm
that's why Colmike7 and ispdn are geniuses
Not a genius and wait till you get to my age. I'm 72 and doing this to kill my time and make some extra pocket money. So my next request is where do you do this change if not in the administration page.




User avatar
HeidiHoe
Verified Member
Verified Member
Posts: 1653
Joined: February 3rd, 2018, 12:20 pm
Title: Resident Genius

#12

Post by HeidiHoe » September 8th, 2018, 3:05 pm

ezdoesitz wrote: ↑
September 8th, 2018, 2:08 pm
bill wrote: ↑
September 8th, 2018, 2:00 pm
that's why Colmike7 and ispdn are geniuses
Not a genius and wait till you get to my age. I'm 72 and doing this to kill my time and make some extra pocket money. So my next request is where do you do this change if not in the administration page.
Open your theme's (or child theme's) functions.php file in an editor and add the following filter:

Code: Select all

add_filter( 'widget_categories_args', 'force_widget_cat_args' );
function force_widget_cat_args($cat_args) {
    $cat_args['hide_empty'] = 0;
    return $cat_args;
}
The Fourth Turning Is Here

User avatar
bill
Verified Member
Verified Member
Posts: 8259
Joined: February 3rd, 2018, 3:36 pm

#13

Post by bill » September 8th, 2018, 3:35 pm

that's why Heidi is a genius too!

User avatar
HeidiHoe
Verified Member
Verified Member
Posts: 1653
Joined: February 3rd, 2018, 12:20 pm
Title: Resident Genius

#14

Post by HeidiHoe » September 8th, 2018, 3:38 pm

bill wrote: ↑
September 8th, 2018, 3:35 pm
that's why Heidi is a genius too!
Yeah right! Me and my buddy Google. It's amazing... You type in "how do I.... bla bla bla" and it spits out the answer!
The Fourth Turning Is Here

Colmike7
Banned
Banned
Posts: 1670
Joined: May 23rd, 2018, 12:21 pm
Title: (>^-^)b

#15

Post by Colmike7 » September 8th, 2018, 4:39 pm

HeidiHoe wrote: ↑
September 8th, 2018, 3:05 pm
ezdoesitz wrote: ↑
September 8th, 2018, 2:08 pm
bill wrote: ↑
September 8th, 2018, 2:00 pm
that's why Colmike7 and ispdn are geniuses
Not a genius and wait till you get to my age. I'm 72 and doing this to kill my time and make some extra pocket money. So my next request is where do you do this change if not in the administration page.
Open your theme's (or child theme's) functions.php file in an editor and add the following filter:

Code: Select all

add_filter( 'widget_categories_args', 'force_widget_cat_args' );
function force_widget_cat_args($cat_args) {
    $cat_args['hide_empty'] = 0;
    return $cat_args;
}
Good call. I was going to mention it being in functions.php, but you know, some themes are different and I was being lazy, sorry for any confusion. :p




Let me explain about "categories" on WordPress

Post Reply