Remove parent from custom post type
I’ve been using Custom Permalinks plugin for a while and works ok.
I’ve been using Custom Permalinks plugin for a while and works ok.
What theme has translated is Leave a comment but what theme uses in template files is Leave a Comment. Spot the difference. 🙂 You are doing everything right, it’s the issue with translation file due to missed or outdated case sensitivity for that string.
Theme unit test data Foreign fonts come in garbled on my machine
Overwrite Parent Theme add_image_size in Child Theme
This is rarely as simple as it sounds as new themes usually require some adjustment of the content (different image sizes? different menus?) and maybe new plugins or setting changes. It is not impossible, but the work required to actually be able to do it is different from site to site. Of course if all … Read more
Your html structure should look like <ul class=”parent-class”> <li>Page 1</li> <li> <ul class=”child-class”> <li> Sub menu item 1</li> <li> Sub menu item 2</li> </ul> </li> </ul> WordPress should automatically add an “active” class to the active page then you should be able to style everything with css. Something like .parent-class li ul { Display:none; } … Read more
unzip a folder on specific location and delete the zip file
Now I’m developing themes for wordpress and I noticed how bad it is in front of anchor when we’re talking about themes development. I could bring you plenty of examples to prove what I’m saying. Let’s start with the “comment form” function: why the developer who’s creating a theme must be forced to use the … Read more
I found another way to do this: .headerNavMenu { width: 100%; display: table; text-align: center; margin: 0; } .headerNavMenu ul { display: table-row; } .headerNavMenu li { display: table-cell; margin: 0; }
So I wrote down the whole process of how I found the answer myself, hope it’s useful to someone (assumes basic unix and programming skills). Finding where the current color options are defined: grep -ir ‘Header and Sidebar Text Color’ . ./wp-content/themes/twentyfifteen/inc/customizer.php: // Add custom header and sidebar text color setting and control. ./wp-content/themes/twentyfifteen/inc/customizer.php: ‘label’ … Read more