• Resolved Julie

    (@habannah)


    I find the Shortcodes column quite useful. Unfortunately, it doesn’t report shortcodes used within other shortcodes. So just for example, say you’re using shortcodes to create tabs and accordions:

    [tabs]
    [tab-1]
    [accordion]
    [accordion-item-1] CONTENT [/accordion-item-1]
    [accordion-item-2] CONTENT [/accordion-item-2]
    [/accordion]
    [tab-2]
    [accordion]
    [accordion-item-1] CONTENT [/accordion-item-1]
    [accordion-item-2] CONTENT [/accordion-item-2]
    [/accordion]
    [/tabs]

    The only thing reported in the Shortcodes column is [tabs][accordion] gets ignored.

    Conversely, when inserting the same shortcode multiple times, it gets listed for each occurrence instead of simply listing the number of occurrences. For instance, a post might include several Click-to-Tweet shortcodes:

    CONTENT
    [bctt tweet="QUOTE"]
    CONTENT
    [bctt tweet="ANOTHER QUOTE"]

    In this case, the Shortcodes column lists each instance of use:

    [bctt],[bctt]

    That might be fine when there are only a few, but some shortcodes get used a lot more and get repeated up to a dozen times in the column, which takes up far too much space and is too difficult to read.

    I would suggest just reporting the number of instances of use instead:

    [bctt] x 2

    Many thanks for considering these suggestions!

    https://wordpress.org/plugins/codepress-admin-columns/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Suggestions for the Shortcodes Column’ is closed to new replies.