We are using shortcoder plug-in for our documentation platform. We have one requirement. There is one topic which is connected to two different categories.
We want to conditionalize the post content based on the currently visible category. So, we want to use shortcoder plug-in where we will write the snippet to check the current category of the post and decide the content that will be shown to the user when they open the post.
Is it possible for you to give some idea on this? how we can use shortcoder plug-in.