WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Widget
[resolved] Display the shortcode on the Content Block page? (5 posts)

  1. GermanKiwi
    Member
    Posted 1 year ago #

    Hi Johan, I have a suggestion/request to make:

    It would be really helpful if the Content Block page (where you see the overview of all your content blocks) could display the shortcode of each post, in a new column of the table there.

    So you'd have the Title, Author & Date columns, and also a Shortcode column too.

    This would make it super-easy to see the shortcode of each one and to copy-and-paste it directly from there to wherever you want it to go.

    What do you think?

    http://wordpress.org/extend/plugins/custom-post-widget/

  2. Johan van der Wijk
    Member
    Plugin Author

    Posted 1 year ago #

    Hi GermanKiwi,

    You can easily add the shortcodes by clicking the 'Add Content Block' button which is displayed above the post editor. It seems to me that that is the most convenient place, don't you agree?

    http://i.imgur.com/V3NMiXA.png

  3. GermanKiwi
    Member
    Posted 11 months ago #

    That's true, it's very convenient to have that button in the visual editor. But I think it would also be convenient to have the shortcodes listed directly on the Content Blocks table as well - sometimes it's helpful to copy a shortcode directly from there because you don't need to paste the shortcode into a page (therefore you're not using the Visual Editor) - eg. if you want to paste the shortcode into some other widget or something.

    Also, in the situation that someone has disabled the Visual Editor (which some admins prefer to do, because they don't like the way that the Visual Editor strips out certain empty tags and they prefer to create the page directly in HTML mode) - in that case, the button isn't visible, and it would be helpful to have the shortcodes listed somewhere.

    I've seen several other plugins do this kind of thing, where they list their shortcodes on the "overview" table of that plugin. :)

  4. Johan van der Wijk
    Member
    Plugin Author

    Posted 11 months ago #

    I still do not understand why it would be easier to navigate away from the post you are editing, go to the content blocks overview page, then copy the shortcode and then go back to the post you were editing to insert the shortcode.

    Note that when disabling the WYSIWYG editor the 'Add Content Block' button should still be visible: http://i.imgur.com/CyshQWo.png

  5. GermanKiwi
    Member
    Posted 11 months ago #

    Okay, point taken! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.