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

Comments

Projects
None yet
2 participants
@BrookeDot

BrookeDot commented Jul 6, 2012

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

This comment has been minimized.

Show comment
Hide comment
@gnuget

gnuget Jul 8, 2012

Member

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.

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

This comment has been minimized.

Show comment
Hide comment
@BrookeDot

BrookeDot Jul 8, 2012

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

BrookeDot commented Jul 8, 2012

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 closed this Jul 8, 2012

@BrookeDot BrookeDot reopened this Jul 8, 2012

@gnuget gnuget closed this in 0502a10 Jul 11, 2012

@gnuget

This comment has been minimized.

Show comment
Hide comment
@gnuget

gnuget Jul 11, 2012

Member

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

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

This comment has been minimized.

Show comment
Hide comment
@BrookeDot

BrookeDot Jul 12, 2012

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

BrookeDot commented Jul 12, 2012

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