Let's say I want to give the first paragraph bold text by adding a body class to the first paragraph. Is there a way to filter the output of
the_content();
or any other paragraph? First paragraph? Last paragraph?
I know I can do this using Javascript or CSS (:firstchild), but is there a native WordPress way?
Thanks.
J