Thread Starter
Mr. FI
(@mr-fi)
It was the first one. I’m not sure why that became disabled — it didn’t occur to me that it might be a user permission issue. Thank you!
Thread Starter
Mr. FI
(@mr-fi)
Update: Everything is working again now. Maybe it needed time to refresh on the server?
Thread Starter
Mr. FI
(@mr-fi)
function mts_excerpt($limit) {
$excerpt = explode(‘ ‘, get_the_excerpt(), $limit);
if (count($excerpt)>=$limit) {
array_pop($excerpt);
$excerpt = implode(” “,$excerpt);
} else {
$excerpt = implode(” “,$excerpt);
}
$excerpt = preg_replace(‘[[^]]*]‘,”,$excerpt);
return $excerpt;
}
This is the code starting at line 277. Like I said, I tried to edit this before, messed it up, reverted back to the original (seen here) but it still won’t allow me to edit the theme from inside the admin panel of WP.