开发者 | utopiamech |
---|---|
更新时间 | 2018年8月5日 16:41 |
捐献地址: | 去捐款 |
PHP版本: | 5.6.24 及以上 |
WordPress版本: | 4.9.8 |
版权: | GPL version 2 |
版权网址: | 版权信息 |
For most blogs/themes, pages are will look better and are more suitable for permanent schedules.
One option is to create a main page with links to all the location pages, and pass that URL out to visitors. From there, they can visit all pages.
It's up to you, but if you name a location on a web page, it will be visible to everyone visiting that page, logged in or not. For privacy reasons you may wish to avoid that.
Various shortcodes can provide text for visitors not logged in, and different text for those not logged in. For example, this page text will display a welcome for visitors along with a login form. Once logged in, visitors are welcomed by name, and can view the schedule for location 3. [u70block loggedin='1'] Welcome [u70disp type='username'] [u70disp type='title' location='3']: [u70disp type='description' location='3'] [u70cal location='3'] [/u70block] [u70block loggedin='0'] Welcome - please log in to view the schedules. [u70disp type='loginform'] [/u70block]
Another shortcode gives a summary for a few days, indicating which carts and which hours they have reserved. This code will show a seven-day summary for all carts reserved by the logged-in visitor: [u70block loggedin='1'] Welcome [u70disp type='username'] [u70disp type='reservations' dayoffset='0' daylength='7' ] [/u70block] [u70block loggedin='0'] Welcome - please log in to view the schedules. [u70disp type='loginform'] [/u70block]
Use the WordPress Users menu, and "Add New". Alternately, if you have a large number to add, you can use a bulk registration plugin, such as "Import users from CSV with meta" by codection