didino on "[Plugin: WooCommerce] Vorrei togliere il genitore Home da Shop"

ساخت وبلاگ

Salve vorrei togliere la barra laterale nei prodotti ma non si riesce perchè la pagina shop è figlia della pagina home (che ha la barra laterale), come posso fare?
Grazie

https://wordpress.org/plugins/woocommerce/

Hi I would like to remove the sidebar in the products but you can not because the shop page is the daughter of the home page ( which has the sidebar ) , how can I do ?

You can create a template file in your theme called archive-shop.php to control the shop page only. Base it on https://github.com/woothemes/woocommerce/blob/master/templates/archive-product.php and remove the sidebar code.

Scusi ma non riesco a capire. Sostituisco il file archive-shop.php o lo modifico? Se lo modifico che riga devo modificare? Grazie.

I would like to remove the shop page from home parent. because I want the custom sidebar.
grazie

Shop page has no parent. Shop is not a real page, it is a custom post type archive. https://codex.wordpress.org/Post_Type_Templates

didino
Member
Posted 12 minutes ago #

How I would change it? because I have left on the Home page Shop

didino
Member
Posted 11 minutes ago #

How can I send a picture?

- - , .

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 160 تاريخ : جمعه 30 بهمن 1394 ساعت: 21:05