Open Graph Images

This topic contains 10 replies, has 4 voices, and was last updated by  Naveen Giri 4 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #527969

    Rich Andrews
    Free User
    Post count: 4

    I want my Yoast settings to push through…mainly for the open graph images, titles and description for the main page only.

    Any advice?

    URL here: https://palmbeachtech.org/directory/

    Screenshot attache

    #527972

    Kor
    Moderator
    Post count: 16516

    Hi Rich Andrews,

    Thanks for your post. Based on your screenshot, you have an arrow pointing to the permalinks. What are you trying to do with it? The Facebook Title that you’ve configured will show up on Facebook when this listing is shared.

    #528797

    Rich Andrews
    Free User
    Post count: 4

    @Kor

    Apologizes on the delayed response

    I am trying to get the open graph information I have entered into Yoast, to properly propagate on our Directory plugins page.

    Notice how on the directory page does not accept the Yoast settings but other normal pages have no issues.

    See here not working: https://developers.facebook.com/tools/debug/?q=https%3A%2F%2Fpalmbeachtech.org%2Fdirectory%2F

    Pages like these work: https://developers.facebook.com/tools/debug/?q=https%3A%2F%2Fpalmbeachtech.org%2Fevents%2F

    #528821

    Alex Rollin
    Moderator
    Post count: 27815

    Please share WP Admin credentials so we can check into that.

    WordPress Credentials
    WP Admin Login URL:
    WP Admin Username:
    WP Admin Password:

    #529342

    Rich Andrews
    Free User
    Post count: 4
    This reply has been marked as private.
    #529684

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Rich,

    if you want to edit SEO description and title of directory archive. Please change them here.
    https://palmbeachtech.org/wp-admin/post.php?post=23758&action=edit

    Thanks

    #534603

    Rich Andrews
    Free User
    Post count: 4

    Hi Naveen,

    We edited the YOAST SEO settings to modify the open graph on this page but still no luck when it propagates on Facebook….with Open Graph image on /directory

    https://palmbeachtech.org/directory/

    Any insight?

    #534868

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Rich,

    as per current settings, it should load the Yoast meta data, but seems something is overriding it.

    do you have any Yoast meta specific customisation added in theme.

    Please share FTP details in private reply.

    Regards
    Naveen

    #539936

    Rich Andrews
    Free User
    Post count: 4
    This reply has been marked as private.
    #540082

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Rich,

    code for this has been fixed and it will be in the upcoming version.
    meanwhile, if you want you can use this code snippet using plugin.
    https://wordpress.org/plugins/code-snippets/

    
    add_filter('wpseo_frontend_page_type_simple_page_id', 'wpseo_frontend_page_type_simple_page_id_custom_callback');
    function wpseo_frontend_page_type_simple_page_id_custom_callback( $gd_page_id ){
    	if ( geodir_is_page( 'post_type' ) || geodir_is_page( 'archive' ) ) {
    		$post_type = geodir_get_current_posttype();
    		$gd_page_id = geodir_get_page_id( 'archive', $post_type );	
    	}
    	return $gd_page_id; 
    }
    

    Regards
    Naveen

    #540844

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Rich,

    It has been pushed in 2.0.0.89. Please update the Geodirectory plugin.
    and you will not need this code anymore.

    Regards
    Naveen

Viewing 11 posts - 1 through 11 (of 11 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount