didelu
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [OnePress] Increase excerpt lengthIt’s true I don’t understand about WP coding (or any other coding).
I tried to add that code first to main functions.php, but it did not have an effect there either. Unfortunately that a href did not work either in content-list.php.
I think I will leave it be as it is now.
Thanks for the help anyway.
Forum: Themes and Templates
In reply to: [OnePress] Increase excerpt lengthHi and thank you for your answer!
I opened content-list.php file via FTP and added following text before </article> (last part of the file).
/**
* Filter the excerpt “read more” string.
*
* @param string $more “Read more” excerpt string.
* @return string (Maybe) modified “read more” excerpt string.
*/
function wpdocs_excerpt_more( $more ) {
return ‘[…..]’;
}
add_filter( ‘excerpt_more’, ‘wpdocs_excerpt_more’ );I did not notice any changes in the page. Maybe I am doing something wrong?
Forum: Themes and Templates
In reply to: [OnePress] Increase excerpt lengthI tried using next page tag, but it also splits my post to two pages which is not optimal. I would not want to change my theme because I have made quite a bit of changes and I don’t want to lose them.
For some reason Onepress theme seems to hide “read more” tag, because when i filter the “the_excerpt()” with a plug in the tag appears. Problem is, these plug ins also change my font size.
Forum: Themes and Templates
In reply to: [OnePress] Increase excerpt lengthThanks, that worked perfectly!
For some reason adding ‘read more’ text that was on the same info page did not work. Can you help me to add that too?
Thanks, it worked like a charm!
I’m sorry if I used wrong terms. This is all pretty new stuff to me.
I didn’t do CSS changes. I changed the font style to bold in some columns directly with “table manipulation” -> “advanced editor”.