JasonBeee
Member
Posted 7 months ago #
Just wondering how to change the path of the URL that the page link buttons link to. For example on thatswhyimbroke.com, the page 1, 2 ,3, etc link to /page/2/, /page/2/ etc. accordingly.
Just wondering how to edit this path and make them link to /page/2/#tab1 for example.
Any help is appreciated!
http://wordpress.org/extend/plugins/wp-pagenavi/
galihfirm
Member
Posted 7 months ago #
Hi Jason, for this case you need to change your url by using
wp_rewrite, and get for query vars check this link below
http://codex.wordpress.org/Class_Reference/WP_Rewrite#Examples
dont forget to include your value eg:
hhtp://somesite.com/pagename/your_value/
and page number will be automatically added like:
hhtp://somesite.com/pagename/page/2/your_value/
I hope this work for you