Support » Plugin: WP Meta SEO » Meta description missing for blog page (page_for_posts)

  • Resolved jeffdrumgod



    I detected that is missing a line in plugin for meta description, for page configured as main blog listing.

    Variable $desc in class.metaseo-opengraph.php, in function getHome always is empty when $mshow_on_front == 'page'

    See changes needed:

    --- inc/class.metaseo-opengraph.php	(revision 1897831)
    +++ inc/class.metaseo-opengraph.php	(working copy)
    @@ -273,6 +273,7 @@
                 $title = esc_attr(get_post_meta($mpage_for_posts, '_metaseo_metatitle', true));
                 $page_follow = get_post_meta($mpage_for_posts, '_metaseo_metafollow', true);
                 $page_index = get_post_meta($mpage_for_posts, '_metaseo_metaindex', true);
    +            $desc = get_post_meta($mpage_for_posts, '_metaseo_metadesc', true);

    Adding this line, the problem of my theme has fixed (description is not shown for page configured in wp-admin as blog page in preferences).

    Did you can fix this in next version?

    • This topic was modified 1 year, 5 months ago by jeffdrumgod.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author JoomUnited



    Thanks for reporting! the developer will check that ASAP and let you know.


    Plugin Author JoomUnited



    We will push an update today or tomorrow that include this fix (among others).
    Let me know if something is wrong after that.


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Meta description missing for blog page (page_for_posts)’ is closed to new replies.