I'm trying to run a shortcode within this code and the shortcode gets stripped. This is at the end of a parametric search view. It's a button styles with a shortcode.
[wpv-no-items-found]
[wpml-string context="wpv-views"]Sorry your search offered no results. [intense_button color="#c9e2e1" font_color="#000000" hover_color="#ffffff" hover_font_color="#000000" size="medium" link="2695" border="1px solid #c9e2e1" border_radius="15px"]Click for Help
[/intense_button] [/wpml-string]
[/wpv-no-items-found]
When you say the shortcode gets stripped you are saying it doesn't get render at all correct?
If so then you need to add the shortcode name to our views 3rd party shortcode arguments.
This setting is location at Views -> Settings -> Compatibility, all you need to do is add "intense_button" to the terms and it should start working now.
Here is a link to the page. If you run a keyword search with "256" which will not be found. The info not found will show up. The "Click Here" should be styles by the Intense_Button
hidden link
I have attached an image of the changes I made in the settings.
Is there a debug I can look to see where it's getting stripped?
Here is a link to an example of what that button should look like.
hidden link
I have used these shortcodes all through out the filter section of the view and in the past with the main body of the loop section. Just never tried it with the item not found section.
As suspected the issue is because of the AJAX filter. You see because the button is not loaded on a full page refresh then the css styling for the button isn't loaded.
The button is loaded through Ajax so the intense plugin does not know that the button is actually there for it to load the styling for it.
If we disable the AJAX for our views and search you will be able to see the button loading correctly.