All Topics
wrap markup around column value
I would like to be able to add markup within Admin Columns column settings for a retrieved value in order to create a link.
This would require 2 features:
- Add before and after markup
- Assign retrieved value as a variable which can be used in the before and after markup
Our use case is that we use WordPress as a content creation tool We consume content from WordPress into a JAMStack front-end via custom APIs. In Admin Columns I am exposing a post’s slug, and would like to add before markup [https://domain.com/pathname/$slug] then the returned value of the slug, then after markup of [].
Within the list view of my posts, I would see the slug, which would be linked to the JAMStack url, therefore allowing our content owners to see the post they just created on the correct site.
You must be logged in to reply to this topic.