Shortcode will not function within a Formidable View – but did before?
-
Your plugin is perfect (and the only one like this that I can find)! I had it all working and then a few days later it did not and will not.
It works as it should when used on a page. I had set it up to be part of a “View” created in Formidable Forms (just some HTML coupled with dome field content from a form that creates a “view shortcode” placed on a page. It handles shortcodes within the view fine and it worked perfectly with your shortcode – ubtil it didn’t. There was no change in the Formidable product or yours during the time it did and didn’t work. I reinstalled both plugins (yours and Formidable) to be sure. I created the simplest test but still when the view is on a page your shortcode returns the current time like 18:45:50 instead of executing the shortcode. The exact same code that is part of the view is what I also placed literally on the page and it works as expected.
You can see the two results on this page: https://businessnaples.com/assoc/holiday-display-test/
Here is what is happening in the two scenarios. For sure this is not an issue with your shortcode as it works on a plain page. Just thought you might have some idea what could be causing this (especially since it was working)
Display using the Formidable View Shortcode
[display-frm-data id=11455 filter=limited]
When page is displayed this appears (the 18:45:50 is the current time when page is opened. The Christmas & New Year content comes from a field id – [1265]):
Display using the Formidable View Shortcode
18:45:50Christmas[/time-restrict-repeat]
18:45:50New Year[/time-restrict-repeat]Display using the same shortcode as page content
[time-restrict-repeat type=”annually” onmonth=”November” offmonth=”December” ondate=”22″ offdate=”10″][1265][/time-restrict-repeat]
When page is displayed this appears Correctly functions – [1265] is the content field code:
Display using the same shortcode as page content
[1265]The page I need help with: [log in to see the link]
- The topic ‘Shortcode will not function within a Formidable View – but did before?’ is closed to new replies.