Inserting TC Shortcode within TC Shortcode
-
Hello, so far your plugin has been great, thank-you for creating it.
What I have used it for is to show specific content (a chat room) at several times throughout the week. I’m currently using 6 different rules to make this happen.
Unfortunately, I think this may be causing a resource problem, in that the content I am trying to display dynamically changes based on users visiting the page, and I think that even though the content is hidden, it is still being dynamically ‘changed’.
What I want to try is to have just one rule that would work to show the content. The problem I’m running into is that I want to show the content on different times throughout the week, and it seems that each Timed Content rule is built so that it only allows for one time.
The work-around that I’ve come up with is to use a rule to show the content for all the various times I may need it, and then wrap another rule(s) around it that would hide it on the days that I don’t want to show it.
As a simplistic example, let’s say I want the content to be seen on Tuesday, 4:00-5:00 PM, and on Thursday from 2:00-3:00 PM and 4:00-5:00 PM.
My ‘work-around’ would be to create a (1) rule that shows the content on Tuesday and Thursday from 2:00-5:00 PM, and then create two more rules. (2) hide content on Tuesday from 2:00-4:00, and (3) hide content on Thursday from 3:00-4:00. Unfortunately, it seems that your plugin does not accept timed-content shortcode wrapped in another timed-content shortcode. Would this be easy to change?
Alternatively, is there a way to create one rule that would be able to show the content on different times throughout a week, and repeat on a weekly basis? I’ve tried experimenting with the short-code manually (not using the TC Rule builder), but no success yet.
Thank-you for all your help.
The topic ‘Inserting TC Shortcode within TC Shortcode’ is closed to new replies.