Problem:
What is the best solution for add a shortcode that contains a value that can be added to any page of the site?
Solution:
In most theme, there should be a widget can display in all of your website pages, for example WordPress default theme 2020, you can try these:
1) Dashboard-> Toolset-> Content Templates, Create a content template "my-ct", display the text and value you want:
https://toolset.com/glossary/template/
2) Dashboard-> Appearance-> Widgets, in the Footer sidebar, you can add a text widget, and display above content template's shortcode:
[wpv-post-body view_template="my-ct"]
Relevant Documentation:
https://wp-types.com/documentation/user-guides/views-shortcodes/#wpv-post-body
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 |
---|---|---|---|---|---|---|
- | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Hong_Kong (GMT+08:00)
This topic contains 4 replies, has 2 voices.
Last updated by 4 years, 5 months ago.
Assisted by: Luo Yang.