Changeset 831074
- Timestamp:
- 01/01/2014 08:21:04 AM (12 years ago)
- Location:
- wp-multitasking/trunk
- Files:
-
- 5 added
- 1 deleted
- 4 edited
-
css (added)
-
css/chosen-sprite.png (added)
-
css/[email protected] (added)
-
css/chosen.min.css (added)
-
includes/floating-popup/exit-popup.php (modified) (2 diffs)
-
includes/floating-popup/welcome-popup.php (modified) (2 diffs)
-
includes/list-pages.php (deleted)
-
js/chosen.jquery.min.js (added)
-
readme.txt (modified) (4 diffs)
-
wp-multitasking.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-multitasking/trunk/includes/floating-popup/exit-popup.php
r831023 r831074 224 224 <?php echo ($default_exit_embed_content == 0) ? "checked" : ""; ?> /> 225 225 <label for="embed_content_0">Nhúng từ nội dung sau:</label><br /> 226 <select name="default_exit_content_popup" >226 <select name="default_exit_content_popup" class="wpmt-chosen-select"> 227 227 <?php 228 228 $default_exit_content_popup = get_settings('default_exit_content_popup'); 229 229 query_posts(array( 230 'post_type' => ' list_pages',230 'post_type' => 'page', 231 231 'posts_per_page' => -1, 232 232 )); … … 373 373 <?php echo ($exit_embed_content == 0) ? "checked" : ""; ?> /> 374 374 <label for="embed_content_0">Nhúng từ nội dung sau:</label><br /> 375 <select name="exit_content_popup" >375 <select name="exit_content_popup" class="wpmt-chosen-select"> 376 376 <?php 377 377 $exit_content_popup = get_post_meta($post_id, 'exit_content_popup', true); 378 378 query_posts(array( 379 'post_type' => ' list_pages',379 'post_type' => 'page', 380 380 'posts_per_page' => -1, 381 381 )); -
wp-multitasking/trunk/includes/floating-popup/welcome-popup.php
r831023 r831074 235 235 <?php echo ($default_wcome_embed_content == 0) ? "checked" : ""; ?> /> 236 236 <label for="embed_content_0">Nhúng từ nội dung sau:</label><br /> 237 <select name="default_wcome_content_popup" >237 <select name="default_wcome_content_popup" class="wpmt-chosen-select"> 238 238 <?php 239 239 $default_wcome_content_popup = get_settings('default_wcome_content_popup'); 240 240 query_posts(array( 241 'post_type' => ' list_pages',241 'post_type' => 'page', 242 242 'posts_per_page' => -1, 243 243 )); … … 386 386 <?php echo ($wcome_embed_content == 0) ? "checked" : ""; ?> /> 387 387 <label for="embed_content_0">Nhúng từ nội dung sau:</label><br /> 388 <select name="wcome_content_popup" >388 <select name="wcome_content_popup" class="wpmt-chosen-select"> 389 389 <?php 390 390 $wcome_content_popup = get_post_meta($post_id, 'wcome_content_popup', true); 391 391 query_posts(array( 392 'post_type' => ' list_pages',392 'post_type' => 'page', 393 393 'posts_per_page' => -1, 394 394 )); -
wp-multitasking/trunk/readme.txt
r831023 r831074 1 1 === WP MultiTasking === 2 2 Contributors: thangnv27 3 Donate link: http ://ppo.vn/3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6ADQPKM8RFF4A 4 4 Tags: shorcode,mark id,bbcode,welcome popup,exit popup,popup,addquicktag,custom post type,post type 5 5 Requires at least: 2.0.2 … … 18 18 * BBCode 19 19 * Include custom post type for AddQuickTag plugin settings 20 * Exit pop up21 * Welcome pop up20 * Exit pop-up each per post, page 21 * Welcome pop-up each per post, page 22 22 23 23 == Installation == … … 45 45 * Enter the name you want 46 46 47 = How To using BBCode = 48 Bold: [b]bold[/b] 49 Italics: [i]italics[/i] 50 Underline: [u]underline[/u] 51 URL: [url]http://wordpress.org/[/url] [url="http://wordpress.org/"]WordPress[/url] 52 Image: [img]http://s.wordpress.org/style/images/codeispoetry.png[/img] 53 Quote: [quote]Lorem ipsum dolor sit amet, consectetuer adipiscing elit,[/quote] 54 Named Quote: [quote="NAME"]Lorem ipsum dolor sit amet[/quote] 55 Color: [color="red"]something red[/color] 56 Strikeout:[s]striked this out[/s] 57 Center Text:[center]center me[/center] 58 Computer code:[code]10 GOTO 10[/code] 59 Font size: [size=10]10px font size[/size] 60 Ordered lists: [ol][li][/li][/ol] 61 Unordered lists: [ul][li][/li][/ul] 62 List Item: [li]item[/li] 63 Youtube Links: [youtube]Youtube ID[/youtube] 64 Google Video Links: [gvideo]Google Video ID[/gvideo] 65 Named Spoiler: [spoiler=two plus two]four[/spoiler] 66 Unnamed Spoiler: [spoiler]Boo![/spoiler] 67 47 68 == Screenshots == 48 69 … … 53 74 54 75 == Changelog == 76 77 = 0.1.2 = 78 * Remove list pages post type. Using pages of WordPress for exit pop-up & welcome pop-up 79 * Add chosen style for select box 55 80 56 81 = 0.1.1 = -
wp-multitasking/trunk/wp-multitasking.php
r831023 r831074 2 2 /*************************************************************************** 3 3 Plugin Name: WP MultiTasking 4 Plugin URI: http:// ppo.vn/plugins/wp-multitasking-0.1.1.zip4 Plugin URI: http://wordpress.org/plugins/wp-multitasking/ 5 5 Description: This plugin is synthetic utility for your WordPress site 6 Version: 0.1. 16 Version: 0.1.2 7 7 Author: thangnv27 8 8 Author URI: http://ppo.vn/ … … 96 96 <?php 97 97 } 98 /* ----------------------------------------------------------------------------------- */ 99 # Register main Scripts and Styles 100 /* ----------------------------------------------------------------------------------- */ 101 add_action('admin_enqueue_scripts', 'wpmt_register_scripts'); 102 103 function wpmt_register_scripts(){ 104 wp_enqueue_media(); 105 106 ## Register All Styles 107 wp_register_style('wpmt-chosen-template', WPMT_PLUGIN_URL . 'css/chosen.min.css'); 108 ## Get Global Styles 109 wp_enqueue_style('wpmt-chosen-template'); 110 111 ## Register All Scripts 112 wp_register_script('wpmt-chosen', WPMT_PLUGIN_URL . 'js/chosen.jquery.min.js', array('jquery')); 113 ## Get Global Scripts 114 wp_enqueue_script('wpmt-chosen'); 115 } 116 117 add_action('admin_print_footer_scripts', 'wpmt_admin_add_custom_js', 99); 118 119 function wpmt_admin_add_custom_js(){ 120 ?> 121 <script type="text/javascript">/* <![CDATA[ */ 122 jQuery(function($){ 123 $("select.wpmt-chosen-select").chosen({width: "40%"}); 124 }); 125 /* ]]> */ 126 </script> 127 <?php 128 } 98 129 99 130 require_once WPMT_PLUGIN_DIR . '/includes/bbcode.php'; 100 131 require_once WPMT_PLUGIN_DIR . '/includes/shortcode_markid.php'; 101 132 require_once WPMT_PLUGIN_DIR . '/includes/addquicktag_cpt.php'; 102 require_once WPMT_PLUGIN_DIR . '/includes/list-pages.php';103 133 require_once WPMT_PLUGIN_DIR . '/includes/floating-popup/welcome-popup.php'; 104 134 require_once WPMT_PLUGIN_DIR . '/includes/floating-popup/exit-popup.php';
Note: See TracChangeset
for help on using the changeset viewer.