This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Add below code in themes functions.php OR you can add this in your plugin too. | |
* | |
* Here, | |
* | |
* - We generate the `.json` file. | |
* - We can change the file type as per requirement. | |
*/ | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Get wordpress.org Theme Details | |
* | |
* @see https://codex.wordpress.org/WordPress.org_API#Themes | |
*/ | |
/** | |
* Show Theme Details | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hello [THEME_AUTHOR], | |
Thanks for uploading the theme. | |
When your theme reaches to the top of the [https://themes.trac.wordpress.org/report/2 Review Queue], the reviewer will be assigned and review process will follow procedures found in the [https://make.wordpress.org/themes/handbook/review/required/ Theme Review Handbook]. | |
The ticket will be closed as `not-approved` if the theme has more than `5 distinct issues`. So, Please check your theme against Theme Review Guidelines to avoid closing of the ticket. | |
'''Note: This is not a theme review.''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi [THEME_AUTHOR], | |
You need to update the current theme version from `style.css` and [https://wordpress.org/themes/upload/ upload the theme]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi [THEME_AUTHOR], | |
You need to provide the screenshot.png which is the initial preview of your theme after theme active. @see [https://make.wordpress.org/themes/handbook/review/required/#screenshot Screenshot Guidelines] | |
'''NOTE: THIS IS NOT A THEME REVIEW.''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* Bootstrap v3.3.7 (http://getbootstrap.com) | |
* Copyright 2011-2017 Twitter, Inc. | |
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | |
*/ | |
/*! | |
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=ca5af87b1e75892f45ab8dff3df3bfb2) | |
* Config saved to config.json and https://gist.github.com/ca5af87b1e75892f45ab8dff3df3bfb2 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function wpse15850_body_class( $wp_classes, $extra_classes ) | |
{ | |
// List of the only WP generated classes allowed | |
$whitelist = array( 'home', 'blog', 'archive', 'single', 'category', 'tag', 'error404', 'logged-in', 'admin-bar' ); | |
// List of the only WP generated classes that are not allowed | |
$blacklist = array( 'home', 'blog', 'archive', 'single', 'category', 'tag', 'error404', 'logged-in', 'admin-bar' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Override default WooCommerce templates and template parts from plugin. | |
* | |
* E.g. | |
* Override template 'woocommerce/loop/result-count.php' with 'my-plugin/woocommerce/loop/result-count.php'. | |
* Override template part 'woocommerce/content-product.php' with 'my-plugin/woocommerce/content-product.php'. | |
* | |
* Note: We used folder name 'woocommerce' in plugin to override all woocommerce templates and template parts. | |
* You can change it as per your requirement. |