Browsing Tag

strpos

Why is this strpos() returning an error?

I’m trimming a string in an excerpt as follows: $mod_trim_to = strpos(get_the_excerpt(), ' ', 115); $trimmed_exceprt = substr(get_the_excerpt(),0,$mod_trim_to); The goal here is to trim the

Back to Top 134672 wordpress questions, 32 Wordpress answers.
Wordpress related, All rights reserved
Powered by Creative Advertising