Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author kcseopro

    (@kcseopro)

    Hello,

    Yes in next version will add this features.

    Thanks

    Wow…. Yes…. Thousand Thanks.

    I need to integrate WooCommerce. But my WISHLIST is to add more than one photo and need with images sizes (width x Height) for product and blog post.

    Hey any idea on a time-frame for the custom post type addition? I too have a site that uses a custom post type that could benefit from rich snippets. Thanks!

    swcoinco

    (@swcoinco)

    Love this plugin…
    However, could use the added functionality of using the plugin with custom post types, as soon as, a few months ago.

    Any quick fix to get this working now prior to the next update?

    swcoinco

    (@swcoinco)

    I found a solution:
    In “wp-seo-structured-data-schema/lib/classes/KcSeoMetaData.php”
    Line 10:
    $this->postType = get_post_types();
    Replace with:
    $postType = get_post_types();

    And on line 19:
    foreach($this->postType as $postType){
    Replace with:
    foreach(get_post_types( '', 'names' ) as $postType){

    Thanks again Phil for a great plugin!

    Here is the solution .

    Go to wp-seo-structured-data-schema/lib/classes/KcSeoHelper.php

    Open this file and search for kcSeoPostTypes() function.

    you will see something like this.

    $post_types = get_post_types(
    array(
    ‘_builtin’ => true
    )
    );
    change it to.

    $post_types = get_post_types();

    Thanks Phil for such awesome plugin!

    Plugin Author kcseopro

    (@kcseopro)

    Thanks for using our plugin, currently you can use by this way.
    For the next version we will update plugin for custom post type with fully functional.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Custom post type’ is closed to new replies.