Changeset 770347
- Timestamp:
- 09/11/2013 05:51:06 PM (13 years ago)
- Location:
- text-advertisements
- Files:
-
- 28 added
- 3 deleted
- 3 edited
-
tags/1.2 (deleted)
-
tags/1.3 (added)
-
tags/1.3/Text-Advertisements.php (added)
-
tags/1.3/images (added)
-
tags/1.3/images/hand.png (added)
-
tags/1.3/images/icon.png (added)
-
tags/1.3/includes (added)
-
tags/1.3/includes/metaboxes.php (added)
-
tags/1.3/includes/posttype.php (added)
-
tags/1.3/includes/shortcodes.php (added)
-
tags/1.3/langs (added)
-
tags/1.3/langs/default.mo (added)
-
tags/1.3/langs/default.po (added)
-
tags/1.3/langs/text-advertisements-fa_IR.mo (added)
-
tags/1.3/langs/text-advertisements-fa_IR.po (added)
-
tags/1.3/readme.txt (added)
-
tags/1.3/screenshot-1.png (added)
-
tags/1.3/screenshot-2.png (added)
-
tags/1.3/screenshot-3.png (added)
-
tags/1.3/screenshot-4.png (added)
-
tags/1.3/shortcodes.txt (added)
-
tags/1.3/style.css (added)
-
trunk/Text-Advertisements.php (modified) (1 diff)
-
trunk/images (added)
-
trunk/images/hand.png (added)
-
trunk/images/icon.png (added)
-
trunk/img (deleted)
-
trunk/inc (deleted)
-
trunk/includes (added)
-
trunk/includes/metaboxes.php (added)
-
trunk/includes/posttype.php (added)
-
trunk/includes/shortcodes.php (added)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/style.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
text-advertisements/trunk/Text-Advertisements.php
r768285 r770347 1 1 <?php 2 3 2 /* 4 3 Plugin Name: Text Advertisements 5 Plugin URI: http://picor.ir 4 Plugin URI: http://picor.ir/1703/text-advertisements-wordpress-plugin.html 6 5 Description: Easily put your text advertisements in your wordpress theme 7 6 Author: Arash Heidari 8 7 Author URI: http://picor.ir 9 Version: 1. 28 Version: 1.3 10 9 License: GPL2 11 10 */ 12 13 11 load_plugin_textdomain('text-advertisements', false, dirname( plugin_basename( __FILE__ ) ) . '/langs/'); 14 15 12 function text_advertisements_style() { 16 13 wp_enqueue_style('css', plugin_dir_url(__FILE__) . 'style.css', true, '1.0'); 17 14 } 18 15 add_action( 'wp_enqueue_scripts', 'text_advertisements_style' ); 19 20 // Define Plugin Main URL21 16 define ( 'PICOR_TEXTADS_URL', plugin_dir_url(__FILE__) ); 22 23 24 // Set Custom Post Type For ADs25 17 add_action('init', 'add_ad_custom_posts' ); 26 18 function add_ad_custom_posts() { 27 include ('inc /add-post-type.php');19 include ('includes/posttype.php'); 28 20 } 29 30 31 // Set ADs Meta Boxes 32 include ('inc/add-meta-boxes.php'); 33 34 35 // Set Shortcode And Make Them Work In Widget 21 include ('includes/metaboxes.php'); 36 22 function display_textads_list(){ 37 include ('inc /add-shortcode.php');23 include ('includes/shortcodes.php'); 38 24 } 39 25 add_action( 'init', 'display_textads_list'); 40 26 add_filter('widget_text', 'do_shortcode'); 41 42 27 ?> -
text-advertisements/trunk/readme.txt
r768374 r770347 4 4 Author URI: http://picor.ir 5 5 Donate link: http://picor.ir 6 Tags: text ads, advertisements widget6 Tags: advertisement widget, text ads, wordpress ads, advertisement box, advertisement manager 7 7 Requires at least: 3.0 8 8 Tested up to: 3.6 9 Stable tag: 1. 29 Stable tag: 1.3 10 10 11 11 Easily put your advertisement link in every where of wordpress theme 12 12 13 13 == Description == 14 After Activation the plugin use shortcodes in shortcodes text file.14 After Activation the plugin use [Text-Advertisements] shortcode and another one written in shorcodes text file. 15 15 16 16 Features: … … 39 39 == Upgrade Notice == 40 40 41 = 1.3 = 42 * Fix a problem. 43 41 44 = 1.2 = 42 45 * Fix a problem. … … 49 52 50 53 == Changelog == 54 55 = 1.3 = 56 * Fix a problem. 51 57 52 58 = 1.2 = -
text-advertisements/trunk/style.css
r768285 r770347 16 16 a.ads:hover{opacity:0.8; border-style:dashed; background:#f9f9f9;} 17 17 a.grayads{border:1px solid #999999 ;} 18 span.ads-title{font-weight:bold;background: url(im g/hand.png) right no-repeat;padding-right:25px;}18 span.ads-title{font-weight:bold;background: url(images/hand.png) right no-repeat;padding-right:25px;} 19 19 span.ads-description{} 20 20 span.ads-url,span.ads-body{margin-top:2px;text-align:justify;color:#2b2b2b;}
Note: See TracChangeset
for help on using the changeset viewer.