Plugin Directory

Changeset 770347


Ignore:
Timestamp:
09/11/2013 05:51:06 PM (13 years ago)
Author:
picor.ir
Message:

update to 1.3 version

Location:
text-advertisements
Files:
28 added
3 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • text-advertisements/trunk/Text-Advertisements.php

    r768285 r770347  
    11<?php
    2 
    32/*
    43Plugin Name: Text Advertisements
    5 Plugin URI: http://picor.ir
     4Plugin URI: http://picor.ir/1703/text-advertisements-wordpress-plugin.html
    65Description: Easily put your text advertisements in your wordpress theme
    76Author: Arash Heidari
    87Author URI: http://picor.ir
    9 Version: 1.2
     8Version: 1.3
    109License: GPL2
    1110*/
    12 
    1311load_plugin_textdomain('text-advertisements', false, dirname( plugin_basename( __FILE__ ) ) . '/langs/');
    14 
    1512function text_advertisements_style() {
    1613     wp_enqueue_style('css', plugin_dir_url(__FILE__) . 'style.css', true, '1.0');
    1714}
    1815add_action( 'wp_enqueue_scripts', 'text_advertisements_style' );
    19 
    20 // Define Plugin Main URL
    2116define ( 'PICOR_TEXTADS_URL', plugin_dir_url(__FILE__) );
    22 
    23 
    24 // Set Custom Post Type For ADs
    2517add_action('init', 'add_ad_custom_posts' );
    2618function add_ad_custom_posts() {
    27     include ('inc/add-post-type.php');
     19    include ('includes/posttype.php');
    2820}
    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
     21include ('includes/metaboxes.php');
    3622function display_textads_list(){
    37     include ('inc/add-shortcode.php');
     23    include ('includes/shortcodes.php');
    3824}
    3925add_action( 'init', 'display_textads_list');
    4026add_filter('widget_text', 'do_shortcode');
    41 
    4227?>
  • text-advertisements/trunk/readme.txt

    r768374 r770347  
    44Author URI: http://picor.ir
    55Donate link: http://picor.ir
    6 Tags: text ads, advertisements widget
     6Tags: advertisement widget, text ads, wordpress ads, advertisement box, advertisement manager
    77Requires at least: 3.0
    88Tested up to: 3.6
    9 Stable tag: 1.2
     9Stable tag: 1.3
    1010
    1111Easily put your advertisement link in every where of wordpress theme
    1212
    1313== Description ==
    14 After Activation the plugin use shortcodes in shortcodes text file.
     14After Activation the plugin use [Text-Advertisements] shortcode and another one written in shorcodes text file.
    1515
    1616Features:
     
    3939== Upgrade Notice ==
    4040
     41= 1.3 =
     42* Fix a problem.
     43
    4144= 1.2 =
    4245* Fix a problem.
     
    4952
    5053== Changelog ==
     54
     55= 1.3 =
     56* Fix a problem.
    5157
    5258= 1.2 =
  • text-advertisements/trunk/style.css

    r768285 r770347  
    1616a.ads:hover{opacity:0.8; border-style:dashed; background:#f9f9f9;}
    1717a.grayads{border:1px solid #999999 ;}
    18 span.ads-title{font-weight:bold;background: url(img/hand.png) right no-repeat;padding-right:25px;}
     18span.ads-title{font-weight:bold;background: url(images/hand.png) right no-repeat;padding-right:25px;}
    1919span.ads-description{}
    2020span.ads-url,span.ads-body{margin-top:2px;text-align:justify;color:#2b2b2b;}
Note: See TracChangeset for help on using the changeset viewer.