Anybody know how do i exclude just the first letter of the get_the_content() function in wordpress?
might be a snippet like this, however it does not work!
substr(strip_tags(get_the_content()), 1, get_the_content().length)
thanks ahead of time :)
You do not need the 3rd parameter, just write:
You are most likely searching for something similar to this
$content = get_the_content(); $content = strip_tags($content); $content = substr($content, 1, strlen($content));
You virtually been with them. Just required to make use of the strlen() function to obtain the entire string.