• Hi,

    I am using this short-code:
    [pagelist_ext sort_column="post_date" sort_order="desc" limit_content="550" show_image="0" strip_tags="0"]

    and it does mostly what I want. But when there are images in the text this sometimes causes problems. First of all the limit-content also counts a lot of code in the image, so if it for instance has a link, hardly any other content will be shown..

    But the biggest problem is that sometimes some end-tag gets missing and then it will break the pages shown below that. This depends on the location of the images. For now I have fixed this by fiddling with the limit content, but when more childpages get added, it might happen again…

    what can I do about this?
    Is it for instance possible to strip the images, but not the paragraph and title tags?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter omniafausta

    (@omniafausta)

    additional info:
    to see the problems in action I made a test page where I changed the amount in limit_content to 500:

    https://kafka-kring.nl/wordpress-kk21/testpage/

    then things go wrong in several places:
    – at the first article (not very visible, anly the read more button moves to the bottom of the page
    – between the page excerpts of: Tweemaal Die Verwandlung and Kafka dag in dag uit Where the second article gets messed up and neither article shows their read more button
    – at the bottom of the page finally the links appear from the very first page and from Kafka dag in dag uit

    The read more buttons I created through CSS (with an ::after on the title)

    trying to find the problem:
    The content of the first item misses a closing div, on the original page (where limit_content is 600) this does NOT happen

    Thread Starter omniafausta

    (@omniafausta)

    since the content of the childpages has changed the issues now happen at other spots…
    but you can still see the differences between the testpage and the original page

    • This reply was modified 3 years, 3 months ago by omniafausta.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘strip_tags causes problems’ is closed to new replies.