Plugin Directory

Changeset 1466703


Ignore:
Timestamp:
08/03/2016 08:18:29 AM (10 years ago)
Author:
LibraFire
Message:

Plugin functionality applied to every post type

Location:
wp-redirect-to-similar-page/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-redirect-to-similar-page/trunk/readme.txt

    r1095592 r1466703  
    4040== Upgrade Notice ==
    4141
    42 = 1.0 =
     42= 1.0.1 =
     43
     44Plugin is working on each post type
    4345
    4446
    4547
    4648
    47 
  • wp-redirect-to-similar-page/trunk/redirect-to-similar.php

    r1095591 r1466703  
    44 * Plugin URI: www.librafire.com
    55 * Description: Redirects a user to a page the is most similar to the url given page.
    6  * Version: 1.0.0
     6 * Version: 1.0.1
    77 * Author: librafire.com
    88 * Author URI: www.librafire.com
     
    1010 * License: GPL2
    1111 */
     12
    1213function curPageURL() {
    1314    $pageURL = 'http';
     
    2425    return $pageURL;
    2526}
     27
    2628function find_a_similar_page() {
    2729
     
    4143            'sort_column' => 'post_title',
    4244            'hierarchical' => 1,
    43             'post_type' => 'page',
    4445            'post_status' => 'publish'
    4546        );
Note: See TracChangeset for help on using the changeset viewer.