Changeset 1908376
- Timestamp:
- 07/12/2018 05:45:32 PM (8 years ago)
- Location:
- mapping-multiple-urls-redirect-same-page/trunk
- Files:
-
- 4 edited
-
admin/mapping-multiple-urls-redirect-same-page-edit.php (modified) (3 diffs)
-
admin/mapping-multiple-urls-redirect-same-page-insert.php (modified) (4 diffs)
-
mapping-multiple-urls-redirect-same-page.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mapping-multiple-urls-redirect-same-page/trunk/admin/mapping-multiple-urls-redirect-same-page-edit.php
r1815748 r1908376 138 138 $selected = $page->ID == $page_or_post_id ? "selected":''; 139 139 $option = '<option value="' . $page->ID . '"'.$selected.'>'; 140 $option .= $page->post_ name;140 $option .= $page->post_title; 141 141 $option .= '</option>'; 142 142 echo $option; … … 157 157 $selected = $post->ID == $page_or_post_id ? "selected":''; 158 158 $option = '<option value="' . $post->ID . '"'.$selected.'>'; 159 $option .= $post->post_ name;159 $option .= $post->post_title; 160 160 $option .= '</option>'; 161 161 echo $option; … … 175 175 'hide_empty' => false, 176 176 ) ); 177 //print_r($category_list); 178 //die; 177 179 foreach ( $category_list as $category ) 178 180 { 179 181 $selected = $category->term_id == $page_or_post_id ? "selected":''; 180 182 $option = '<option value="' . $category->term_id . '"'.$selected.'>'; 181 $option .= $category->slug;183 $option .= urldecode($category->slug); 182 184 $option .= '</option>'; 183 185 echo $option; -
mapping-multiple-urls-redirect-same-page/trunk/admin/mapping-multiple-urls-redirect-same-page-insert.php
r1815748 r1908376 45 45 <?php 46 46 $pages = get_pages(); 47 47 48 foreach ( $pages as $page ) 48 49 { 49 50 $option = '<option value="' . $page->ID . '">'; 50 $option .= $page->post_ name;51 $option .= $page->post_title; 51 52 $option .= '</option>'; 52 53 echo $option; … … 68 69 { 69 70 $option = '<option value="' . $post->ID . '">'; 70 $option .= $post->post_ name;71 $option .= $post->post_title; 71 72 $option .= '</option>'; 72 73 echo $option; … … 90 91 { 91 92 $option = '<option value="' . $category->term_id . '">'; 92 $option .= $category->slug;93 $option .= urldecode($category->slug); 93 94 $option .= '</option>'; 94 95 echo $option; … … 112 113 { 113 114 $option = '<option value="' . $tag->term_id . '">'; 114 $option .= $tag->slug;115 $option .= urldecode($tag->slug); 115 116 $option .= '</option>'; 116 117 echo $option; -
mapping-multiple-urls-redirect-same-page/trunk/mapping-multiple-urls-redirect-same-page.php
r1815748 r1908376 3 3 * Plugin Name: Mapping multiple URLs redirect same page 4 4 * Description: Mapping multiple URLs redirect same page,post,category,tag,custom post types. 5 * Version: 2. 65 * Version: 2.9 6 6 * Author: Rupam Hazra 7 7 * Author URI: http://www.rupamhazra.com -
mapping-multiple-urls-redirect-same-page/trunk/readme.txt
r1769976 r1908376 57 57 == Upgrade Notice == 58 58 59 = 2.9 = 60 In 2.9 encoding issue solved. 61 59 62 = 2.5 = 60 63 In 2.5 version you get many new types like category,tag,custom post types and also added some features in listing page.
Note: See TracChangeset
for help on using the changeset viewer.