WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Embed Chessboard] Breaks in category archive view (2 posts)

  1. Jon12345
    Member
    Posted 4 years ago #

    I am using the Embed Chessboard plugin, which uses javascript to display a chessboard in (I believe) an iframe.

    It displays the chessboard and my post text fine when looking at an individual post or a list of posts. However, when I click my navigation bar to view posts in a specific category, it displays a list of these posts and says Category Arhcives: My specific archive name. However, it only shows my post text and not the javascript chessboard.

    Any reason for why this happens? Is there a different path or structure to category archives that means a plugin could break?

    Any workaround?

    Thanks,

    Jon

  2. pgn4web
    Member
    Posted 4 years ago #

    Depending on the wordpress theme in use, the category/tags view might not show the entire post but only an excerpt. Also depending on the theme, the excerpt might get stripped from HTML tags. The embed-chessboard plugin uses the <textarea> and the <iframe> plugin, hence the chessboard display might get broken when in category/tags view. Some themes allows for configuring the excerpt, for instance the atahualpa theme allows specifying which HTML tags should not be stripped from excerpts. By preserving the <p>, <textarea> and <iframe> tags then the chessboard is properly displayed in the category/tags view. Please check the behavior of your theme if the pgn4web chessboard is not displayed correctly when in category/tags view.

    pgn4web

Topic Closed

This topic has been closed to new replies.

About this Topic