• Resolved alramyr

    (@alramyr)


    I have some articles that use html tags like <p> or <br/>. If I display this article as full text, the tags disappear. I get the whole text without any tags in one big <p> tag. That, of course, destroys the whole layout and makes the article hard to read. Is there something I can do about that?

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Iulia Cazan

    (@iulia-cazan)

    Hello,

    Let me know what WordPress version do you have and how is configured the shortcode (the whole string you embed).

    Regards,
    Iulia

    Thread Starter alramyr

    (@alramyr)

    Hi,

    WordPress version is 5.0.3. Shortcode is as follows:
    [latest-selected-content limit=”1″ type=”post” display=”title,content-small” chrlimit=”2000″ image=”full” elements=”0″ css=”one-columns” term=”samples” orderby=”dateD”]

    Thanks,
    Chris

    Plugin Author Iulia Cazan

    (@iulia-cazan)

    Hello,

    If you want to display the full content of the article with the markup, you could change the display like this display="title,content".

    However, this is not limiting the amount, it just displays the whole content set for that article, not just a substring from it.

    If you need some explicit markup to be available for this particular article, you could put the whole markup (the paragraphs as such) you desire in the excerpt field for the article, then use the display="title,excerpt" in the shortcode.

    Let me know if any of the suggestions are working.

    Regards,
    Iulia

    Thread Starter alramyr

    (@alramyr)

    Thank you, changing the display to "title,content" fixed it. Don’t know why I didn’t think of that.

    Regards,
    Chris

    Plugin Author Iulia Cazan

    (@iulia-cazan)

    Great! I’m glad this is working for you! Please don’t forget to rate my plugin :). Thanks!

    Regards,
    Iulia

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘HTML tags in content are not displayed’ is closed to new replies.