Hello ! Congratulations on the great job. I have several small problems: 1/ In the main menu I have added images to translate the page. When you hover over them, they disappear. They are only seen when the mouse is out of the area. Attached images for verification and url. 2/ When I activate ajax. The effects are great but it doesn't load the pages correctly. How can it be solved? Happen with PDF viewer, crocoblock image gallery and video gallery
Can you please send me the solution to the problem?
1. regarding the menu language flags I can fix that if you re enable them and then provide wp admin access in a private comment with full rights using appearance -> theme file editor
2. the pb is that Ajax page transitions load the target page content container within the original page. Since the target page is not loaded normally the <head> and <body> elements will stay the same.
Since a lot of plugins are using javascript initialisation in the head (or the footer) of the page they don't get called in the target page.
you can add add the page containing the pdf viewer as custom menu link in the menu therefore bypassing ajax page transitions
which is needed to operate some changes to fix the pb with language flags in the fullscreen menu
Regarding the other pb you can disable ajax customizer -> general settings AND the preloader in customizer -> preloader settings (which I did, just for you to get a feel of it, you can set it back)
The solution we found is to put all the extra inits in ajaxSuccess event handler as you can see in the child theme we provide in main archive (I attach it here for your convenience, childscript.js file)
So if you know what function to call from the plugin API you can add it there.
Hello, my level of programming is not enough for the theme to work correctly. I think there should be some solution so that it loads the plugins correctly the first time. No need to recharge and no need to be an experienced programmer. I could correct this with one of the plugins I have used, to see if I can do it with the rest of the plugins. He has sent me the example of visual composer.. the theme uses elementor. But you could, for example, with the crocoblock image gallery or with one of these: -video playlist:
The interesting thing about the theme is AJAX, the preloader, the portfolio grid with web gl and the effects as they are now but now the theme when the user navigates it seems that the page does not work. Please can you help me to solve the problem. I have made a backup of the theme. You can try it without installing the child theme so you don't lose your CSS customization.
On the other hand, when the main menu items have been entered in another language, it is displayed correctly, but when the mouse passes over it, it returns to the original language. I send you images when you enter in English but the menu items when you hover over them are shown in Spanish and when you remove the mouse they return to English. Can you please fix it Thanks a lot
so the thing is that each plugin has it's own files and initialization sequence.
you could try adding the plugin files (if you know them) in the footer.php before wp-footer or to enqueue them as theme files in /includes/scripts-config.php
Hopefully this will do the trick. it's a bit of an overhead because the plugin's files will be enqueued even in pages that don't use them, however it may initialize the plugin properly everywhere.
Hello, my question is to know which are the initializers of each plugin. Can you give me an example with the elementor plugin? Are the initialization files always .js or php or both? I would like to have the clearest solution, thank you.
The difficulty here is that each plugin has its own way of initializing itself. That includes php, js and the css and js files enqueued/injected in the header or footer.
So to give you an example these are the CSS files enqueued by Elementor
It's possible for example to add the pages as custom menu links and then those specific pages will be added normally, without ajax. But this implies that you should use the plugins you are interested in pages and not portfolio items.
Hello, just yesterday I managed to enqueue the initialization files but the css styles are broken. You can see the function wp_enqueue_script and wp_enqueue_style in the plugin I have installed codesnippet. Can you tell me the solution to this broken css problem? Thanks
Gj on enqueuing the .js files. The css files are enqueued in the same way, in the header. Where exactly is the codepen link or the link to the page in your site?
Hello, I still don't understand the method to enqueue the initialization script of the plugins so that it can work correctly ajax on the web with your theme. As you can check with the code snippet plugin, there is an exribi code that supposedly should work with wp_enqueue_script and wp_enqueue_style specifically, https://prnt.sc/R6C71QT_7_Bn . https://www.jas.productions/proposta_web_orpesacultura_v2/cultura-orpesa/el-museo/ is the link, it is a portfolio. So when you scroll through that portfolio you will go to the next one, which is the one with the jet elements gallery widget and this is the one with the styles broken as you can see.
By the look of it the mechanism of enqueuing the scripts and styles is correct, the parameters are incorrect. The path to the files to be enqueued. See my prev comment about it.
If you enqueue the plugins files before hand they will be present in all pages and loaded on demand, therefore theoretically guaranteeing that the plugin is initialized everywhere.
Please, can you please fix so that the theme works correctly with the plugins installed. It's a scheduling issue. It is the first time that I bought a theme and I have this problem of operation....
We do not know what to do anymore. They are three weeks trying to solve the problem of loading any plugin with ajax...
Please fix the bug. I can not wait more time. Thanks
both when you load the page directly into the browser (so no ajax) and via a menu item with ajax enabled (I added an extra menu item for testing - you can remove it)
when i look in the page source I see 31 occurrences for the eventON plugin (the plugin displaying the maps)
1. you need to have all the plugins's CSS files enqueued (checked)
2. you need to have all the plugins's JS files enqueued (checked)
3. extra initialization performed by the plugin when one of its elements (map in this case) is detected in the page
So 3 is the issue. Because you start from a page that does not have a map (home page) And unless the plugin has a documented API it's pretty hard to come by. We prepared a function in /js/scripts.js where you can add the extra code. I understand your frustration here but here is the maximum help I can give. Goes without saying that if you want a refund we will give it back without problems.
Hello, in the theme when I try to create a popup with elementor there is no way to see the elements to be able to edit them, the black screen background with white letters does not allow you to see the sections or move objects.
You say: "there is no way to see the elements to be able to edit them, the black screen background with white letters does not allow you to see the sections or move objects"
Where exactly? page name , scrreenshot so we can understand what you are trying to do and what is stopping you from doing it.
If this is about the top hero section - that's not editable and it's implemented in /sections/hero_section_container.php
Hello ! Congratulations on the great job. I have several small problems:
1/ In the main menu I have added images to translate the page. When you hover over them, they disappear. They are only seen when the mouse is out of the area. Attached images for verification and url.
2/ When I activate ajax. The effects are great but it doesn't load the pages correctly. How can it be solved? Happen with PDF viewer, crocoblock image gallery and video gallery
Can you please send me the solution to the problem?
Hello Jorge,
thank you for your appreciation.
1. regarding the menu language flags I can fix that if you re enable them and then provide wp admin access in a private comment with full rights using appearance -> theme file editor
2. the pb is that Ajax page transitions load the target page content container within the original page. Since the target page is not loaded normally the <head> and <body> elements will stay the same.
Since a lot of plugins are using javascript initialisation in the head (or the footer) of the page they don't get called in the target page.
you can add add the page containing the pdf viewer as custom menu link in the menu therefore bypassing ajax page transitions
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
Hello Jorge,
That's great - I was able to login but I noticed that in the backend I was not able to access Appearance -> Theme File Editor
https://prnt.sc/l7HzvugwWHpm
which is needed to operate some changes to fix the pb with language flags in the fullscreen menu
Regarding the other pb you can disable ajax customizer -> general settings AND the preloader in customizer -> preloader settings (which I did, just for you to get a feel of it, you can set it back)
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
Hello!!! Great ! Please can you explain me how to do "code the plugin initialization in at the end of the ajax call"
Many thanks!
Hello Jorge,
The solution we found is to put all the extra inits in ajaxSuccess event handler as you can see in the child theme we provide in main archive (I attach it here for your convenience, childscript.js file)
So if you know what function to call from the plugin API you can add it there.
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
I'll try it and I'll tell you how it goes...
See for example how we call the function initializating the WP Bakery Page Builder
https://prnt.sc/dgXoYiKdjo9l
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
Hello, my level of programming is not enough for the theme to work correctly. I think there should be some solution so that it loads the plugins correctly the first time. No need to recharge and no need to be an experienced programmer. I could correct this with one of the plugins I have used, to see if I can do it with the rest of the plugins. He has sent me the example of visual composer.. the theme uses elementor. But you could, for example, with the crocoblock image gallery or with one of these:
-video playlist:
https://www.jas.productions/proposta_web_orpesacultura_v2/cultura-orpesa/videoteca-correfocs-i-fuegos/
-croco image gallery
https://www.jas.productions/proposta_web_orpesacultura_v2/cultura-orpesa/galeria-del-museu/
PDF viewer
https://www.jas.productions/proposta_web_orpesacultura_v2/cultura-orpesa/revista-octubre-noviembre-diciembre/
Service Map
https://www.jas.productions/proposta_web_orpesacultura_v2/mapa-de-servicios/
The interesting thing about the theme is AJAX, the preloader, the portfolio grid with web gl and the effects as they are now but now the theme when the user navigates it seems that the page does not work. Please can you help me to solve the problem. I have made a backup of the theme. You can try it without installing the child theme so you don't lose your CSS customization.
On the other hand, when the main menu items have been entered in another language, it is displayed correctly, but when the mouse passes over it, it returns to the original language. I send you images when you enter in English but the menu items when you hover over them are shown in Spanish and when you remove the mouse they return to English. Can you please fix it
Thanks a lot
Hello! You have an answer for me?
Hello Jorge,
first of all, Happy New Year!
so the thing is that each plugin has it's own files and initialization sequence.
you could try adding the plugin files (if you know them) in the footer.php before wp-footer or to enqueue them as theme files in /includes/scripts-config.php
https://prnt.sc/nLUUSY28iBFT
https://prnt.sc/0bazO-D2vVd5
Hopefully this will do the trick. it's a bit of an overhead because the plugin's files will be enqueued even in pages that don't use them, however it may initialize the plugin properly everywhere.
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
Hello, my question is to know which are the initializers of each plugin. Can you give me an example with the elementor plugin? Are the initialization files always .js or php or both? I would like to have the clearest solution, thank you.
Hi Jorge,
The difficulty here is that each plugin has its own way of initializing itself. That includes php, js and the css and js files enqueued/injected in the header or footer.
So to give you an example these are the CSS files enqueued by Elementor
https://prnt.sc/Gga75c1ia_Kh
and these are the js files enqueued by Elementor
https://prnt.sc/fTZjCtufZfaO
So unless you have an intimate knowledge of the plugin it's impossible to know ahead what are the files init.
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
It's possible for example to add the pages as custom menu links and then those specific pages will be added normally, without ajax. But this implies that you should use the plugins you are interested in pages and not portfolio items.
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
Hello, just yesterday I managed to enqueue the initialization files but the css styles are broken. You can see the function wp_enqueue_script and wp_enqueue_style in the plugin I have installed codesnippet. Can you tell me the solution to this broken css problem? Thanks
Hello Jorge,
Gj on enqueuing the .js files. The css files are enqueued in the same way, in the header. Where exactly is the codepen link or the link to the page in your site?
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
https://www.jas.productions/proposta_web_orpesacultura_v2/cultura-orpesa/el-museo/ is the link, it is a portfolio. So when you scroll through that portfolio you will go to the next one, which is the one with the jet elements gallery widget and this is the one with the styles broken as you can see.
Hello Jorge,
You have some 404 errors in your page, for example
https://www.jas.productions/proposta_web_orpesacultura_v2/wp-content/plugins/code-snippets/php/assets/css/jet-elements-skin.css?ver=6.1.1
I get a 404 (page not found error)
https://prnt.sc/TqKCZXwytM5G
And this is the screenshot from the browser console
https://prnt.sc/hsGVI-YfVH1L
That means the url to the css is incorrect
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
Hello, I still don't understand the method to enqueue the initialization script of the plugins so that it can work correctly ajax on the web with your theme. As you can check with the code snippet plugin, there is an exribi code that supposedly should work with wp_enqueue_script and wp_enqueue_style specifically, https://prnt.sc/R6C71QT_7_Bn . https://www.jas.productions/proposta_web_orpesacultura_v2/cultura-orpesa/el-museo/ is the link, it is a portfolio. So when you scroll through that portfolio you will go to the next one, which is the one with the jet elements gallery widget and this is the one with the styles broken as you can see.
Hello Jorge,
By the look of it the mechanism of enqueuing the scripts and styles is correct, the parameters are incorrect. The path to the files to be enqueued. See my prev comment about it.
If you enqueue the plugins files before hand they will be present in all pages and loaded on demand, therefore theoretically guaranteeing that the plugin is initialized everywhere.
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
Hello, I don't know why you put that url in your comment https://www.jas.productions/proposta_web_orpesacultura_v2/wp-content/plugins/code-snippets/php/assets/css/jet-elements-skin.css?ver=6.1.1 because if you look at the script that I'm going to enqueue it's jet-elements but in your url you put code-snippet , so that's wrong. You can help us correct the items to be queued since we are running out of time and we must deliver the project.
Hello Jorge,
I put that link because if I go here:
https://www.jas.productions/proposta_web_orpesacultura_v2/cultura-orpesa/el-museo/
and I open the browser console I get a bunch of 404 errors related with CSS files. 404 HTTP error means file not found.
https://prnt.sc/QMvfZ1GWdMqb
One of them is related with jet skin elements
https://www.jas.productions/proposta_web_orpesacultura_v2/wp-content/plugins/code-snippets/php/assets/css/jet-elements-skin.css?ver=6.1.1
And it looks that you have HTTP errors related with .js files.
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
Hello...
Please, can you please fix so that the theme works correctly with the plugins installed. It's a scheduling issue. It is the first time that I bought a theme and I have this problem of operation....
We do not know what to do anymore. They are three weeks trying to solve the problem of loading any plugin with ajax...
Please fix the bug. I can not wait more time. Thanks
Hello!
here's can you test without anything broken because ajax it's off
the pass and user it's the same...
https://www.jas.productions/orpesacultura/wp-admin/
you have total freedom to install and fix the bug with all plugins
If you activate ajax you will see that they do not load any plugin the first time. PDF flipbook, jet gallery, wp maps pro....
yo can do all you want to fix
What is the page url with jet gallery? That is not broken
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
https://www.jas.productions/orpesacultura/cultura-orpesa/galeria-del-museu/
Thanks but looks like is working now?
if I go directly:
https://prnt.sc/Qq7RAGCJLv-p
if i go through ajax:
https://prnt.sc/jixvuRxBvFBm
https://prnt.sc/333644_g62g8
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
Sure because Ajax it's off, activate and enter for example here:
https://www.jas.productions/orpesacultura/cultura-orpesa/mapas-informativos/
https://www.jas.productions/orpesacultura/cultura-orpesa/revista-agenda-cultural-enero-febrero-marzo/
https://www.jas.productions/orpesacultura/cultura-orpesa/videoteca-correfocs-i-fuegos/?playlist=13ec4830&video=74f2b1b
You can see without ajax, no preloader, no effects...
Please activate ajax and fix the bugs for diferents plugins...
Thanks...
By another side ... I bought Harrington theme too :)
Hello Jorge,
I made a case study here
https://www.jas.productions/orpesacultura/cultura-orpesa/mapas-informativos/
both when you load the page directly into the browser (so no ajax) and via a menu item with ajax enabled (I added an extra menu item for testing - you can remove it)
when i look in the page source I see 31 occurrences for the eventON plugin (the plugin displaying the maps)
https://prnt.sc/5U2WtwIIkDqz
(you can try yourself)
but when loaded via AJAX it displays a blank map.
So, in order for a plugin to work
1. you need to have all the plugins's CSS files enqueued (checked)
2. you need to have all the plugins's JS files enqueued (checked)
3. extra initialization performed by the plugin when one of its elements (map in this case) is detected in the page
So 3 is the issue. Because you start from a page that does not have a map (home page) And unless the plugin has a documented API it's pretty hard to come by. We prepared a function in /js/scripts.js where you can add the extra code. I understand your frustration here but here is the maximum help I can give. Goes without saying that if you want a refund we will give it back without problems.
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
Hello, in the theme when I try to create a popup with elementor there is no way to see the elements to be able to edit them, the black screen background with white letters does not allow you to see the sections or move objects.
Hello Jorge,
Where, which page exactly? I guess the Admin wp credentials are the same...
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
try to create a popup from scratch, no templates, impossible to see session boundaries, or elements.
https://www.jas.productions/proposta_web_orpesacultura_v2/wp-admin
User: [email protected]
Pass: JasProductions2023@
Hello Jorge,
great, thanks for the wp admin access
You say: "there is no way to see the elements to be able to edit them, the black screen background with white letters does not allow you to see the sections or move objects"
Where exactly? page name , scrreenshot so we can understand what you are trying to do and what is stopping you from doing it.
If this is about the top hero section - that's not editable and it's implemented in /sections/hero_section_container.php
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio