Answer the question
In order to leave comments, you need to log in
How to make a shortened url when creating a post?
Now, by default, when adding a record, its url becomes the same as the title (only in Latin), but you need to somehow make the url cut to 3 words, due to SEO. What is the best way to do this? I tried to insert in functions.php
function new_excerpt_length($length) {
return 3;
}
add_filter('excerpt_length', 'new_excerpt_length');
Answer the question
In order to leave comments, you need to log in
by default, when adding a record, its url becomes the same as the name (only in Latin),
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question