A
A
Alexander Sharomet2017-01-20 15:05:35
PHP
Alexander Sharomet, 2017-01-20 15:05:35

How to make a custom title in woocomerce?

Hello.
Such a problem.
I change in woocomerce the page title structure
<h1 class="page-title">Tilte</h1>
to

<div class="page-title">
<h1>Tilte</h1>
</div>

Naturally, when updating the woocommerce plugin, all these changes disappear.
Is it possible to put all this into a separate file, or are there any other solutions. which way to look? Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Vorotnev, 2017-01-20
@sharomet

You are changing incorrectly. Apparently, the hands were launched into the templates folder in the plugin. Now, that's wrong. Copy it to your theme folder, name it woocommerce, and edit as much as you like. All this is described in the documentation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question