-
AuthorPosts
-
May 2, 2018 at 4:56 pm #950146
Hi, Kriesi-Team.
If I open any of my projects under “Einblicke”, the ajax portfolio preview suddenly shows the content (images and text) two times.
Is it possible that this is related to the Enfold update I just made before?
Please let me know how to undo this.Thanks in advance.
Best regards, FKM
May 4, 2018 at 4:13 am #951221Hey FKMZ2,
Sorry, I’m not sure I understand correctly, because when I look under “insights” I see no content. Please advise.Best regards,
MikeMay 4, 2018 at 10:58 am #951516Hi, Mike.
Thank you very much for your reply.Please “click” on each item under “insights” (“Einblicke”) to open the content (ajax portfolio preview).
Then please scroll down and you´ll see the images and the text has doubled.Thanks in advance.
Best regards, FKM
May 7, 2018 at 9:49 am #952553Hi,
Thank you for the update. I was able to reproduce the issue but I’m not sure what caused it. Did you add any modifications prior to the issue? Please disable the modifications and third party plugins temporarily.
Best regards,
IsmaelMay 8, 2018 at 11:19 am #953305Hi, Ismael.
Thanks you very much for your reply.
I didn´t add any modifications or other plugins prior to the issue – at least not that I´d be aware.
Recently I had to move the webiste to another hosting provider. Could that be a possible cause?
The first time I noticed the issue, was at the check just after the latest theme update.Thanks a lot in advance for an advice.
Best regards, FKM
May 9, 2018 at 3:58 pm #954007Hi FKMZ2,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaMay 9, 2018 at 4:10 pm #954018Hi, Victoria.
Thank you very much for your reply.
Best regards, FKM
May 10, 2018 at 2:45 pm #954587Hi FKMZ2,
You have shortcodes.js in your child theme, did you update the file with a fresh copy?
Best regards,
VictoriaMay 14, 2018 at 10:39 am #956355Hi, Victoria.
Thx a lot for your reply.
I didn´t fresh up any file before updating the theme (I do not even know how to do this).
So I need to find out what and where those shortcodes.js are and update them?Best regards, FKM
May 14, 2018 at 10:51 pm #956724Hi,
The best solution is to delete the previous theme from FTP and them upload again.
Let us know if you done and if it solved the issue.Best regards,
BasilisJune 4, 2018 at 12:04 pm #966473Hi,
thank you very much for your reply and please excuse my late answer.
I asked a versed fried of mine (the same who created the child theme for me then) to update the file with a “fresh copy” like Victoria advised me.
Unfortunately the issue with the double content at the ajax portfolio preview was not solved with this.So the next step/try is to delete the previous theme from FTP and upload again like Basilis told me to do?
Best regards, FKM
June 4, 2018 at 1:49 pm #966500Hi,
If I understand correctly, you updated the shortcodes.js in your child theme and this didn’t solve after clearing your browser cache and any cache plugin?
In this case deleting the enfold theme folder (parent theme) and uploading a new copy of it would be a good idea.Best regards,
MikeJune 5, 2018 at 4:39 pm #967303Hi, Mike.
Thx a lot for your reply.
Yes, you are right, the shortcodes.js was updated by a friend of mine.
And I think (don´t know) I don´t have any plugin activated that uses caches.
Unfortunatelly it doesn´t solve the issue (but it does solve an issue I had before with google maps).So please let me know if there´s a way (tutorial etc.) for rookies like me to handle the deleting and uploading of the theme or should I prever to hire a pro for this task?
Best regards, FKM
June 7, 2018 at 3:38 am #968155Hi,
I have found that disabling your child theme shortcodes.js, by removing your enqueue script from your functions.php solves your issue:function wp_change_shortcodesjs() { wp_dequeue_script( 'avia-shortcodes' ); wp_enqueue_script( 'avia-shortcodes-child', get_stylesheet_directory_uri().'/js/shortcodes.js', array('jquery'), 2, true ); } add_action( 'wp_print_scripts', 'wp_change_shortcodesjs', 100 );
Please check.
Do you have custom coding in your child theme shortcodes.js? Do you really need it?To answer your question about deleting and uploading of the theme, this is a easy process that you can do yourself.
1: Using either FTP or your webhost file manager, go to /wp-content/themes/ and delete the folder /enfold/
1a: if this worries you, you can also rename it to /enfold-old/ to deactivate it.
2: Then upload your new version, or fresh copy, of enfold to the same place as /enfold/
3: Now go to your site and refresh your browser, and your done.
*note that once in a while you will get a message in your browser window, “Briefly unavailable for scheduled maintenance. Check back in a minute.” This is WordPress getting it’s self ready for the new version of the theme or plugin and is normal, and refreshing your browser should solve. If goes on for a long time, check this solution
3a: If all is working well then you should delete your /enfold-old/ folder as it is not needed and will make your “Themes” option page in WordPress look confusing. If the new theme update causes issues and you want to go back to the way it was, then delete the new /enfold/ and then rename the /enfold-old/ back to /enfold/
Hope this helps.Best regards,
MikeJune 7, 2018 at 10:34 am #968488Hi, Mike.
First of all: it does help, it works – awesome!
Thank you so much. :)And also thank you very much for your instruction about deleting and uploading of the theme.
To be honest, I´m not sure if I have custom coding in my child theme shortcodes.js.
But I will find out and if applicable I will find out if I really need it or not.Thanks again: Great WP theme. Great support.
Best regards, FKM
June 7, 2018 at 1:41 pm #968753Hi,
Glad to hear. Typically the only reason to add a file to a child theme is to preserve a code customization that has been made to it.
We will leave this open until you can find out if this is true for you, and if we need to assist with a solution that will not cause the same error.Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.