Bring Your Business to Life › Support › Image Store › Changing Path for Gallery & Album Pages
- AuthorPosts
- October 10, 2012 at 10:38 am #50302atypicallifeParticipant
Hello – first of all, I love this plugin. Thank you so much for taking the time to develop it!
I have a site that already uses the path http://site.com/galleries for something other than this plugin and so I would like to be able to change the default path for the gallery and album pages to a different name.
I have a decent working knowledge of PHP, so if it is too difficult to add this to the settings menu, I would be happy if you just pointed me in the right direction as to where I could change this in the plugin files.
Thanks!
October 10, 2012 at 10:15 pm #50316Xpark MediaKeymasterYou will need to change the custom post type and the writer rules, both of these are initiated and generated in the image-store/_inc/core.php file.
I recommend creating a secondary plugin to modify the values,
remove or run secondary hooks to modify the valuesgenerate_rewrite_rules (run same function replace the root “rewrite”)
ims_gallery_post_type (change the “rewrite” value) - AuthorPosts
- You must be logged in to reply to this topic.