Plugin Directory

Changeset 764830


Ignore:
Timestamp:
08/30/2013 04:18:30 PM (12 years ago)
Author:
DragonOfDev
Message:

Add page subdomain function

Location:
yg-subdomain/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • yg-subdomain/trunk/readme.txt

    r717068 r764830  
    33Tags: subdomains, categories, fake subdomain
    44Requires at least: 2.8
    5 Tested up to: 3.5.1
     5Tested up to: 3.6
    66
    77YG-Subdomains allows users to setup there specified page as subdomains. It's a lite and fast code.
     
    41411.0.0 finish test
    42421.0.1 fix warning error
     431.0.2 add page subdomain function
     44
    4345= 0.0 =
    4446Beta Release
     
    46481.0.0 finish test
    47491.0.1 fix warning error
     501.0.2 add page subdomain function
  • yg-subdomain/trunk/yg-subdomain.php

    r717068 r764830  
    8383        add_filter( 'post_rewrite_rules', 'sub_post_rewrite_rules' );
    8484        add_filter( 'post_link', 'sub_post_link', 10, 2 );
     85        add_filter( 'page_rewrite_rules', 'sub_post_rewrite_rules' );
     86        add_filter( 'page_link', 'sub_post_link', 10, 2 );
    8587    }
    8688}
Note: See TracChangeset for help on using the changeset viewer.