• Resolved wilmart

    (@wilmart)


    Hi, I wanted to show the excerpt, but due the plugin isn’t using the html format I solved it by using <?php the_content(); ?>
    This allowed me to include a thumbnail (featured image) at the left and title and content in the right.

    But…. I guess I really need to use the excerpt instead of the content because I added images as first element in the content, so the Post List is showing that images too, ruining the format.

    so… How can I really show the excerpt with the html formatting OR how Can I avoid show the images from the post?

    Thank you so much

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tajam

    (@tajam)

    Hi, you can use this option: “Show image on” and choose None to disable images.

    Thread Starter wilmart

    (@wilmart)

    Hi Tajam, thank you for your reply,

    But maybe I wasn’t clear. what I want is:

    Show the excerpt (inlcuding html formatting) AND only the feaatured image (no posts images.
    -OR-
    Show the post content (except images of the content) AND the featured image.

    Thank you in advance for your help.

    Plugin Author Tajam

    (@tajam)

    WordPress excerpt strips all html tags, so you need to use your own function
    maybe something like this (not tested):
    https://therichpost.com/remove-image-wordpress-post-content/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show HTML formatting in excerpt’ is closed to new replies.