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 | |
/** | |
* ADD NEW ADMIN USER TO WORDPRESS | |
* | |
* Put this file in your WordPress root directory and run it from your browser. | |
* Add wp-new-user.php after your domain url. | |
* Delete it when you're done. | |
* | |
* @link https://gist.github.com/overclokk/e63c15eb274532b68502685dc2952d26 | |
* @since 1.0.0 |
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 | |
/** | |
* The main template file. | |
* | |
* This is an example of a custom index page | |
* In your home page will view a bootstrap slideshow with Custom Post Type "Prodotti" on top | |
* If CPT Prodotti is empty BT slide won't be showing | |
* In new CPT editor check meta box top-left if you want to show the new image product | |
* The CPT must have a feautured image | |
* |
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 | |
wp_enqueue_script( 'mio-script', $src, array('jquery','scriptaculous'), $ver, $in_footer ); |