WordPress.org

Forums

Custom post-content shortcodes (2 posts)

  1. raamdev
    Member
    Posted 1 year ago #

    The theme guidelines plugin territory says that themes must not include "Custom post-content shortcodes". Would a shortcode that generates a list of recent posts for a given category (intended to be used when creating an archive page) qualify as a custom post-content shortcode or would that be acceptable to include in a theme?

  2. raamdev
    Member
    Posted 1 year ago #

    I'm not sure what a "custom post-content shortcode" would be. I wanted to include a Recent Posts shortcode in my theme because I know many people create Archive pages and having a Recent Posts shortcode would come in handy.

    Is that rule intended to keep out shortcodes for things like YouTube videos, social services shortcodes, etc? Would a shortcode that simply uses WordPress post content be OK?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags