• Resolved rabit101

    (@rabit101)


    Hi,

    next scripts social network auto poster and yoast wordpress seo plugins not getting the body content/excerpt from post type cp_recipe.

    and please can you tell me the ETA of cooked pro, I am dying for waiting of cooked pro.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter rabit101

    (@rabit101)

    Hi,

    The issue come right after update 1.1.6 if you set auto generate meta description under yoast Title & meta tab for recipe the title is returning under og meta description tag and also next scripts social network auto poster not getting the rawtext or fulltext from post type cp_recipe if your add blogger or wp based wordpress account under next scripts social network auto poster and auto post to that network you will get only title and there is no body content but this feature is working very well under cooked classic plugin next scripts social network auto poster can get body content like excerpt, ingredients, steps everything in cooked classic but not in this version.

    Plugin Author Boxy Studio

    (@boxystudio)

    Okay, I will take a look at this for the next update. Thanks @rabit101!

    Thread Starter rabit101

    (@rabit101)

    Dear Justin,

    This issue is coming from Yoast wordpress seo plugin its not compatible.
    For testing and finding issue I installed fresh wordpress and cooked plugin on my localhost development machine and tested everything working fine but when i installed yoast seo plugin the issue is come back again body content showing as post title everywhere please find a solution for this.

    Thanks

    Thread Starter rabit101

    (@rabit101)

    Sorry its not a yoast plugin issue its a cooked plugin issue visual composer also not getting the body content if yoast is not installed.

    Thread Starter rabit101

    (@rabit101)

    Hi,

    Please check this…

    1. wp-content/plugins/cooked/includes/class.cooked-recipe-meta.php
    Line No: 144

    $recipe_excerpt = ( isset($recipe_excerpt) && $recipe_excerpt ? $recipe_excerpt : get_the_title( $post_id ) );
    ———>
    $recipe_excerpt = ( isset($recipe_excerpt) && $recipe_excerpt ? $recipe_excerpt : $recipe_settings[‘excerpt’] );

    2. wp-content/plugins/cooked/includes/class.cooked-recipes.php
    Line No: 366

    wp_update_post( array( ‘ID’ => $post_id, ‘post_excerpt’ => $recipe_settings[‘title’], ‘post_content’ => $recipe_settings[‘title’] ) );
    ———>
    wp_update_post( array( ‘ID’ => $post_id, ‘post_excerpt’ => $recipe_settings[‘excerpt’], ‘post_content’ => $recipe_settings[‘excerpt’] ) );

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Body content not getting into other plugins’ is closed to new replies.