WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Q and A – FAQ Plugin] Permalinks query

[Plugin: Q and A – FAQ Plugin] Permalinks query

  • 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Dalton Rooney

    @daltonrooney

    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

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Q and A – FAQ Plugin] Permalinks query’ is closed to new replies.