Skip Navigation

[Resolved] create a wiki system

This support ticket is created 7 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

Author
Posts
#458946

I am trying to: create a kind of a collaborative wiki system in which users can edit existing post.
when viewing each post- i would like to show the latest version of that post, and show links to previous Post Revisions.

i've created a post type called "knowledgebase", and a content template to show each post.
is there any way to show previous Post Revisions links?

thanks

#459019

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

To track revision for your CPT, when you create CPT with types, you need to check checkbox "Revisions" that is available under the section "Custom Post Properties".

Please check following screenshot:
=> hidden link

But to display the links of post revisions you can use WordPress function: "wp_get_post_revision":
=> https://codex.wordpress.org/Function_Reference/wp_get_post_revision

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.