Digital experiences for all disciplines
New Landing › How can we help? › Atelier › class="posted_in" and class="product-desc"
New Landing › How can we help? › Atelier › class="posted_in" and class="product-desc"
- This topic has 13 replies, 3 voices, and was last updated 7 years by Rui Guerreiro – SUPPORT.
-
Posted in: Atelier
-
March 23, 2017 at 6:04 pm #318329
I have some questions relating to hiding the following details with CSS – something which i think google may see at keyword stuffing and punish the page rank as a result?
I just wanted some clarity on why you have hidden (display: none;) these elements but they are still shown in the HTML source.<span class=”posted_in”></span>
<div class=”product-desc”></div>
http://nota.swiftideas.com/shop/
I don’t need these elements in the PHP but was wondering if there is an easy way to stop the page loading them into the html without using the child theme?
ref: http://webmasters.stackexchange.com/questions/1377/how-bad-is-it-to-use-display-none-in-css see comments from Matt Cutts at Google
March 24, 2017 at 7:19 pm #318459Hi,
Not sure about this, will forward to my colleague.
-Rui
April 2, 2017 at 8:27 pm #319349This reply has been marked as private.April 3, 2017 at 10:14 am #319379Is this for Nota or Atelier, I see you reference the two?
April 3, 2017 at 11:04 am #319390Hi David,
To confirm I’m using Atelier, I don’t use Nota (sorry not sure how that link got in there?) it should have been this one – http://swiftideas.com/shop/
April 3, 2017 at 11:28 am #319394To remove those programmatically you would install and activate the supplied child theme, inside the child theme folder create this new folder/file structure
/woocommerce/content-product.php
Inside the file:
content-product.php
you would paste this code, from which I have commented out the sections you refer to.April 4, 2017 at 9:31 am #319519Hi David,
Thank you for this, is there another way to remove this code other than removing the code from the file or CSS?
I am just concerned that if there is a security update on this page my theme wont be updated.Many thanks,
Peter
April 4, 2017 at 9:43 am #319523Peter those two ways are the only way.
Using a child theme will keep the changes regardless of core theme updates.
April 25, 2017 at 2:51 pm #322261Hi Guys,
Could you tell me if this page code has been updated during the theme updates?
Some sale pricing features on variable products is not working quite right since updating woocommerce to v3.file ref: content-product.php
April 25, 2017 at 2:52 pm #322263Yes, the file has been updated.
Thanks.
April 25, 2017 at 2:58 pm #322265Ok, thank you – would you be able to provide the updated code which helps with my original issue please?
David ref: April 3, 2017 at 11:28 am #319394
Many thanks,
Peter
April 25, 2017 at 3:09 pm #322267Sure, I have updated this.
Thanks.
April 25, 2017 at 3:43 pm #322282This reply has been marked as private.April 25, 2017 at 4:13 pm #322290Hi,
We release the update to fix the 3.0.4 compatibility yesterday. The files should be already in the themeforest download area and also if you check for updates in the WordPress dashboard it should already be possible to see there the update.
-Rui
-
Posted in: Atelier
You must be logged in and have valid license to reply to this topic.