WordPress.org

Support

Support » Plugins and Hacks » All In One Schema.org Rich Snippets » [Resolved] Plugin not working with custom posts

[Resolved] Plugin not working with custom posts

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nitin Yawalkar

    @yawalkarm

    Hi Santosh,

    First of all, thanks for using our plugin.

    You can enable the configuration panel on custom post types, follow these instructions:

    • Go to edit plugins and locate the meta-boxes.php file
    • Register a new variable after $prefix : $post_types=get_post_types('','names');
    • Now replace this line –
      'pages' => array( 'post','page'), // Post type

      With this one –

      'pages' => $post_types,//array( 'post','page'), // Post type

    This will enable the rich snippets configuration panel on each post type.

    Plugin Author Brainstorm Force

    @brainstormforce

    Santosh,

    Hope Nitin solved your query. Should you have any further questions, please feel free to post your question.

    Regards,
    Sujay

    Thanks Nitin and Sujay I will fix it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Plugin not working with custom posts’ is closed to new replies.
Skip to toolbar