-
AuthorPosts
-
July 28, 2016 at 12:15 pm #1107395
Is it possible to create a php page using cornerstone that will allow me to enter a few php snippets directly into an element?
I have tried a few php WordPress plugins but all work with short codes and I cant use a php shortcode within a cornerstone shortcode.
I just need a page that will change based on the URL parameters that lead a visitor to land on the page. These parameters determine the button links and form code.
Can you please help?
July 28, 2016 at 12:17 pm #1107400This reply has been marked as private.July 28, 2016 at 1:41 pm #1107506Hi There,
You can use an Insert PHP Widget and use the widget element in Cornerstone.
You can also paste shortcodes on the RAW Element on Cornerstone.
Hope it helps
Joao
July 28, 2016 at 4:48 pm #1107756This reply has been marked as private.July 28, 2016 at 11:06 pm #1108232Hello There,
Thanks for writing in! Regretfully what you are doing will not work. Shortcodes doesn’t accept any php code. It will just treat it like a normal text. Please do check out this article how you can use php with a shortcode:
https://wordpress.org/support/topic/php-code-inside-shortcodes
https://wordpress.org/support/topic/php-inside-shortcodeAs this is all custom development, regretfully we won’t be able to assist further. Custom development is outside the scope of our support. We’re happy to provide advice and get you started in the right direction, but you would still be responsible for the implementation.
Thank you for your understanding.
-
AuthorPosts