• I have used compact = true for a long time and is has servied me well for a page that was designed to be viewed on a mobile. However it no longer seems to be working, can you help?

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author room34

    (@room34)

    The CSS for compact view was changed a few versions back, but it looks to me like nothing is changing at all here between desktop and mobile. Can you describe in a bit more detail what you’re expecting to see, vs. how it is actually looking?

    Thread Starter gauntlec

    (@gauntlec)

    The website is only used by mobile devices and a few version ago would coincide with when the compact view stopped working like it had done previously. At the moment compact=”true” is set, yet none of the content is any smalled on either desktop or mobile devices.

    Plugin Author room34

    (@room34)

    I may need to see your exact shortcode. Please email it to the support email address on the ICS Calendar admin page if you don’t want to post it here. I think something is formatted incorrectly in the shortcode, because the r34ics_compact CSS class is not present in the HTML for your calendar.

    The compact and non-compact styles of list view can be seen side-by-side on the Sample Calendars page. This is running the current version of the plugin, so the functionality is definitely still working.

    Thread Starter gauntlec

    (@gauntlec)

    Have emailed the code being used

    Plugin Author room34

    (@room34)

    Thanks. As I noted in my email reply (but am repeating here for anyone else who might read this), the issue appears to be that the compact parameter in your shortcode is using “smart quotes” and WordPress is not parsing that value properly as a result.

    I believe this is connected to some changes that were made in WordPress 6.2.1 (and subsequently partially rolled back) regarding how shortcodes are handled by the Block Editor. You can read about the initial kerfuffle over 6.2.1 here.

    As for Smart quotes issue it can happen if you are using bake builder in wordpress. I depeands if you use text block or raw html block. Text block can copy all wordprosessor formatting to your shortcode alternating shortcodes html keys. Thus you should always use RAW HTML block to add shortcodes that your text dont produce any formatting to the shortcode text.

    • This reply was modified 1 year, 1 month ago by jeroi.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Compact=”true” not working?’ is closed to new replies.