[wp-hackers] Custom Post Types, Pretty URLs and Custom Query Vars

scribu mail at scribu.net
Wed Nov 17 13:31:02 UTC 2010


On Wed, Nov 17, 2010 at 10:56 AM, ErisDS <erisds at gmail.com> wrote:

> [job-vacancies/company/?([0-9]{1,})/?$] =>
> index.php?post_type_index=1&post_type=job&company=$matches[2]


Shouldn't it be $matches[1] ?


More information about the wp-hackers mailing list