Plugin Directory

Changeset 756558


Ignore:
Timestamp:
08/15/2013 07:42:27 AM (12 years ago)
Author:
bradmkjr
Message:

added optional promo link to css and primary class

Location:
iphods-itunes-top-products-rss-widget/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • iphods-itunes-top-products-rss-widget/trunk/css/iphods.css

    r755470 r756558  
    8686
    8787
    88 
    89 
    90 
    91 
    92 
    9388div#content div.entry-content ul.iphods-item-list li.first {
    9489    clear: left;
     
    117112    margin-right: 10px;
    118113}
     114
     115
     116/* Backlink css */
     117
     118div.backlink {
     119    font-size: .75em;
     120    text-align: center;
     121}
     122
     123div.backlink a {
     124    border-bottom: 1px #333 dotted;
     125    text-decoration: none !important;
     126}
  • iphods-itunes-top-products-rss-widget/trunk/iphods.php

    r756541 r756558  
    4949   
    5050    public function register_iphods_plugin(){
    51        
    5251        // Check option to see if activation notification
    5352        if(get_option( 'iphods_activation_permissions' ) == 1){
    54             wp_remote_post( ACTIVATION_URL, array( 'body' => array( 'op'=> 'activate', 'bu' => get_bloginfo('url') ) ) );   
    55         }
    56        
    57        
    58     }
     53            wp_remote_post( ACTIVATION_URL, array( 'body' => array( 'op'=> 'activate', 'bu' => get_bloginfo('url') ) ) );       }
     54    }
    5955   
    6056    public function deregister_iphods_plugin(){
    61        
    6257        // Check option to see if deactivation notification
    6358        if(get_option( 'iphods_activation_permissions' ) == 1){
  • iphods-itunes-top-products-rss-widget/trunk/iphods_top_widget.php

    r756527 r756558  
    8080           
    8181        echo $iPhods->render_widget($atts);
     82       
     83        if(get_option( 'iphods_backlink_permissions' ) == 1){
     84            echo '<div class="backlink">powered by <a href="http://iphods.com/?utm_source='.urlencode($_SERVER['HTTP_HOST']).'&utm_medium=plugin&utm_campaign=iphods+plugin" target="_blank">iPhods iTunes RSS Widget</a></div>';
     85        }
    8286               
    8387        echo $args['after_widget'];
  • iphods-itunes-top-products-rss-widget/trunk/readme.txt

    r756541 r756558  
    9494* changed widget for feed type from input box to select, powered by Apple json data.
    9595* added button to tinymce editor to create initial shortcode, may move above editor to work with non tinymce editor too
    96 * added a settings page, to store future additions. Currently stores 2 choices, 1st is to enable a logging function to allow plugin author to be notified when plugin is activated or deactivated. 2nd choice is for adding a backlink after widgets linking back to iPhods.com, currently not built.
     96* added a settings page, to store future additions. Currently stores 2 choices, 1st is to enable a logging function to allow plugin author to be notified when plugin is activated or deactivated. 2nd choice is for adding a backlink after widgets linking back to iPhods.com.
    9797
    9898== Upgrade Notice ==
Note: See TracChangeset for help on using the changeset viewer.