Tagged: x
-
AuthorPosts
-
June 23, 2016 at 11:49 pm #1057585
arpanchhetriParticipantHi,
I am using woocommerce 2.6.1, wordpress 4.5.3, X theme 4.5.2, cornerstone 1.2.4.
I am also using Ultimate WooCommerce Brands 1.1.1 by Magnium Themes, and I understand that you do not provide support for third party plugins, but only if you could lead me to a resource or a solution. Category/Archive/Brand page in my site has a distorted layout with very odd product image sizes even though I’m using image resizing solution available with woocommerce and regenerate thumbnails.
URL: http://www.staging1.pacificjewellers.co.nz/
Affected URL(s) Type: http://www.staging1.pacificjewellers.co.nz/brands/citizen/Any help will be appreciated.
Cheers
June 24, 2016 at 12:43 am #1057627
NicoModeratorHi There,
Thanks for writing in.
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks.
June 26, 2016 at 4:25 pm #1060408
arpanchhetriParticipantThis reply has been marked as private.June 26, 2016 at 9:00 pm #1060728
RadModeratorHi there,
X theme is only integrated to Woocommerce default feature. I went ahead and applied the fix here /wp-content/themes/x/framework/functions/global/plugins/wpml.php
And your brands doesn’t have column any setting just like built-in taxonomies like categories and tags.
I added this custom javascript as well to fix the brand columns.
jQuery('.tax-product_brand ul.products').addClass('cols-4');Thanks!
June 26, 2016 at 9:26 pm #1060739
arpanchhetriParticipantHi Rad,
This is perfect. Can’t thank you enough.
Just to confirm that if I update X theme in future, these changes won’t be lost? Is there something I can do to the child theme that will keep the functions?
June 26, 2016 at 10:15 pm #1060793
John EzraMemberHi there,
Thanks for updating the thread! If your changes are in the child theme, they should be safe. The only time they will be affected is when the main theme does some major structural changes and you will need to update your changes accordingly.
However, for most updates, changes in the child theme are not at risk being overwritten.
The best practice, however, is to always have a regular and current backup of your site, prior to any updates or changes where things could go wrong. That way you can always roll back and try again.
Hope this helps – thanks!
June 26, 2016 at 11:35 pm #1060852
arpanchhetriParticipantHi John.
Thanks a lot for the update.
Sorry, I don’t think I was able to convey this properly. Because the changes were made to the main theme: /wp-content/themes/x/framework/functions/global/plugins/wpml.php by the support staff (Rad), I was only asking how I could apply the changes to the child theme, rather than keeping the changes in the main theme so that I don’t risk losing them.
Thanks again for your help.
June 27, 2016 at 12:01 am #1060878
RadModeratorHi there,
You can’t add that to a child theme, wpml.php is a function file, not a template file. You can only move the customization to a child theme if it’s a template or a pluggable function. Unfortunately, it’s not pluggable function either, hence need editing within the file.
This is a known bug and should be fixed in next update, it should be okay to be overwritten since it only serves as temporary.
The javascript will not be affected by any update, but it can be overwritten by demo import.
Thanks!
June 27, 2016 at 5:40 pm #1062291
arpanchhetriParticipantGreat,
Thanks again for your the great support.
Cheers
June 27, 2016 at 10:02 pm #1062638
NicoModeratorHappy to hear that.
Feel free to ask us again.
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1057585 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
