Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set with_front to false by default in mf_register #144

Closed
BrookeDot opened this issue Jul 6, 2012 · 4 comments
Closed

Set with_front to false by default in mf_register #144

BrookeDot opened this issue Jul 6, 2012 · 4 comments
Assignees

Comments

@BrookeDot
Copy link

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
Copy link
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.

@ghost ghost assigned gnuget Jul 8, 2012
@BrookeDot
Copy link
Author

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

@BrookeDot BrookeDot reopened this Jul 8, 2012
@gnuget gnuget closed this as completed in 0502a10 Jul 11, 2012
@gnuget
Copy link
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

@BrookeDot
Copy link
Author

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants