Forum Replies Created
-
Author
-
commonplacesParticipant
Hello,
did you have the time to look at this issue?
Sorry to ask but, i am running an ecommerce website ans i would like my internet users to have a better experience, and i really don’t understand what to do to solve this.Thanks for your feedback
commonplacesParticipantAs you can see on the print screen i have no shortcode pointing with any portfolio content, neither in the function.php
I desactivated the child theme, and activated Kleo directly, and it’s the same, the seconpage (portfolio) is still under the homepage in the code)
This does’nt change anything 🙁
Attachments:
You must be logged in to view attached files.commonplacesParticipantHello,
if you do this test on the website to check the speed https://tools.pingdom.com/
https://commonplacesartgallery.com/you will be able to see that the website (homepage) load those images :
https://commonplacesartgallery.com/wp-content/uploads/2016/09/exibithion-a-taste-of-brussels-art-commonplaces-art-gallery-14-1024×551.jpg
https://commonplacesartgallery.com/wp-content/uploads/2016/09/exibithion-a-taste-of-brussels-art-commonplaces-art-gallery-10-1024×549.jpg
….
….
there are almost 20 of themThose images are displayed only one one page on the website which is https://commonplacesartgallery.com/portfolio/a-taste-of-brussels-art/
so i don’t understand why when i do such test on pingdom but also on other website like the tools of google, those images are load and slow down the website loading.
About the code, i added wp-rocket, so maybe now we can’t see anymore the code appearing below the footer.
I remove this on my staging website (development) for you to be able to see the code completelySo if you go https://staging3.commonplacesartgallery.com/
then on the source code line 1669, you will see “analytics” followed by the whole portfolio page code under the homepage code.I hope you will be able to understang what is going on there..
ThankscommonplacesParticipantI put the code in the function.php of the child theme, but it doesn’t change wording on the banner on the products 🙁
add_filter( 'woocommerce_get_availability', 'wcs_custom_get_availability', 1, 2);
function wcs_custom_get_availability( $availability, $_product ) {// Change In Stock Text
if ( $_product->is_in_stock() ) {
$availability['availability'] = __('Available!', 'woocommerce');
}
// Change Out of Stock Text
if ( ! $_product->is_in_stock() ) {
$availability['availability'] = __('SOLD', 'woocommerce');
}
return $availability;
}
commonplacesParticipantYou can see at the bottom of the page
the footer it start with analytics again and then all the code of a ghost page!!COPY CODE<a href="#"> <i class="icon-up-open-big"></i></a> <div class="kleo-quick-contact-wrapper"><a href="#"><i class="icon-mail-alt"></i></a><div><h4 class="kleo-qc-title">CONTACT US</h4><p>We're not around right now. But you can send us an email and we'll get back to you, asap.</p><form class="kleo-contact-form" action="#" method="post" novalidate><input type="text" placeholder="Your Name" required id="contact_name" name="contact_name" class="form-control" value="" tabindex="276" /><input type="email" required placeholder="Your Email" id="contact_email" name="contact_email" class="form-control" value="" tabindex="277" /><textarea placeholder="Type your message..." required id="contact_content" name="contact_content" class="form-control" tabindex="278"></textarea><input type="hidden" name="action" value="kleo_sendmail"><button tabindex="279" class="btn btn-default pull-right" type="submit">Send</button><div class="kleo-contact-loading">Sending <i class="icon-spinner icon-spin icon-large"></i></div><div class="kleo-contact-success"> </div></form><div class="bottom-arrow"></div></div></div><!--end kleo-quick-contact-wrapper--> <!-- SOCKET SECTION ================================================ --> <div class="socket-color"> <div class="container"> <div class="template-page tpl-no col-xs-12 col-sm-12"> <div class="wrap-content"> <div class="row"> <div class="col-sm-12"> <div class="gap-10"></div> </div><!--end widget--> <div class="col-sm-12"> <p style="text-align: center;">.©Copyright Commonplaces asbl 2013-2017 | All rights reserved - Any reproduction, even partial, of this site is strictly prohibited.</p> </div> <div class="col-sm-12"> <div class="gap-10"></div> </div><!--end widget--> </div><!--end row--> </div><!--end wrap-content--> </div><!--end template-page--> </div><!--end container--> </div><!--end footer--> </div><!-- #page --> <!-- Analytics --> <link href="https://fonts.googleapis.com/css?family=Nunito:300,400,700,800" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Quicksand:400,500,700" rel="stylesheet">
commonplacesParticipantHi,
i have already a lot of plugin, and i use WPML for my translations.
I would like to avoid to install another plugin just for a small string i want to change in the original theme.
Is there another way to do that?
Is the child theme isn’t made for that.?commonplacesParticipantI could you tell me where is the php file to make some changes at the different Masonry templates ?
The one i can find in visual composer? see in attachement
Attachments:
You must be logged in to view attached files.commonplacesParticipantI found the plugin responsible of it and i asked their support, no need to help anymore.
January 19, 2017 at 10:09 in reply to: custom product categories displayed as the native product loop of the theme #150191commonplacesParticipantThanks a lot for you precious help!
January 18, 2017 at 18:52 in reply to: custom product categories displayed as the native product loop of the theme #150137commonplacesParticipantGreat!!! Thanks a lot for the solution!
May I ask you the code if there is two customs categories?
Do i have to duplicated the function (that what’s i dis at the moment) but a way to say someting like
if ( is_tax(‘subject’) ) OR ( is_tax(‘serie’) ) {…
Could you help me to write the right code?
Anyway thanks a lot already!
January 17, 2017 at 22:15 in reply to: custom product categories displayed as the native product loop of the theme #150041commonplacesParticipantHi, it a bit more complicated than what you are explaining.
I created with another plugin, customs product categories, and i would like them displaying like the native product catégories of the theme.
Could you check the difference between these two pages
NATIVE product cat : https://commonplaces-dev-commonplace_wpserver.pf3.wpserveur.net/product-category/ania-lemin/
CUSTOMS product cat : https://commonplaces-dev-commonplace_wpserver.pf3.wpserveur.net/subject/abstract/
So
What is the name of the template that displays the shop page. how can I adopt that template to a custom taxonomy. So i want the cutoms categories displaying in 3 colums as the shop, as it is set in the theme settings.
Could you tell me exactly where and how to get this?
Thanks
commonplacesParticipantThat’s a pity…
it could be great to add this functionnality, & a way to display the visual composer shortcodes.
I will have to change the plugin 🙁
-
AuthorPosts