Forum Replies Created

Viewing 15 replies - 1 through 15 (of 26 total)
  • Plugin Author Hub5050

    (@creatorseo)

    We had a look at this and improved the code to make nested collapse shortcodes more likely to work. However, we found that many page builders mangle nested shortcodes due to their own rendering and formatting logic, especially in Visual Builder mode, where they auto-wrap elements in p or div tags and partially parse shortcodes before WordPress handles them.

    This causes the nesting to break. For the best chance to succeed, Edit in Wireframe or Classic Mode, not Visual Builder but even then success is not guaranteed.

    Embedding other shortcodes was not a problem in our tests.

    Sorry, that I could not provide a cleaner solution but we tried despite the warnings online that embedded shortcodes can be problematic.

    • This reply was modified 10 months, 3 weeks ago by Hub5050.
    Plugin Author Hub5050

    (@creatorseo)

    Thank you for your feedback and interest. This is now high on our list of updates and hope to get to this within the next 1 to 2 weeks.

    Plugin Author Hub5050

    (@creatorseo)

    Thank you for your review. It is always great to get feedback and it makes the hard work of creating and maintaining a free plugin worthwhile.

    Plugin Author Hub5050

    (@creatorseo)

    Accordions within accordions should work but not very reliably as nested shortcodes can conflict with each other. I haven’t done a detailed check for this plugin so there may be issues. Nonetheless, I have noted your requirement and will try to find a robust solution for the next version roll-out which will be in a few weeks. In the meantime, you can try nesting the plugins, maybe these will work for you.

    Plugin Author Hub5050

    (@creatorseo)

    If you wanted the title above the expand section and the read more or read less below, then you can set the page up as follows:

    Title 1
    [magic_expand title=”Read More”  swaptitle=”Read Less”]<span style=”font-size: inherit;”>Content under title #1[/magic_expand]</span>
    Title 2
    [magic_expand title=”Read More”  swaptitle=”Read Less”]<span style=”font-size: inherit;”>Content under title #2[/magic_expand]</span>
    Title 3
    [magic_expand title=”Read More”  swaptitle=”Read Less”]<span style=”font-size: inherit;”>Content under title #3[/magic_expand]</span>

    With the ‘GENERAL SETTINGS’ parameter called Toggle Above is set to off. and with each title as a header tag (e.g. h4) then the output will be as follows:

    Collapsed
    https://drive.google.com/file/d/1rY504IQusQEP_g_-BKyJHeIAnkVuo0Re/view?usp=sharing

    Expanded
    https://drive.google.com/file/d/1iy64Lfj9UIHR6NTO_5C_jXbiSdPle0ky/view?usp=sharing

    If you want the software to do something different, please let me know as I am working on other improvements to this plugin at the moment.

    • This reply was modified 1 year, 3 months ago by Hub5050.
    Plugin Author Hub5050

    (@creatorseo)

    Great timing I am working on this today. Thank you for your images, I think I understand your requirement and I think that the problem is a configuration matter rather than a software issue.

    There are 2 shortcode title parameters in the plugin called ‘title’ and ‘swaptitle’. These are really not title so much as they are the text to click to expand or collapse the section. Maybe they should have been called ‘expandlabel’ and ‘collapselabel’.

    Your setup has the shortcode as shown:
    [magic_expand title="Title 1"]Content under title #1[/magic_expand]
    [magic_expand title="Title 2"]Content under title #2[/magic_expand]
    [magic_expand title="Title 3"]Content under title #3[/magic_expand]

    The output from this is as shown in your images.

    The plugin was designed for the ‘title’ to be the text to click to expand the section, maybe it should have been tagged as ‘expandlabel’ and similarly ‘swaptitle’ is to collapse the section and should maybe have been called ‘collapselabel’. Nonetheless, if you set up the system like this:
    [magic_expand title="Title 1"  swaptitle="Title 1 - Read Less"]Content under title #1[/magic_expand]
    [magic_expand title="Title 2"  swaptitle="Title 2 - Read Less"]Content under title #2[/magic_expand]
    [magic_expand title="Title 3"  swaptitle="Title 3 - Read Less"]Content under title #3[/magic_expand]

    The the output looks like this:

    Collapsed
    https://drive.google.com/file/d/1pzKGKO8PPryCTFYVGUbSgpG3c9aiZ-hJ/view?usp=sharing

    Expanded
    https://drive.google.com/file/d/1jsOb0dYvnhKGHLXPTGl8E8p2ApNmIa7U/view?usp=sharing

    Is this what you wanted? Just remember that this text will show below if the ‘GENERAL SETTINGS’ parameter called Toggle Above is set to off.

    • This reply was modified 1 year, 3 months ago by Hub5050.
    Plugin Author Hub5050

    (@creatorseo)

    Sorry, this is beyond the intended scope so the functionality for AMP pages cannot be provided in the near future. We will however keep this on our list of potential improvements for the future.

    Plugin Author Hub5050

    (@creatorseo)

    Thank you for your observation. I will add this to our list of enhancements and hope to have a look into this over the next week.

    Please could you send a screenshot of the problem so I can be sure about what you are asking for.

    Plugin Author Hub5050

    (@creatorseo)

    Thank you for your feedback. I had not considered AMP pages.

    AMP has strict limitations on JavaScript, including the fact that jQuery is not allowed. Unfortunately this plugin relies heavily on JQuery and I would have to replace all the dynamic features that rely on jQuery with AMP-compliant components or approaches.

    I regret that I cannot therefore provide a quick solution to help you with this but I will consider how to build this for AMP pages in a future release. Thank you for highlighting this as a potential future improvement.

    Plugin Author Hub5050

    (@creatorseo)

    Dear @vmike

    Thank you for your feedback. I am delighted to have helped and I hope that the plugin serves you well. If you have any ideas for future features, please let me know. Finally if you haven’t yet ranked the plugin, please do when you get the chance.

    Clinton

    • This reply was modified 1 year, 6 months ago by Hub5050.
    Plugin Author Hub5050

    (@creatorseo)

    Hi @vmike, @whatthedickens ,

    I fixed the text restriction issue and tested the plugin with very long text. All seems to be OK now in the new version (1.3.1). Thank you for your proactive feedback and for helping me identify this improvement.

    Please rate the plugin if it meets your needs and if you find it useful.

    Plugin Author Hub5050

    (@creatorseo)

    Hi @vmike,

    Thank you for the feedback. I am travelling for the next 2 weeks and will try to find a fix for this when I get back. Sorry I can’t do this sooner.

    In theory there should be no limit, but I am sure that there must be something restricting your text. I will let you know if I find anything. In the meantime, I hope that you can use 2 or more collapsible blocks to get by with until a solution is found.

    Plugin Author Hub5050

    (@creatorseo)

    Thanks Bob – always nice to get feedback.

    Plugin Author Hub5050

    (@creatorseo)

    Hi Bob (@bob33 ),

    I implemented your suggestion and the toggle text now can be placed above or below the text block. There is a switch at ‘settings>collapse magic>Toggle Above’ in the dashboard that will allow you to select the option you want.

    I think this is a nice enhancement, thank you for your suggestion.

    • This reply was modified 1 year, 8 months ago by Hub5050.
    • This reply was modified 1 year, 8 months ago by Hub5050.
    Plugin Author Hub5050

    (@creatorseo)

    Great idea! Thank you for your suggestion Bob, I will add this to my list as an important enhancement and will let you know once it is done.

Viewing 15 replies - 1 through 15 (of 26 total)