This file contains hidden or 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 | |
| $postTitle = $_POST['post_title']; | |
| $post = $_POST['post']; | |
| $submit = $_POST['submit']; | |
| if(isset($submit)){ | |
| global $user_ID; | |
| $new_post = array( |
This file contains hidden or 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 | |
| /* | |
| Plugin Name: Sample Plugin | |
| Plugin URI: http://www.scottbressler.com/blog/plugins/ | |
| Description: Sample plugin to demonstrate the basics of WordPress actions and filters, as well as storing plugin settings. This plugin adds content to the end of posts. This can be achieved when publishing the post or each time the post is displayed, as specified by the plugin's settings. The text appended is also specified in the settings. | |
| Version: 1.1 | |
| Author: Scott Bressler | |
| Author URI: http://www.scottbressler.com/blog/ | |
| License: GPL2 | |
| */ |
This file contains hidden or 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 | |
| /** | |
| * post-process.php | |
| * make sure to include post-process.php in your functions.php. Use this in functions.php: | |
| * | |
| * get_template_part('post-process'); | |
| * | |
| */ | |
| function do_insert() { | |
| if( 'POST' == $_SERVER['REQUEST_METHOD'] |
This file contains hidden or 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 | |
| /** | |
| * Base functions.php for WordPress themes | |
| * | |
| * @package WordPress 3.3 | |
| * @author Andres Hermosilla | |
| */ | |
| /** |
This file contains hidden or 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 | |
| /** | |
| * Plugin Name: PluginName | |
| * Plugin URI: http://austinpassy.com/wordpress-plugins/ | |
| * Description: Core functionality for __________ | |
| * Version: 1.0.0 | |
| * Author: Austin Passy | |
| * Author URI: http://austinpassy.com/ | |
| * | |
| * @copyright 2012 |
This file contains hidden or 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 | |
| /* | |
| Plugin Name: A Plugin Name | |
| Plugin URI: http://somadesign.ca/ | |
| Description: Be descriptive. | |
| Version: 0.1 | |
| Author: Soma Design | |
| Author URI: http://somadesign.ca/ | |
| License: GPL v2 |
This file contains hidden or 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 | |
| /** | |
| * @package MyPlugin | |
| * @version 1.0 | |
| * | |
| * Plugin Name: MyPlugin | |
| * Plugin URI: http://myurl.com/myplugin | |
| * Description: A simple plugin to properly include css and javascript files into a WordPress site. | |
| * -(these files won't be minified and concatenated unless you use WP Total Cache or something similar.) | |
| * Author: Jason Rhodes |
This file contains hidden or 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 | |
| /** | |
| * Plugin Name: Future Core Login | |
| * Plugin URI: http://unserkaiser.com | |
| * Description: Replacing the current stylesheets loaded on wp-login.php until this ticket goes into core: <a href="http://core.trac.wordpress.org/ticket/12506">#12506</a> | |
| * Version: 0.1 | |
| * Author: Franz Josef Kaiser | |
| * Author URI: http://unserkaiser.com | |
| * License: GPL2 | |
| * |