Set with_front to false by default in mf_register #144

Closed
BandonRandon opened this Issue Jul 6, 2012 · 4 comments

Projects

None yet

2 participants

@BandonRandon

I recently needed to set my permalink structure for the main pages to /blog/ but I wanted to keep my post types set to /posttype/post to do this I had to edit mf_register.php to set the 'with_front' value to false. Is there any reason this is true by default I think false is more intuitive. Also if it should be false by default can we add an admin option to let the end user chose?

Thanks

@gnuget
Member
gnuget commented Jul 8, 2012

The default value in wordpress for with_front is true (you can see it here: http://codex.wordpress.org/Function_Reference/register_post_type)

But, you are right, i'm going to add an option into the admin page for let the end user choose.

@gnuget gnuget was assigned Jul 8, 2012
@BandonRandon

Awesome, thanks. I saw the default was true but for my set up I needed it false and had to do some digging.

@BandonRandon BandonRandon reopened this Jul 8, 2012
@gnuget gnuget closed this in 0502a10 Jul 11, 2012
@gnuget
Member
gnuget commented Jul 11, 2012

Hi @BandonRandon

I added the option at the posttype form.

Would be awesome if you help us to test it.

Please after to update please re-save your post types for magic fields get the new value of with_front.

Thanks

@BandonRandon

Just updated and seems to be working fine. Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment