- This topic has 8 replies, 3 voices, and was last updated 5 years, 2 months ago by
Tom.
-
AuthorPosts
-
January 19, 2018 at 12:25 pm #475167
lionel
Hi Tom
I placed a shortcode in a Elementor widget at http://www.fastprintingpr.com at the bottom of the page and although I can see the result in Backend it does not show at Frontend. It has to be something with the Theme since when I change Theme I can see the result in Frontend. Can you check?
Right now there are two widgets one with the shortcode and the other with Elementor Maps Widget. The one seen at Frontened is the one of Elementor.
GeneratePress 2.0.2January 19, 2018 at 7:36 pm #475340Leo
StaffCustomer SupportHi there,
The map widget? I can see it: http://www.screencast.com/t/SLhodj7uFXZf
There isn’t a specific setting in GP that hide elementor shortcode.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 20, 2018 at 1:22 am #475397lionel
Hi Leo;
Did you read my querry? The snapshot I sent you shows which of the widget should be shown, besides that it says: Right now there are two widgets one with the shortcode and the other with Elementor Maps Widget. The one seen at Frontened is the one of Elementor.
The widget which I refer is the one I need to be shown and it is marked in the backend screenshot included.
Thanks;
Lionel
January 20, 2018 at 2:47 am #475458lionel
Hi Leo
Regarding: There isn’t a specific setting in GP that hide elementor shortcode.The issue is that the Theme does not shows the final result of the code. To make it clearer I created the Contact Page http://www.fastprintingpr.com/contacto/ and gave a blue color background to the section wher I placed the -HTML Code Widget containing the [hmapsprem id=1] code.
If you go to the link you will see just a blue strip and not the map that is supposed to be shown
But if I change Theme you can see the map
Hope you understand now
January 20, 2018 at 9:24 am #475755Tom
Lead DeveloperLead DeveloperLooks like that shortcode is requiring jQuery, but the developer didn’t list it as a requirement to their script.
You can force jQuery to load like this, but I would also contact the shortcode developer and ask them to make sure jQuery is required in their script:
add_action( 'wp_enqueue_scripts', 'tu_load_jquery' ); function tu_load_jquery() { wp_enqueue_script( 'jquery' ); }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJanuary 20, 2018 at 11:19 am #475819lionel
Thanks Tom;
As I said I am no coder. Where do I need to place this?
January 20, 2018 at 2:12 pm #475926Tom
Lead DeveloperLead DeveloperThis should help: https://docs.generatepress.com/article/adding-php/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJanuary 20, 2018 at 2:35 pm #475933lionel
Wow Tom, you are a man for the history. It is working now. Really a million Thanks.
January 20, 2018 at 9:44 pm #476079Tom
Lead DeveloperLead DeveloperGlad I could help! 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.