This topic has 30 replies, 3 voices, and was last updated 5 years, 5 months ago ago by Olga Barlow
Currently I have installed version 4.5.3 of the theme and apparently it works fine. If I update it to the latest version (5.0.1) it is a disaster … nothing works anymore, but above all I lose all the long and very expensive customization I did on the portfolio page. Furthermore, the language menu in the mobile version no longer works.
Is there a way to not lose all the months of custom work done previously and still have an updated and secure system?
Hello,
The best way to update site where you made customization is to create the staging site (full copy of the production site) and update theme there first and if everything is ok then update production. Provide us with temporary Dashboard and FTP access to the staging site and we’ll check why you have problems with the update. As a rule, we are able to help and update theme without loosing of the additional customization.
Would you mind to try?
Regards
Hello, I create staging website.
Customization of the portfolio is in these 5 files in the main directory of the child theme:
style.css
functions.php
content-portfolio.php
footer.php
single-etheme_portfolio.php
And in these 2 files in two directories of the main theme (because these files didn’t work in the child):
framework/portfolio.php
js/plugins.js
Now there is the 4.5.3 and all works fine. If you update to the 5.0.1 you’ll see that Porfolio page stops to work correctly.
Hello,
Check the staging site now.
Regards
Thanks a lot for helping me to fix the problems.
If you compare the original site with the staging one, there are still some differences (please see the attached picture that compares both versions), namely:
1. In staging, the sorting of buttons is no more according to the order of “slug” as before (the “tag” order is back)
2. Some tags (“IN EVIDENZA” for example) before were hidden but in staging, they are visible again
3. In staging, close to the tag, under the title, the dots and the years are no more visible
4. In the mobile version, the images are back to one for line, instead of two like in customized original
If you explain to me the difference between version 4.3 and 5.0 I’ll be able to do these changes alone.
If I understand the working model of the new version of the theme, I can do all these changes by myself.
Moreover, as you know I’ve bought 7 licenses of this theme, so I need to do the same changes on other websites too. Therefore please explain to me the changes point by point so that I can replicate them on any website without asking you for every website.
Hello,
Check now, please.
We made moved some functions to WooPress Core plugin, removed some out of date function in the 5.0 version. Probably you faced problem becasue of this.
We made changes in the following files to fix the issues after update:
woopress/page.php(to fix WPML problem with projects and fix will be included in next theme update)
woopress-child/functions.php, woopress-child/content-portfolio.php, woopress-child/portfolio.php
You can compare code with the old version of files to find out what exactly was changed https://text-compare.com/
Regards
Thanks for the explanations, comparing the files I was able to understand the differences and make the same changes on the other sites as well. There are only two small problems.
1)
On the Porfolio page, under each title I had a description, created by adding a small script inside the file woopress-child/content-portfolio.php
Here is the description on the page and the related script that generated it:
Before on 4.5.3 I had:
Web – USA, 2006
<?php child_print_item_cats($postId); ?> – <?php the_field(‘country-portfolio’); ?>, <?php the_date(‘Y’); ?>
Now on 5.0.1 I have:
Web – 2006
<?php child_print_item_cats($postId); ?><?php echo ‘- ‘ . get_the_date(‘Y’); ?>
As you can see, now the piece “USA, ” is missing… but if I add “the_field(‘country-portfolio’);” the page gives an error. What is the right syntax to add it?
2)
With the WooPress Core plugin instead of the old system, the images are loaded with a slightly different effect than before. Usually it’s better now, but I noticed that in the portfolios with lots of images, the script that I had put in the footer to load a certain category to show right away (instead of Show All) now takes some more time to update the page and this generates a bad effect with a slow connection.
I thought I could solve this if it was possible to make the block of images in the portfolio appear with a fade-in effect. I had a similar problem on the home page and at the end, I solved it by setting up images (inside WP Bakery Builder) like FadeIn in CSS Animation field.
Is there a way (perhaps by writing in style.css or in content-portfolio.php) to do the fade-in effect with the block of the portfolio thumbnails?
Hello,
1) There is not any country-portfolio custom field in our theme by default. We did not find that field in your Dashboard. We can’t tell you why it does not appear because we don’t know where it was added. It would be better if you contact the developer who made customization for you to clarify this moment.
2) We have added animation to child theme style.css
.portfolio-item {
animation: fadeIn .3s linear;
}
Check if this is ok for you. Or you can play with other effects that will suit your needs if you have CSS skils.
Regards
Hello,
1) You’re right, in fact it was another website. You had explained to me how to do the changes also to the other sites for which I had bought the theme license. Can you answer me with the data I already gave you above (in order to make the changes alone) or I have to create a staging and an ftp?
2)Thanks. I saw and it was what I wanted. Unfortunately, I had to remove the script because it doesn’t work well … then some images send back semitransparent.
Hello,
1) What error do you get? We need to know the error text. But best of all it’s have access to site and check.
Regards
I solved, many thanks for the help.
Hello,
I am glad that you sorted out.
Have a nice day.
Regards
Hello,
I also noticed another 2 small errors that happen only now with version 5.0 (up to 4.3 I had never noticed them).
1)
In the language menu at the top left, I have three languages: Italian, English and Chinese. The first two are loaded immediately (as it should be) while the third takes a few seconds to appear. This doesn’t always happen, but only when you load the site the first time (or every time you clear the cache).
What can this small mistake depend on?
2)
In the portfolio page (see link1) in each button I have a number between brackets that indicates the number of articles in that section. However, it does not appear on the “Show all” button, before there was, now with version 5.0 no. What should I do to add in portfolio.php? Don’t do it, tell me how to do it so I add it to all my sites with the same theme.
Hello,
1) We are not sure about this because we can’t even reproduce this problem. The theme does not have any transition for the third element of the language list as I know.
2) Provide FTP to check and help you.
Regards
1) Ok
2) After many tests, I was able to solve the problem by myself, adding the code (which with 4.3 was in portfolio.php) now with 5.0 is in functions.php
One thing I haven’t been able to do. Maybe you can tell me how to do it, if it’s simple:
See the attached image (in the pvt content) I would like to put the total number of contents in the text page.
Namely the content of the number A where there is now the text of the number B.
“A” is generated by php code
“B” is now simple static text, I have no idea what the correct code is
Hello,
2) I am glad that you sorted out.
3) Sorry, but it requests additional customization, so I can’t help you in this case – https://themeforest.net/page/item_support_policy
Regards
Hello,
I understand that you cannot provide support for customization, but I would need just ONE information from you that know the theme.
If it were to indicate the total number of “normal” posts I would use this code inside the functions.php file:
function total_portofolio() {
$total = wp_count_posts()->publish;
return $total;
}
add_shortcode('allmedia','total_portofolio');
But this code shows “normal posts” not “8Theme Portfolio Posts”. So, my question is: which string to use in that code to show the total number of projects in the portfolio?
Hello,
Try this one
function total_portofolio() {
$total = wp_count_posts('etheme_portfolio')->publish;
return $total;
}
add_shortcode('allmedia','total_portofolio');
Regards
Hello,
Thank you for your suggestion. It works, but not completely … for example it now shows 230 in each language, instead, it should be: 77 in IT, 76 in EN, 76 in CN.
It is strange then that it shows 230 when the sum of all is 229. In any case, I would like to show the correct number of each language.
I think I should change the central part of the above code, this:
$total = wp_count_posts('etheme_portfolio')->publish;
return $total;
with the this code that shows the number in the buttom:
$i = 0;
while ( $loop->have_posts() ) : $loop->the_post(); $i++; endwhile;
echo $i;
But if I insert this last part in place of the beginning code, the page gives me an error.
Any idea?
Hello,
Please provide URL, wp-admin and FTP access to the mentioned site.
Regards
Hello,
Here is them! Thanks a lot for the help.
Hello,
FTP pass is not correct
Response: 331 User 8theme@raffaeleiannello.com OK. Password required
Command: PASS **************
Response: 530 Login authentication failed
Regards
It’s really weird, just tried on another computer and it works fine.
Could you try again pls?
Are you working on it?
I have just received an email from WordPress that says:
Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with your theme, WooPress Child.
First, visit your website (https://www.*****.com/it/) and check for any visible issues. Next, visit the page where the error was caught (https://www.*****.com/wp-admin/admin-ajax.php) and check for any visible issues.
In addition, now there is a white band on each page, above the header
Hello,
Yes, we have been working. Check site now. http://prntscr.com/oalqes changes we made.
Regards
Hello,
thanks for the change. I saw that now the code is slightly different … but the result is always the same though. That is the number shown is the total number (of the three languages) and not that of the single language as I wanted.
Hello,
Oh, sorry. Seems I misunderstood where exactly you want to change the number. I’ll inform developers and will reply you back once they fix.
Regards
Hello,
Oh, sorry. Seems I misunderstood where exactly you want to change the number. Fixed.
Regards
Hello,
Thank you so much!!! It’s exactly what I wanted.
You can mark as solved this topic.
Regards
Hello,
You are welcome!
Regards
The issue related to '‘A lot of problems with the 5.0 version of the theme’' has been successfully resolved, and the topic is now closed for further responses