描述
Basic photo gallery that is familiar to vk.com photo albums. Plugin registers new taxonomy for albums(terms) and new post_type for photos. It is fully adaptive(bootstrap grid)
Url rewriting system included, so it is manageable by settings in class.
Rules are declared in class constrcutor.
L18N system included – translations kept in plugin_dir().’/locatization/’ . WordPressPhotoAlbum::LOCALE . ‘.php’
Can be called by WordPressPhotoAlbum::__t(‘some_phrase’)
Arbitrary section 1
Welcome for any suggestions about new features
Github repository https://github.com/TemirkhanN/wordpress-photo-album
螢幕截圖
安裝
1)Upload wordpress-photo-album folder to plugins directory
2)Activate it through plugins menu in wordpress admin-panel
3)By default photoalbum root will be shown at http://yourhost/album/
常見問題
- How can I change default plugin url?
-
For now it can be changed only via editing album value in next files:
/WordpressPhotoAlbum.php
* const TAXONOMY_SLUG = ‘album’;/js/wp-photo-album.js
* this.rootUrl = ‘/album/’; - Why every photo shall be added separately?
-
Because photos shall
have comments; be easily be fetched(got from database) via wordpress api; be easily sorted and listed as other posts
評價
There are no reviews for this plugin.