Changeset 1466703
- Timestamp:
- 08/03/2016 08:18:29 AM (10 years ago)
- Location:
- wp-redirect-to-similar-page/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
redirect-to-similar.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-redirect-to-similar-page/trunk/readme.txt
r1095592 r1466703 40 40 == Upgrade Notice == 41 41 42 = 1.0 = 42 = 1.0.1 = 43 44 Plugin is working on each post type 43 45 44 46 45 47 46 48 47 -
wp-redirect-to-similar-page/trunk/redirect-to-similar.php
r1095591 r1466703 4 4 * Plugin URI: www.librafire.com 5 5 * Description: Redirects a user to a page the is most similar to the url given page. 6 * Version: 1.0. 06 * Version: 1.0.1 7 7 * Author: librafire.com 8 8 * Author URI: www.librafire.com … … 10 10 * License: GPL2 11 11 */ 12 12 13 function curPageURL() { 13 14 $pageURL = 'http'; … … 24 25 return $pageURL; 25 26 } 27 26 28 function find_a_similar_page() { 27 29 … … 41 43 'sort_column' => 'post_title', 42 44 'hierarchical' => 1, 43 'post_type' => 'page',44 45 'post_status' => 'publish' 45 46 );
Note: See TracChangeset
for help on using the changeset viewer.