[Plugin: Post Teaser] Conflict with Raw HTML (2 posts)

  1. primexx
    Posted 7 years ago #

    Hi, I would like to use Post-Teaser with Raw HTTML, but whenever the latter is enabled Post Teaser doesn't work. I think it has something to do with both plugins using 'the_content' filters.

    Is there a workaround for this without editing WordPress's source code?


  2. Francesc Hervada-Sala
    Posted 7 years ago #

    Ohter plugins tags will not work with Raw HTML when placed into a block <!--start_raw--> ... "some tags" ...<!--end_raw-->. This is because of the way the Raw HTML plugin works. It overwrites the content in raw-blocks after all content filters apply with the original contents. Workaround:

    <!--start_raw--> ... <!--end_raw-->"some tags"<!--start_raw--> ... <!--end_raw-->

    For example:
    <!--start_raw--> ... <!--end_raw--><!-- more --><!--start_raw--> ... <!--end_raw-->

Topic Closed

This topic has been closed to new replies.

About this Topic