Answer the question
In order to leave comments, you need to log in
Main entry in the category how to do?
Hello!
The question is, I noticed that on a wordpress blog, if you put several categories in a post, then wordpress assigns the main category with the smallest id,
but how to force the selection of the main category for the post?
Answer the question
In order to leave comments, you need to log in
To get the same look (classic editor) of an edited Post in Wordpress, you need to disable Gutenberg. This can be done using plugins.
In the Classic Editor, the reassignment of Headings "Main/Secondary" looks like this:
At the same time, keep in mind that, depending on the URL generation rule, the Post URL structure may or may NOT change when the "Main" heading is redefined.
1st URL type: domen.ru/rubrika-1/nazvanie-statiy
2nd URL type: domen.ru/nazvanie-statiy
For example, we have two rubrics "rubrika-1" and "rubrika-2"
If the Post URL are formed with nesting according to the 1st type (see above), then:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question