• Resolved nowton

    (@nowton)


    Minor bug: if configuring MCE using functions.php the summarize_post button is not being inserted in the editor.

    Major issue: as per title, we are creating a page and listing custom posts in it using shortcode, but have been unable to show categories on the posts. Setting help=1 on the query does not show anything.

    Please advise, thanks.

    https://wordpress.org/plugins/custom-content-type-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor fireproofsocks

    (@fireproofsocks)

    The latest version of the plugin (on the dev branch) fixes the problem with the help flag.

    Not sure if I can advise you of anything re the categories: that’s a difficult query because there is a one to many relationship to the categories and summarize-posts can only show 1:1 relationships. The only real solution there is to use PHP (either the GetPostsQuery class that the summarize-posts shortcode uses or the built-in WP equivalents), then look up the categories associated with each post as you loop over them.

    Hope that helps.

    Thread Starter nowton

    (@nowton)

    Will try the dev-branch on local development. For production I resorted to actually building an archive for the custom post type. Thanks.

    Plugin Contributor fireproofsocks

    (@fireproofsocks)

    The trunk (i.e. the “dev branch” when I’m not using branches) is in a bit of disarray at the moment, but an update is coming out soon. You may wish to review changes only to the SummarizePosts.php and GetPostsQuery classes.

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

The topic ‘help=1 flag for summarize_posts shortcode does nothing’ is closed to new replies.