Problem:
When displaying a post, how to generate author archive link and date archive link?
Solution:
The wpv-post-author shortcode can take a format='link' attribute which will add a link to the post author archive.
<br /> <a href='[wpv-bloginfo show="url"]/[wpv-post-date format="Y/m/d"]'>Date archive</a><br />
Note that the date archive will not include custom post types by default. You would need to create a custom archive and specify the post types to be included.
Relevant Documentation:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-author
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | - |
- | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | - |
Supporter timezone: Europe/London (GMT+00:00)
This topic contains 2 replies, has 2 voices.
Last updated by 6 years, 10 months ago.
Assisted by: Nigel.