Changeset 344389
- Timestamp:
- 02/12/2011 02:27:59 AM (15 years ago)
- Location:
- wordpress-title-cloud/trunk
- Files:
-
- 4 edited
-
readme.txt (modified) (3 diffs)
-
wordpress-title-cloud.php (modified) (2 diffs)
-
wp-titlecloud.php (modified) (2 diffs)
-
wp-titlecloudadmin.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wordpress-title-cloud/trunk/readme.txt
r344164 r344389 1 1 === Wordpress Title Cloud === 2 Contributors: burt adem, Paul Kouwen, Katherine Gamboa3 Donate link: http ://burtadem.com/donate/2 Contributors: burtadem, Paul Kouwen, Katherine Gamboa 3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZVV68CQNM95BG 4 4 Tags: title cloud,tag cloud 5 5 Requires at least: 3.0 6 6 Tested up to: 3.0.5 7 Stable tag: 0.9. 67 Stable tag: 0.9.7 8 8 9 9 Act as a tag cloud but instead of showing tag, it shows the title of pages. … … 24 24 2. Activate the plugin through the 'Plugins' menu in WordPress. 25 25 3. 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. 26 4. It automatically adds a 'bezoekers' post meta for page frequency. set it to 0 if you want to exclude the page. 27 5. 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 27 28 28 29 … … 31 32 32 33 == Changelog == 34 35 = 0.9.7 = 36 *Added Manual or Automatic settings. 33 37 34 38 = 0.9.6 = -
wordpress-title-cloud/trunk/wordpress-title-cloud.php
r344091 r344389 22 22 23 23 $querystr = " 24 SELECT wposts.post_title as title,wposts.ID as ID,wpostmeta.meta_value as meta_value24 SELECT DISTINCT wposts.post_title as title,wposts.ID as ID,wpostmeta.meta_value as meta_value 25 25 FROM $wpdb->posts wposts 26 26 LEFT JOIN $wpdb->postmeta wpostmeta … … 54 54 } 55 55 }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 } 57 61 } 58 62 } -
wordpress-title-cloud/trunk/wp-titlecloud.php
r344146 r344389 2 2 /** 3 3 * @package Wordpress Title Cloud 4 * @version 0.9. 64 * @version 0.9.7 5 5 */ 6 6 /* … … 9 9 Description: An Idea of Displaying texts as tag cloud using your page titles. 10 10 Author: Burt Adem 11 Version: 0.9. 611 Version: 0.9.7 12 12 Author URI: http://burtadem.com/ 13 13 */ -
wordpress-title-cloud/trunk/wp-titlecloudadmin.php
r344146 r344389 4 4 $area = $_POST['ddlSelection']; 5 5 $excludes=$_POST['txtExcludes']; 6 6 7 7 8 8 $aProperty=array(); … … 12 12 $aProperty['smallest']=$_POST['txtSmallest']; 13 13 $aProperty['largest']=$_POST['txtLargest']; 14 $aProperty['auto']==$_POST['ddlAuto']; 14 15 15 16 update_option('wp-titlecloud_area', $area); … … 26 27 $excludes=get_option('wp-titlecloud_excludes'); 27 28 $oProperty= json_decode(get_option('wp-titlecloud_styles')); 29 28 30 } 29 31 … … 34 36 <?php echo "<h2>" . __( 'Display Options', 'titlecloud_admin' ) . "</h2>"; ?> 35 37 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']); ?>"> 37 39 <input type="hidden" name="txtHidden" value="Y"> 38 40 <?php echo "<h4>" . __( 'wordpress Title Cloud Display Settings', 'titlecloud_admin' ) . "</h4> "; ?> 39 41 <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"> 42 44 <option value="none">None</option> 43 45 <option value="wp_footer" <?php echo( $area=="wp_footer")?"selected='selected'":"" ?>>Footer</option> 44 46 </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> 45 53 select pages to exclude: <input type="text" name="txtExcludes" value="<?php echo $excludes ?>" size="60" /> (e.g 1,2,4) 46 54 </p>
Note: See TracChangeset
for help on using the changeset viewer.