Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter blogvii

    (@blogvii)

    Additional Information.

    I was look at the code, I think prevent URL rewriting when register Att Category/Tag will not render the front-end url.

    I hope you can provide filter function for disable the url rewriting.

    Good day!

    Plugin Author David Lingren

    (@dglingren)

    Thanks for the positive MLA feedback and for your question. Thanks as well for digging into the code and suggesting the rewrite=false solution. I tested this on my system and yes, setting rewrite=false in the register_taxonomy() arguments will prevent the “media archives” page from displaying.

    The current MLA version has a taxonomy-specific filter that you can use to do this; mla_attachment_category_arguments ormla_attachment_tag_arguments. You can see how they work in the media-library-assistant/includes/class-mla-objects.php file.

    Don’t forget to flush the rewrite rules after making this change. Navigate to the Settings/Permalinks admin screen and click “Save Changes” to flush the rules.

    I am marking this topic resolved, but please update it if you have any problems or further questions regarding the above solution. Thanks for your interest in the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable Front End URL for Att Cateogry and Tag’ is closed to new replies.