• Resolved mkvgs

    (@mkvgs)


    First off, really like this plugin! Question – does it support custom post types? I’ve created one, and I’m not seeing the checkbox on the bottom that says, “Hide author for this article (Post Author plugin)”; I’m only seeing the list of authors, and the author info. is displaying in the post (and I want to hide it.)

    Thanks.

    https://www.ads-software.com/plugins/post-author/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I would also have a choice to hide Post Author in custom post types.. Please?

    I have managed to fix this temporary.
    In post_author.php find:

    function add_author_to_post($content)
    {
        $content_org = $content;

    And change it to:

    function add_author_to_post($content)
    {
        global $post;	if ($post->post_type == 'sp_player' OR $post->post_type == 'sp_team')	return $content;
        $content_org = $content;

    Change ‘sp_player’ and ‘sp_team’ to your custom post types.

    Plugin Author David Shabtai

    (@tzavdesign)

    Good news, we are planning support for custom post types in a major upgrade.

    We’ll keep you posted.
    David.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Support for Custom Post Types’ is closed to new replies.