A
A
Alex_872020-07-15 13:53:52
WordPress
Alex_87, 2020-07-15 13:53:52

When activating a new theme in wordpress, how not to drag your posts into it?

Good afternoon! I'm a little confused. I installed wordpress and began to pull the layout. And when I open other topics, the posts and pages that I made are transferred to these new topics. Please tell me how to make it so that this does not happen when activating themes?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Eugene Chefranov, 2020-07-15
@Chefranov

Topic ≠ single site/subsite. A theme is basically a design/layout that you apply to existing posts or pages.

O
Orkhan Hasanli, 2020-07-15
@azerphoenix

Hello!
After reading the previous answer and the comments to it, I realized that it would be difficult to explain ...
Activating a new topic at the code level looks like adding the name of this topic to the database and, accordingly, when you activate a new topic, this post and page will not be deleted, because they are not connected in any way.
Here, imagine that you bought new clothes and put them on yourself. That won't make you lose your memory, will it? You will not forget your name, your life, etc. You will remain who you are. The same is true for the website. A theme is just a design and you won't lose anything by changing it.
If you really want to do something similar, then you can, for example, write a functional that, by pressing the "Activate" button on the topic, will also start the process of deleting posts and pages. However, the process will be irreversible, i.e. if you return to the old topic, then there will be no entries either.

It's not normal when I want to open a completely new theme and I have everything old but in a new style.

This is absolutely normal. Considering the kind of questions you ask, I would recommend that you contact a freelance exchange, where they will help you develop a website for a fee, or I recommend that you seriously study the PHP programming language, as well as the VP code, if you plan to develop yourself in this direction

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question