Option to stop Pre-pending permalink with the front base

WP-Filebase Pro Forums General Support Option to stop Pre-pending permalink with the front base

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #638
    Eliot
    Participant

    I am a Premium member. Thanks for your support!

    As documented on this page, Custom Post Types may specify whether their permalink should be prepended by the front base (e.g., /blog/): register_post_type() reference

    ‘with_front’ => bool Should the permastruct be prepended with the front base. (example: if your permalink structure is /blog/, then your links will be: false->/news/, true->/blog/news/). Defaults to true

    Would you please add an option to WP-Filebase Pro so that we can access this option? In essence, I need this line in classes/Core.php:

    ‘rewrite’ => array(‘slug’ => WPFB_Core::$settings->file_page_url_slug, ‘with_front’ => False)

    Presumably, you would add another WPFB_Core setting.

    Thanks!
    Eliot

    #639
    Fabian
    Participant

    Hi Eliot,

    will be added with the next update this week.

    Regards
    Fabian

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.