K
K
Kostya2014-03-21 23:00:40
MySQL
Kostya, 2014-03-21 23:00:40

How to make Wordpress generate sequential post id?

We're talking about a Wordpress site.
I'll go straight to the question. There is a link structure: site/category/1234/
So, when creating a new record, an id for it is generated in an incomprehensible way.
Namely, if the previous entry, for example, could be /123/ then the next one may already be with the number /127/ .
How to make the id of the record generated in turn?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2014-03-21
Protko @Fesor

No way, because wordpress has too many things tied to these IDs and too many things are being created.
You can specify a slug for a category and operate on it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question