Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Shortcode Won't Display
- This topic has 7 replies, 2 voices, and was last updated 6 years, 1 month ago by
escapecadet82.
-
AuthorPosts
-
April 15, 2020 at 8:54 am #26730
escapecadet82
ParticipantHi guys,
I’ve using the settings panel displayed in a separate widget with Elementor. I got it to work on escapecadet.com/accommodations, but now I’m trying to use it on my shop page.
I’ve displayed the shortcode properly on the website, but it won’t appear. You can view this issue at escapecadet.com/shop — the shortcode should be showing a settings panel on the left hand side.
I’m using a custom post type for the shop page. Not sure if this effects the shortcode display. Any ideas as to what might be causing this? Have you run into a problem with the shortcode not displaying in the past?
Used both shortcode settings with and without ‘div’ attached.
April 15, 2020 at 10:29 am #26743Ernest Marcinko
KeymasterHi,
I think the problem is, that you don’t have the search bar on the page anywhere, at least I can’t see it. The settings shortcode works in combination with the search bar – to move the settings outside of the scope of the search, not individually.
If you only want to display the settings, then turn on this option, and then simply use the search shortcode, not the settings shortcode. That way the search is hidden, and the settings are visible.
April 15, 2020 at 9:05 pm #26751escapecadet82
ParticipantGood call.
So I’ve done that, but now the shortcode will only display when previewing the page on Elementor. When I check the live page, it still will not display.
I attached a screenshot showing how it displays on preview. To see it not display live, you can visit escapecadet.com/shop. Tried clearing the cache on my browser but to no avail.
I’ve made an admin account for you :
[email protected]
yZohx7dhE8hsEL47V*2SWZBxCould you lend a hand here? I also tried adding the css class into the elementor widget to live load results, but that does not seem to work.
April 16, 2020 at 12:32 pm #26764Ernest Marcinko
KeymasterHi,
Thanks, I checked, and still the old shortcode was in use: https://i.imgur.com/zebR7Zg.png
I changed that to the search shortcode, now it is all right.April 16, 2020 at 6:04 pm #26783escapecadet82
ParticipantOh, wow. I’m an idiot.
Glad I didn’t make things too challenging on you — thank you for the speedy help! Really appreciate it.
April 16, 2020 at 6:06 pm #26784escapecadet82
ParticipantIt does look like there’s still a selector issue, however.
While using the filter options on the search shortcode, it doesn’t property filter the results in the Elementor widget. Do you know why that may be?
April 17, 2020 at 8:02 am #26790Ernest Marcinko
KeymasterAre you using the native elementor Posts widget? Because that does not look like that from looking at the source – it looks like some sort of an extension widget to Elementor. Those may work very differently, if they use different filters than the built-in elementor posts widget, then it won’t work.
April 17, 2020 at 8:25 am #26792escapecadet82
ParticipantIt is not the native Elementor post widget, it’s provided by Dynamic.ooo
I’ve tried different selectors, but it hasn’t worked. Bummer to hear that there isn’t a workaround with that.
-
AuthorPosts
- You must be logged in to reply to this topic.