Let me explain about "categories" on WordPress
-
Colmike7
- Banned

- Posts: 1670
- Joined: May 23rd, 2018, 12:21 pm
- Title: (>^-^)b
..Off the top of my head, I'm not sure if the place to just edit that is in functions.php, or if it's even a good idea because of updates. So adding a filter is a much better idea than my first thought. 
- HeidiHoe
- Verified Member

- Posts: 1653
- Joined: February 3rd, 2018, 12:20 pm
- Title: Resident Genius
Preferably in a child theme so theme updates won't wipe it out. It takes just a few minutes to do a child theme and it can eliminate future surprises.
The Fourth Turning Is Here
-
ezdoesitz
- Verified Member

- Posts: 483
- Joined: April 8th, 2018, 6:37 pm
My wp themes say twenty seventeen, how do I get child theme.
- HeidiHoe
- Verified Member

- Posts: 1653
- Joined: February 3rd, 2018, 12:20 pm
- Title: Resident Genius
It's easy, all you need to create is a style.css and a functions.php file, stick 'em in a folder and activate the theme. Any changes that you make to style and functions you'll make in the child theme. That way if your theme updates your changes won't be overwritten. WordPress will load your child theme in addition to your parent theme and anything located in the child will override the parent. Also if you want to override your header, footer, 404, or whatever you just place a corresponding file in the child (using the same the directory tree as in the parent) and that file will be used instead.
It's two files in a folder, a few lines of code, that's it. Here are the instructions on how to do a child theme:
https://codex.wordpress.org/Child_Themes
The Fourth Turning Is Here
- HeidiHoe
- Verified Member

- Posts: 1653
- Joined: February 3rd, 2018, 12:20 pm
- Title: Resident Genius
Create a folder called twentyseventeen-child and save style.css and functions.php to folder, upload and set as your theme.
Code for style.css
Code: Select all
/******************************************************************
Theme Name: twentyseventeen Child
Theme URI: https://yourdomain.com/
Description: Child theme for twentyseventeen theme.
Author: ezdoesitz
Author URI: https://yourdomain.com/
Template: twentyseventeen
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentyseventeen-child
******************************************************************/Code: Select all
<?php
function my_theme_enqueue_styles() {
$parent_style = 'twentyseventeen-style';
wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array( $parent_style ),
wp_get_theme()->get('Version')
);
}
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
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
- T.B.W
- Verified Member

- Posts: 1152
- Joined: March 26th, 2018, 1:34 pm
So you not only know how to design but also code, you are one smart lady heidihoe
- HeidiHoe
- Verified Member

- Posts: 1653
- Joined: February 3rd, 2018, 12:20 pm
- Title: Resident Genius
Actually I'm just a hack that enjoys what she does. I can be notoriously cheap, so I learn by necessity. lol. Everything I need to learn I find on the web for free. I just ask google and go from there. Reading tutorials, trial and error. It's my version of having fun! I rather hunt down how to do something then do what I should be doing to make more money. It's damn near a shortcoming.
The Fourth Turning Is Here
-
blingman
- Verified Member

- Posts: 1134
- Joined: May 13th, 2018, 11:19 am
On the old sponsorchat you said you were into swinging, is that still true.HeidiHoe wrote: ↑September 11th, 2018, 1:37 amActually I'm just a hack that enjoys what she does. I can be notoriously cheap, so I learn by necessity. lol. Everything I need to learn I find on the web for free. I just ask google and go from there. Reading tutorials, trial and error. It's my version of having fun! I rather hunt down how to do something then do what I should be doing to make more money. It's damn near a shortcoming.
- HeidiHoe
- Verified Member

- Posts: 1653
- Joined: February 3rd, 2018, 12:20 pm
- Title: Resident Genius
I haven't been actively swinging over the past year. It hasn't been a priority in my life. I like new partners, not reruns, and that takes effort. So yeah... I'm still game
The Fourth Turning Is Here
- viking
- Verified Member

- Posts: 1419
- Joined: March 18th, 2018, 8:28 pm
I hear you it's the same with me. Casual sex is fine when I started out but I prefer being with a woman for more than a one night stand.
Trouble is I can't find that woman.
- pussyhunter
- Verified Member

- Posts: 959
- Joined: July 13th, 2018, 3:40 am
How did this thread change from the initial subject to swinging rofl not that I am complaining
- TheButcher
- Administrator

- Posts: 17522
- Joined: February 2nd, 2018, 11:48 am
- Title: I like weekends
- Referrals: 1
- Contact:
pussyhunter wrote: ↑September 14th, 2018, 6:25 amHow did this thread change from the initial subject to swinging rofl not that I am complaining
Who cares it is more exciting to discuss swinging than WP categories amigo
- nudelinks
- Verified Member

- Posts: 1231
- Joined: February 26th, 2018, 8:12 pm
you got that one rightTheButcher wrote: ↑September 14th, 2018, 8:18 pmWho cares it is more exciting to discuss swinging than WP categories amigo![]()
-
pussylover
- Verified Member

- Posts: 988
- Joined: March 6th, 2018, 10:30 am
WP designers were smart not to show empty categories on the home page of the site
-
alsporn
- Verified Member

- Posts: 600
- Joined: May 12th, 2018, 4:35 pm
yep especially when you start out a new site and it's not all populated with postspussylover wrote: ↑September 16th, 2018, 8:26 amWP designers were smart not to show empty categories on the home page of the site