billabong1985
Member
Posted 1 year ago #
I have a query about the plugin's permalinks. I am trying using it to organise product reviews on my site and was wondering if it is possible to change the default permalink used for each faq page, for example instead of having domain/faq/title to domain/reviews/title
Regards
Yes, you will need to edit the plugin code to do this, but it's quite easy. In q-and-a.php, take a look for line 55
'rewrite' => array( 'slug' => 'faq', 'with_front' => false ),
You can change that slug to whatever you want. For example, on mine it's
'rewrite' => array( 'slug' => 'support/faq', 'with_front' => false ),
And here's where my answers show up:
http://madebyraygun.com/support/faq/installing-and-updating-the-plugin/
Cheers,
Dalton
billabong1985
Member
Posted 1 year ago #
Ah cool, did have a quick look at the code before as I've editted themes and plugins before, but I only have a relatively basic understanding of php so couldn't decide which line was specifying the permalinks, thanks for letting me know
Awesome plugin BTW, does precisely what I needed and much more neatly and easy to manage than I had anticipated :-)
Cheers
James