Rule of thumb: is your code bundled (i.e. packaged) with whatever code indicated by @package
? If no, then you are using an incorrect value for @package
.
For the case of most Themes, this is easy:
- Core-bundled Themes use
@package: WordPress
and@subpackage Theme-Name
, because they are packaged and distributed with WordPress itself - All other Themes use
@package: Theme-Name
, because they are packaged and distributed separately from WordPress.
All Themes are an abstraction layer of WordPress itself, and rely on WordPress in order to be output. But that dependency doesn’t make them a @subpackage
of WordPress.
I would apply this rule to Child Themes as well. They are a stand-alone package, packaged and distributed separately from the Parent/Template Theme on which they rely.
Related Posts:
- How to override JavaScript files in child theme?
- How to cache bust a child theme style.css
- Is a text-domain necessary for a child theme
- Hiding Parent Theme
- get_stylesheet_directory() vs get_template_directory() for child theme
- how to call files in child theme?
- Optimal approach for replacing the 8 header images in a child theme?
- How to transfer changes to a child theme?
- Child theme showing a blank page
- Child theme preview missing
- How could child theme be different than parent theme if I haven’t made changes?
- Child Theme, Functions.php Issues
- Promoting child theme to stand alone
- Activating child theme returns “active theme is broken”
- Child theme error “Template is missing”
- Recommended way to load / enqueue parent and child stylesheet to enable cache busting
- Altered media sizes (in dash), not updating to existing images/posts
- How do I make wp_localize_script variables available for child theme?
- HTML head-tag get broken in my child theme
- iPhone Safari full size & PC versions different
- Where is wp-content/themes folder?
- Priority loading file css in child theme
- Enqueue Child CSS to Load After Bootstrap CDN
- Localization: Textdomain of Child teme
- How to add child theme after using parent theme for long
- How to remove a script that was queued up in the footer in a parent theme
- Prevent a base themes css file from loading
- Child them function.php ‘parent-style’: should I name this as parent theme name?
- Cannot dequeue script in child theme
- Remote install won’t find Parent theme when intalling Child Theme, but local install does
- configuration for child theme
- How do add a the style-mobile css from the main theme to the child theme?
- WOW.js animations work on one server, copied to new server, and stop working [closed]
- Child theme style.css isn’t overwriting parent style.css
- How to extend parent theme sections and settings to Options Tree
- Activate Child Theme .mo and .po files
- GET parent theme throws 500 error in console, site works fine
- Override file inside inc in child theme
- Child Themes of Non-WordPress Sanctioned Templates
- colorpicker WP 3.5 path to stylesheet when called from a child theme
- add function to thematic hooks [closed]
- Child themes, over riding in the parents theme
- All Titles and Menus changed to “CHILD THEME LOADED”
- ‘Recent Posts’ links open in new window, without copying the ‘WP_Widget_Recent_Posts’ class
- Best method to add style sheets into child theme?
- Override post-formats in child theme
- What is the correct workflow for modifying child themes?
- Child Theme Variables
- Storefront theme : Add Categoy to recent products section
- Is there any way to put the Google Tag manager Identification code into the child theme?
- Getting an error. Need to add favicon in my child theme functions.php. What’s wrong?
- Creating a child theme: How do I find the template name of the parent directory?
- Modifying a child theme
- In modifying a file in a subfolder in a child theme, do I need all the files in that sub folder in my child?
- design has been broken in WordPress child theme [closed]
- Child Theme over write rules
- Changing a Child theme’s name on MAMP localhost
- wp_enqueue wont work on some files?
- Set a link in child theme style.css to jump to #main [closed]
- Can’t create child themes. “Stylesheet is not readable.”
- CSS stopped working after line 150 [closed]
- WordPress + Child Theme = Am I missing something?
- How to make a child theme independent of parent?
- Sliding-Doors Child Theme
- WordPress Child Theme – twentyeleven
- Google Analytics on a staging site
- How to replace function in child theme?
- Show excerpt and not full post in Twenty Seventeen
- Reenable disabled Elementor widget via child theme
- Can only override parent theme styling with ‘!important’ in child style.css
- Fatal error: Cannot redeclare load_stylesheets() (previously declared in
- Change child theme after updating parent theme
- How to set a custom post type as home page and set post page to regular post?
- Including code from other themes in child themes
- Updating an imported child theme from the wp-admin UI
- “Cannot modify header information – headers already sent by” while using get_stylesheet_directory_uri()
- Copy files from main to child theme (after designing website)
- How to get custom translations from child theme to be loaded?
- Twenty Seventeen – Navigation bar, logo, header size
- Admin options from parent theme do not bind
- using a child theme, after enqueing my js file it is loading before jquery
- Can I still switch to a child theme?
- How can I load child theme stylesheet with cache busting string and remove same stylesheet loaded by parent theme?
- Need help installing Hoffman child theme
- Adding translation files to a child theme
- is it ok to dequeue default parent stylesheet from custom page templates in child theme?
- Changing header banner dimension in child theme
- child index.php does not overwrite parent index.php in twenty fourteen theme
- WordPress picks parent theme’s home page template instead of the child theme one
- What the mean about ‘child theme’?
- Child theme template value for style.css for parent in different folder
- Run two concurrent themes in one installation
- creating a new child theme
- How to activate the child theme in WordPress?
- About wordpress child themes
- Body classes in child theme
- melville and its child theme
- Child theme customizer preview doesn’t work/load
- theme.json should be in the child theme folder when using xxxx.json style located in the styles folder?
- Child theme css not loading when declared in parent functions