Nested shortcode for ID
I am trying to integrate BBPress into a site created with Toolset – Layouts, Types and Views.
The following BBPress shortcodes require an ID parameter:
Each of the IDs required above are aliases for the post_id, which Toolset privides a shortcode for. In order to get the templates to work for layouts applied to single Forums, Topics and Replies I need to include the current post ID. The simplest way I can imagine to do this would be as follows?
Unfortunately I get the following output at the front end?
This makes clear to me that nested shortcodes are not supported in the BBPress. Is there a straightforward way of extending this functionality, perhaps through the functions.php file? This would create full compatibility with BBPress and Toolset. I couldn’t find any solutions to this shared on this support forum but it seems to me as something that may be a common problem and could have been tackled before.
I hope you can assist.
- You must be logged in to reply to this topic.