![]() |
|
Simpler ZenPhotoPress usage? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: Simpler ZenPhotoPress usage? (/thread-4460.html) |
Simpler ZenPhotoPress usage? - Rain - 12-01-2009 By default, adding a gallery to a Wordpress post is done by entering for example "[zenphotopress album=10]" Is there a way to change the "zenphotopress" part to something shorter, like just "zen" in order to make the posting process a bit quicker and less tedious for those who use it often? Thanks a lot. Simpler ZenPhotoPress usage? - Simbul - 12-01-2009 It would be a risky move. "zenphotopress" is a name which can be reasonably considered unique (though long, I agree). "zen", on the other hand, is not so unique: the chances of a conflict are exponentially higher. Though I agree on the tediousness of typing the whole name, I'm not inclined to change it. Simpler ZenPhotoPress usage? - Rain - 13-01-2009 I get where you're coming from, though it doesn't have to be "zen," it could be anything short and sweet. Like "zpp" or whatever like that. Besides, I'm not asking for this to be released in a future update, I'd just like to make the change in my case alone. Is it as simple as changing a piece of code in one (of the) plugin files or does it go deeper than that? Thanks. Simpler ZenPhotoPress usage? - Simbul - 13-01-2009 "zpp" is definitely better, but using a short name is still a risk. Anyway, the modification shouldn't be too difficult. I'm sorry I haven't got time to test it, but I'm pretty sure it's enough to change line 219 of zenphotopress.php. Change it from Simpler ZenPhotoPress usage? - Rain - 14-01-2009 Yes, that works. Thanks! |