Problem: I would like to set up some links to my monthly archives. The post date should be displayed as the text link. If the User clicks the date, it should redirect them to a monthly archive for the corresponding month and year of the post date.
Solution: Use custom HTML and shortcodes to create a link tag in the following format:
<a href="[wpv-bloginfo show='url']/[wpv-post-date format='Y']/[wpv-post-date format='m']/?cat=141">{!{wpv-post-date}!}</a>
Relevant Documentation:
https://toolset.com/documentation/user-guides/views/views-shortcodes/
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 |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 6 replies, has 2 voices.
Last updated by 4 years, 4 months ago.
Assisted by: Christian Cox.