I am growing a WordPress plugin wherein I would like to permit admin to add content material utilizing wp_editor() and show the contents on the web site frontend. The issue I am having is when admin inserts media (photographs) on the content material and in addition writes captions for them. It would not present as up because it ought to (as displayed by the wp_editor() within the admin dashboard) on the frontend. I do know I can model the html as I like with css however I am having points rendering the picture captions as they’re rendered like this whereas viewing html supply:
<img class="wp-image-25 size-thumbnail" title="It is a mountain" src="http://localhost/my-project/wp-content/uploads/2022/08/mountain-pic-150x150.jpeg" alt="It is a mountain" width="150" top="150" /> Rose Mo:Mo
I scoured the web however could not discover any assist relating to the difficulty. It is now been couple of days. Can anybody assist me with this. Recognize any assist prematurely. Thanks.