WordPress.org

Ready to get started?Download WordPress

Forums

Shortcodes Pro
[resolved] Problem after 5 shortcodes (8 posts)

  1. surfweb82
    Member
    Posted 1 year ago #

    Hi

    I've created 5 shortcodes and everything works properly

    Anyhow, when I add another shortcode the editor shows only the previous 5 shortcodes instead of 6. Actually the 5th shortcode disappears

    If I add a further shortcode, the editor keeps displaying 5 shortcodes only, that is, the latest 2 that I've created and the first 3 ones

    How can I solve the problem?

    Thanks!

    http://wordpress.org/extend/plugins/shortcodes-pro/

  2. douglascountyco
    Member
    Posted 1 year ago #

    I am experiencing the same issue. I have 7 shortcodes but only 5 are showing up on the WYSIWYG editor and all are assigned to be seen. Is there something that might be causing this?

    Thanks,

  3. Matt
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Guys,

    Do you have enough screen width for them to fit?

    Kind Regards!

  4. douglascountyco
    Member
    Posted 1 year ago #

    Hi Matt,
    Yes, I use other shortcodes and there are more than five in one row.
    I have looked at your code, and I cannot see where it might cause a problem. I have even removed all plugins and it still does it, along with using the base Word Press template.

    Thanks,

  5. Matt
    Member
    Plugin Author

    Posted 1 year ago #

    Hi douglascountyco,

    Could you tell me the action names of your shortcodes? It might be related to a JS conflict with numbers and special characters.

    Thanks!

  6. douglascountyco
    Member
    Posted 1 year ago #

    Hi Matt,
    The names are:

    • quicklinks
    • resources-documents-list
    • create-a-link
    • add-document-list
    • add-resources-list

      These are the ones that I have live now. I have stopped adding any others for now since they do not show up or replace one of the above listed and still only show 5. They are all set to Row 4 as well.
      Thanks for your time on this.

  7. thaum4m
    Member
    Posted 1 year ago #

    The plugin appears to be limited to having up to 5 shortcode related toolbar buttons displayable in the TinyMCE toolbar.
    To fix this, I made the following change to the plugin in version Shortcodes Pro 1.1.3

    After line 469 of class-shortcodespro-base.php add:
    ,
    'numberposts' => -1

  8. Matt
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks guys,

    Please update to 1.1.4. Let me know if you have more feedback.

    Kind Regards!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic