Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › PHP shortcode for DIVI dosnt work for blog posts
This topic contains 2 replies, has 2 voices, and was last updated by supertaz 4 years, 3 months ago.
- November 29, 2018 at 10:09 pm #20194
I cant get the php shortcode to work at DIVI blot posts type template.
https://www.casinostartbonus.com/wp-admin/admin.php?page=et_divi_options =>> Integration =>> I have added the code at the top of blog posts field.
There I’ve added the php code:
<?php echo do_shortcode(‘[wpdreams_ajaxsearchpro id=1]‘); ?>
But nothing happen when I open blog posts. I can see the php code when I view source of a blog post, and I have tried to use the shortcode [wd_asp id=1] and that didn’t work either.
Exsample of blog post: https://www.casinostartbonus.com/spilleautomater/wild-toro/
Shortcode added at my frontpage: https://www.casinostartbonus.com/ and at that page the search box works 🙂
How can I get the search box to work at blog posts type template?
Best regards Steffan Taszarek
Support purchase codes
f7a06c01-0a81-47db-ab60-23494a9520a6November 30, 2018 at 12:49 pm #20203
I think those modules does not support shortcodes or php code either, or it does not look like it. I think you might need to ask the Divi developers, if there is any other way to append shortcodes/PHP there. Maybe there is a different way of using a module of some sort?Best,
If you like my products, don't forget to rate them on codecanyon :)
December 1, 2018 at 3:14 am #20210
okay 🙂 Thx for your reply. I will contact Elegant Themes (DIVI) about the problem.
I will try to see if the modules can be used different then…
You must be logged in to reply to this topic.