[wp-hackers] Custom URL for Paginated Archive Pages

Ryan Frankel ryan.frankel at gmail.com
Tue May 15 23:10:19 UTC 2012


It definitely is. I can start a new thread for that. Thanks. 

Ryan

Sent from my iPhone

On May 15, 2012, at 3:08 PM, scribu <mail at scribu.net> wrote:

> On Tue, May 15, 2012 at 6:17 PM, Ryan Frankel <ryan.frankel at gmail.com> wrote:
> Is there anything wrong with doing something along the following to get the result I am looking for?
> - - -
> add_action( 'init', 'my_permalinks_func' )l
> function my_permalinks_func() {
>        global $wp_rewrite;
>        $wp_rewrite->pagination_base = ''
> }
> - - -
> Then flush the rules.
> 
> That's the correct way to change the pagination base.
> 
> 
> ALSO, is there a preferred way to change the Author Permalink from ending with {nicename} to {first_name} (or whatever)?
> 
> That's a different topic, don't you think?
> 
> -- 
> http://scribu.net


More information about the wp-hackers mailing list