-
AuthorPosts
-
October 26, 2020 at 7:48 pm #1255817
Hi!
I installed a child theme via Dashboard following the instructions here: https://kriesi.at/documentation/enfold/child-theme/#toggle-id-4
Upon refreshing my webpage, the font type, and the color of some buttons and bold fonts have changed. I deactivated the child theme and activated the original theme, plus imported a saved version of an earlier theme settings file, still, the above things did not go back to how I set them originally. When looking at the settings I see them in the right way, but they show up in the wrong way on my webpage. What could be the problem?P.S.: I do not care about the child theme anymore. I just want to fix the appearance to look the way it was before installing the child theme.
October 27, 2020 at 2:55 pm #1256085Hey marotiem,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( to be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.Best regards,
NikkoOctober 27, 2020 at 6:22 pm #1256157Hi Nikko,
Thank you for your response. See below my credentials for the temporary account. Please note, that my webpage and admin page is in Hungarian. Hope it won’t be a problem.
Best,
EmeseOctober 28, 2020 at 6:51 am #1256278Hi marotiem,
I have made some changes and it seems that caching from Autoptimize is causing the issue.
After temporarily turning its HTML, JS and CSS Optimization, and re-saving the Theme Options worked.
Can you try to check again? and let us know which parts still have issues.Best regards,
NikkoOctober 28, 2020 at 11:58 am #1256330Hi Nikko,
Thank you, everything seems ok. I have two more questions. First, how can I prevent this from happening again in the future? Second, how can I create a new folder in the child theme? (I want to create an includes folder with loop-index.php in order to modify the “Read more” link text.) I have read your instructions in another thread, but cannot figure out how to create a new folder in the child theme. There is no way inside the Theme Editor on the WordPress admin page. I assume I should do it elsewhere.
Best regards,
EmeseOctober 28, 2020 at 12:48 pm #1256346Hi Emese,
To prevent it from happening in the future, I would suggest flushing out the cache from caching plugins and Autoptimize and disable it temporarily before upgrading so newer theme files are fetched by the browser and served by the server.
For the second question, there are multiple ways to create, if you have access to cPanel or FTP then you can create there: https://www.doteasy.com/cpanel-hosting-features/cpanel-file-manager-creating-a-new-file-or-new-folder
Another way is to use a File Manager plugin (you can search for it in the plugins)Best regards,
Nikko- This reply was modified 4 years ago by Nikko.
October 28, 2020 at 2:12 pm #1256388Hi Nikko,
Thank you for your answer. I need some more clarifications. What are the cashing plugins? How do I identify them? Do I have to flush the cache before updating Enfold too?
Also, in cpanel, where do I find the folder for the child theme? In public html, there is a wp_includes folder, but it’s not the one in which I have to insert the loop-index file.Best regards,
EmeseOctober 29, 2020 at 6:00 am #1256578Hi Emese,
Caching plugins are plugins that compresses your site and creates a static version of it, basically, it makes your site faster however the downside of it is the changes you make may not show up instantly and sometimes makes troubleshooting hard. Usually, these plugins have Cache in its name (for example WP Super Cache, LiteSpeed Cache, W3 Total Cache), Autoptimize is a plugin that can be used along with these plugins mentioned and it also has its own caching.
As for the folder, you should go to public_html > wp-content > themes > enfold-child, this is where you create the includes folder.Best regards,
NikkoOctober 29, 2020 at 10:58 am #1256651Hi Nikko,
Thank you for your answer. I successfully created the folder and copied the file, however, changing the line in the script did not make any changes on my website. Here is a screenshot of the line I changed (I changed them in both section below each other). Could you tell me if I did it right, and if not, what’s the right way?
Best regards,
EmeseOctober 29, 2020 at 2:37 pm #1256737Hi Emese,
I could not see the image, please try to upload it here: https://imgur.com/
Then post the link on this thread after.Best regards,
NikkoOctober 30, 2020 at 11:01 am #1257009Hi Nikko!
Here is the link for the image: https://imgur.com/C1NFn2Z
I checked today my Blog page, and now it does not display anymore and I get a message saying this page encountered a serious problem.Best regards,
Emese- This reply was modified 4 years ago by marotiem.
October 31, 2020 at 5:15 am #1257205Hi Emese,
I think the one you need to change is in enfold > config-templatebuilder > avia-shortcodes > postslider > postslider.php (line 685):
$permalink = '<div class="read-more-link"><a href="' . get_permalink( $the_id ) . '" class="more-link">' . __( 'Read more', 'avia_framework' ) . '<span class="more-link-arrow"></span></a></div>';
To implement this in a child theme, you’ll need to follow the instructions in https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb
Best regards,
NikkoOctober 31, 2020 at 5:12 pm #1257250Hi Nikko!
I changed the line you said, but still no change on my website.
Best regards,
EmeseOctober 31, 2020 at 6:38 pm #1257282Hi Emese,
I have checked your functions.php and saw that this code was commented out (I have already removed the comment):
add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths) { $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; }
Please check again :)
Best regards,
NikkoNovember 1, 2020 at 5:51 pm #1257463Hi Nikko,
This time the text has changed. However, the links do not work. They do not open the blog posts, and they give an error message: A serious error occured in our website.
Best regards,
EmeseNovember 2, 2020 at 10:11 pm #1257722Hi marotiem,
Can you please check the server log for error?
Best regards,
VictoriaNovember 3, 2020 at 3:08 pm #1258017Hi Victoria,
Here is the error message I got:
Parse error: syntax error, unexpected ‘$blog_content’ (T_VARIABLE) in /home/eletmene/public_html/wp-content/themes/enfold-child/includes/loop-index.php on line 70
It’s this line: $blog_content = ‘excerpt_read_more’;
If I remove it, I get further error messages about upcoming lines that has $blog_content in it.
I do not dare to remove them all. I suppose they must be necessary for displaying the contents of my blog.
So I put the lines back how they were. What do you recommend me to do?Best regards,
EmeseNovember 3, 2020 at 5:41 pm #1258069Hi Emese,
It’s fixed, I have copied and pasted (line 69-71) of my loop-index.php (which actually is the same) and it seems to fix it :)
Let us know if you need further assistance.Best regards,
NikkoNovember 4, 2020 at 4:43 pm #1258329Hi Nikko,
It works great! Thank you so much :)
I just have one more question. I updated the enfold theme, and since then I am keep getting the following messages in my wp admin page. Since I got these messages, my page does not update the changes I edit, and it is also very slow. I do not understand what am I supposed to do according to these messages. Can you please explain?
I included the messages in the private content. (The first one in Hungarian asks to replace something, I just do not know if I should edit the file or install a plug-in. As for the others, should I do something or just ignore them?)Best regards,
EmeseNovember 4, 2020 at 6:36 pm #1258384Hi Emese,
Can you post the messages? if it’s Hungarian, we’ll just try to translate it with Google translate.
Best regards,
NikkoNovember 6, 2020 at 12:51 pm #1258847Hi Nikko!
For some reason, the messages were not sent in the private content. I attached them again, also I uploaded a screenshot of them, just in case. https://imgur.com/4r7Pzwl
Best regards,
EmeseNovember 6, 2020 at 1:01 pm #1258850Hi Nikko!
I tried to access my dashboard today, and it does not open anymore. It only displays the messages. I am able to see my webpage, but no access to my dashboard.
Best regards,
EmeseNovember 7, 2020 at 5:43 pm #1259064Hi Emese,
The site access has also expired.
Can you give us FTP access, so we can check on the files?
And also, since you mentioned you can’t access the backend, can we request the credentials you use? once the issue is fixed, just change the password.Best regards,
NikkoNovember 8, 2020 at 7:27 pm #1259125Hi Nikko,
I give you the access and I am sending my FTP and WordPress credentials in the private content.
Best regards,
EmeseNovember 9, 2020 at 5:34 am #1259171Hi Emese,
I tried to access FTP but I’m getting this error:
Response: 550 PWD: Permission denied Error: Failed to retrieve directory listing
Best regards, Nikko
November 9, 2020 at 8:16 pm #1259381Hi Nikko,
I tried to access FTP from my computer with the same credentials using Filezilla, and I was able to get access. I am sending you the credentials again. What do you think is the problem on your end?
Best regards,
EmeseNovember 10, 2020 at 4:50 am #1259458Hi Emese,
The issue showing seems not be of an invalid login but more of a security one.
Some regions may not be allowed access, can you try to temporarily allow other regions? or atleast try to whitelist my current IP (remove it once the issue is fixed).Best regards,
NikkoNovember 10, 2020 at 11:58 am #1259528Hi Nikko,
The access is granted for you.
Best regards,
EmeseNovember 11, 2020 at 4:30 am #1259753Hi Emese,
Thanks, I could access the FTP.
I tried to rename the plugins folder which now don’t show the errors and would redirect to the login page however when I use the email address and password combination, I get this:
Unknown email address. Check carefully or use the username.
If I would use the username and password then I would get the error posted in private content.
You can do the same procedure by accessing via FTP then just rename plugins folder with anything else (renaming it back to plugins should make all the plugins work again).
It’s hard to proceed from here unless we can have access to cPanel and change the password directly in the database, I would suggest doing the procedure I mentioned and try to login.
The issue is most likely caused by one of the plugins.Best regards,
NikkoNovember 11, 2020 at 4:49 pm #1259924Hi Nikko,
I was able to login to my dashboard, but I still see the messages, even after renaming and renaming back the plugins folder. Since I could access my dashboard I gave you temporary access again, so you can login to my dashboard. I also did a screenshot of the messages on my dashboard and uploaded it to this link: https://imgur.com/bqL2TpC.
Can you please see what is going on?Best regards,
Emese -
AuthorPosts
- The topic ‘website fonts and colors change after importing parent theme settings’ is closed to new replies.