Plugin Directory

Changeset 344389


Ignore:
Timestamp:
02/12/2011 02:27:59 AM (15 years ago)
Author:
burtadem
Message:
 
Location:
wordpress-title-cloud/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wordpress-title-cloud/trunk/readme.txt

    r344164 r344389  
    11=== Wordpress Title Cloud ===
    2 Contributors: burt adem, Paul Kouwen, Katherine Gamboa
    3 Donate link: http://burtadem.com/donate/
     2Contributors: burtadem, Paul Kouwen, Katherine Gamboa
     3Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZVV68CQNM95BG
    44Tags: title cloud,tag cloud
    55Requires at least: 3.0
    66Tested up to: 3.0.5
    7 Stable tag: 0.9.6
     7Stable tag: 0.9.7
    88
    99Act as a tag cloud but instead of showing tag, it shows the title of pages.
     
    24242. Activate the plugin through the 'Plugins' menu in WordPress.
    25253. You will find 'title cloud' menu in your WordPress admin panel and fill-in the forms to make it work properly.
    26 4. It automatically adds a 'bezoekers' post meta for page frequency. set it to 0 if you want to exclude.
     264. It automatically adds a 'bezoekers' post meta for page frequency. set it to 0 if you want to exclude the page.
     275. If title cloud settings was set to manual, you have to make the value of bezoekers to 1 in order to add it in the cloud
    2728
    2829
     
    3132
    3233== Changelog ==
     34
     35= 0.9.7 =
     36*Added Manual or Automatic settings.
    3337
    3438= 0.9.6 =
  • wordpress-title-cloud/trunk/wordpress-title-cloud.php

    r344091 r344389  
    2222 
    2323    $querystr = "
    24         SELECT wposts.post_title as title,wposts.ID as ID,wpostmeta.meta_value as meta_value
     24        SELECT DISTINCT wposts.post_title as title,wposts.ID as ID,wpostmeta.meta_value as meta_value
    2525        FROM $wpdb->posts wposts
    2626        LEFT JOIN $wpdb->postmeta wpostmeta
     
    5454            }
    5555            }else{
    56             add_post_meta($id, "bezoekers", 1);
     56                    if($oStyle->auto==1){   
     57                    add_post_meta($id, "bezoekers", 1);
     58                    }else{
     59                    add_post_meta($id, "bezoekers", 0);
     60                    }
    5761            }
    5862        }
  • wordpress-title-cloud/trunk/wp-titlecloud.php

    r344146 r344389  
    22/**
    33 * @package Wordpress Title Cloud
    4  * @version 0.9.6
     4 * @version 0.9.7
    55 */
    66/*
     
    99Description: An Idea of Displaying texts as tag cloud using your page titles.
    1010Author: Burt Adem
    11 Version: 0.9.6
     11Version: 0.9.7
    1212Author URI: http://burtadem.com/
    1313*/
  • wordpress-title-cloud/trunk/wp-titlecloudadmin.php

    r344146 r344389  
    44            $area = $_POST['ddlSelection'];
    55            $excludes=$_POST['txtExcludes'];
    6                         
     6       
    77             
    88            $aProperty=array();
     
    1212            $aProperty['smallest']=$_POST['txtSmallest'];
    1313            $aProperty['largest']=$_POST['txtLargest'];
     14            $aProperty['auto']==$_POST['ddlAuto'];
    1415           
    1516            update_option('wp-titlecloud_area', $area);
     
    2627           $excludes=get_option('wp-titlecloud_excludes');
    2728           $oProperty= json_decode(get_option('wp-titlecloud_styles'));
     29           
    2830       } 
    2931       
     
    3436      <?php    echo "<h2>" . __( 'Display Options', 'titlecloud_admin' ) . "</h2>"; ?> 
    3537     
    36        <form name="oscimp_form" method="post" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>"> 
     38       <form name="wptc_form" method="post" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>"> 
    3739           <input type="hidden" name="txtHidden" value="Y"> 
    3840           <?php    echo "<h4>" . __( 'wordpress Title Cloud Display Settings', 'titlecloud_admin' ) . "</h4> "; ?> 
    3941           <p>
    40                 select area to display:
    41                 <select name="ddlSelection">
     42                <span style="display:none">select area to display:</span>
     43                <select name="ddlSelection" style="display:none">
    4244                <option value="none">None</option>
    4345                <option value="wp_footer"  <?php echo( $area=="wp_footer")?"selected='selected'":"" ?>>Footer</option>
    4446                </select><br />
     47               
     48                Automatically Add Pages: <select name="ddlAuto">
     49                                        <option value="0" <?php echo ($oProperty->auto=='0')?'selected':'' ?> >False</option>
     50                                        <option value="1" <?php echo ($oProperty->auto=='1')?'selected':'' ?> >True</option>
     51                                        </select><br />
     52                <p>If you want to set it to manual, just add bezoekers in postmeta inside the page and put a value of 1</p>
    4553                select pages to exclude: <input type="text" name="txtExcludes" value="<?php echo $excludes ?>" size="60" /> (e.g  1,2,4)
    4654           </p> 
Note: See TracChangeset for help on using the changeset viewer.