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: | |
| Plugin URI: | |
| Description: | |
| Version: | |
| Author: | |
| Author URI: | |
| */ |
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 | |
| /** | |
| * The main template file. | |
| * | |
| * This theme is purely for the purpose of testing theme options in Options Framework plugin. | |
| * | |
| * @package WordPress | |
| * @subpackage Options Check | |
| */ |
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
| <!doctype html> | |
| <html class="no-js" lang="es"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
| <title></title> | |
| <meta name="description" content=""> | |
| <meta name="author" content=""> |
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 | |
| /** | |
| * The main template file. | |
| * | |
| * @package WordPress | |
| */ | |
| function run_once($key){ | |
| $test_case = get_option('run_once'); |
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
| /* | |
| Theme Name: [Theme name] | |
| Theme URI: [Theme url] | |
| Description: [Theme description] | |
| Author: [Theme author] | |
| Author URI: [Author URL] | |
| Version: 1.0 | |
| Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu (optional) | |
| License: |
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
| <title><?php | |
| if (is_home () || is_front_page() ) { | |
| bloginfo('name'); | |
| } elseif ( is_category() ) { | |
| single_cat_title(); echo ' - ' ; | |
| bloginfo('name'); | |
| } elseif (is_single() ) { | |
| single_post_title(); | |
| } elseif (is_page() ) { | |
| bloginfo('name'); |
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 | |
| /** | |
| * Theme setup. | |
| * | |
| * @package WordPress | |
| */ | |
| function theme_setup() | |
| { |
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
| //Crear un nuevo temporizador | |
| add_filter('cron_schedules', 'add_scheduled_interval'); | |
| // Anyade nuevos intervalos a wp_schedules | |
| function add_scheduled_interval($schedules) | |
| { | |
| $schedules['minutes_1'] = array('interval'=>60, 'display'=>'Once 1 minutes'); | |
| $schedules['minutes_30'] = array('interval'=>30, 'display'=>'Once 30 minutes'); | |
| return $schedules; | |
| } |
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: WP Cron Jobs | |
| Plugin URI: https://github.com/franz-josef-kaiser | |
| Description: List WordPress internal cron jobs (array data) in the footer. The hook 'wp_footer()' must be present in your theme. | |
| Author: Franz Josef Kaiser | |
| Author URI: https://github.com/franz-josef-kaiser | |
| Version: 0.1 | |
| License: GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html |
OlderNewer