Answer the question
In order to leave comments, you need to log in
How to replace "Read more" with a widget in WordPress?
Greetings.
It is very necessary to replace "Read more" with a universal version, not only "Read more", but also in other languages.
I found on the Internet how to do it with the Russian version:
function new_more_text( $more_link, $more_link_text ) {
$new = "продолжить чтение..."; // вписываем своё
return str_replace( $more_link_text, $new, $more_link );
}
add_filter( 'the_content_more_link', 'new_more_text', 10, 2 );
<?php dynamic_sidebar( 'readmore' ); ?>
Answer the question
In order to leave comments, you need to log in
pass the user's serial number to the controller (in the URL, for example). In the controller you intercept the number, by it you get the user and the list of his tasks. And you work only with a specific user.
To edit a task, make a new controller, and in the same way, you need to transfer the task or its number there.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question