• Resolved simtoalev

    (@simtoalev)


    Hi,
    I’m using the All In SEO Pack plug-in and I installed the JM Twitter Cards. When I was tried to this pluging, I saw “twitter:title” is empty.

    I Found what is the problem. I’m using SEO plug-in but not filling the plugin’s title input. I commented this line on jm-twitter-cards.php and I solved the problem.

    /* elseif (class_exists(‘All_in_One_SEO_Pack’)) {
    global $post;
    $post_id = $post;
    if (is_object($post_id)) $post_id = $post_id->ID;
    $cardTitle = htmlspecialchars(stripcslashes(get_post_meta($post_id, ‘_aioseop_title’, true)));
    $cardDescription = htmlspecialchars(stripcslashes(get_post_meta($post_id, ‘_aioseop_description’, true)));
    } */

    But maybe you must make selectable this options in the settings page.

    BTW: Sorry for my English.

    http://wordpress.org/extend/plugins/jm-twitter-cards/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Anonymous User 10765487

    (@anonymized-10765487)

    Hi,

    Too bad you do not use the title feature in All in One SEO. Nevertheless the plugin should take into account this case even if I would recommand filling out the title field in your SEO plugin.

    This will be added and you’re perfectly right this option can be selectable in option page. Thanks for reporting dude πŸ™‚

    Anonymous User 10765487

    (@anonymized-10765487)

    3.0.5 should fix the problem πŸ™‚

    Thread Starter simtoalev

    (@simtoalev)

    Thank you dude. I updated the plugin. It’s better now.

    Anonymous User 10765487

    (@anonymized-10765487)

    no problem πŸ™‚ thanks for reporting

    Matsuri Times

    (@matsuritimes)

    (because I understood the value was chosen automatically, I reported it was not working, later I edited the post after it was already replied to)

    Anonymous User 10765487

    (@anonymized-10765487)

    Hi, you can disable All in One SEO option in settings. If you do such a thing the plugin will grab post title instead.

    But if you choose to use All in One SEO title, indeed you’ll have to fulfill All in One SEO title field.

    Matsuri Times

    (@matsuritimes)

    Have you thought of adding a logic that if the title from All in one SEO is empty, then you use the post title?

    It seems to rather natural to set things in SEO only when I want to make change to default one.

    Anonymous User 10765487

    (@anonymized-10765487)

    Interesting, this could be added. I think you’re right, on no account meta:title should be empty. Thanks for reporting. This will be added in the next update πŸ™‚

    BTW : congrats for your very first posts on wordpress.org welcome ^^

    Matsuri Times

    (@matsuritimes)

    Thank you, looking forward to.

    That’s not a new idea, plugins for Facebook OpenGraph deal with it this way. For description I would suggest checking AIOSEO -> excerpt -> post content, and first not empty gets into the meta value.

    Anonymous User 10765487

    (@anonymized-10765487)

    I do not need to do this. I just have to test if meta value is set in if statement and it ‘ll do the job.

    Matsuri Times

    (@matsuritimes)

    Hello, I missed the information about update. Thank you for introducing this feature!

    Anonymous User 10765487

    (@anonymized-10765487)

    You’re welcome ^^

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

The topic ‘All In SEO Pack & Empty Title’ is closed to new replies.