localnavi
Forum Replies Created
-
Before reading the additional information, I posted a large, vertical image as the first image.
https://share.google/sd4ozbS1yeQKmRqrB
Then, the image appeared in the latest information on my Google Business Profile.
It seems that making the image larger was a good idea.
Thank you.Thank you for your reply.
I checked my post and found an Open Graph meta tag in the head tag.
The URL for that post is below:
https://www.localnavi.biz/archives/post-11766.htmlFor your reference, I’ve also included the URLs of the social media accounts where the post was shared.
Facebook Page
https://www.facebook.com/localnavi.biz/posts/pfbid0254yYWWSv4msYMJbMaDU7Zv9jjvbPKSK2CuCfrwhSgo5nHNq7Uc2WJfWd6cJecqwFlTwitter
https://x.com/localnavi_biz/status/1961608972210946505Google Business Profile
https://share.google/FlBXUGoz2Lwl9dwmXForum: Plugins
In reply to: [Perfecty Push Notifications] Disable post update notificationSorry, between “echo <<< EOM” and “EOM;” was deleted.
I escape HTML tags.
//Uncheck Perfecty Push Notifications when updating posts function hide_metabox_on_new_post() { global $pagenow; if ( $pagenow == 'post-new.php' ) { remove_meta_box( 'PPN-unchecked', 'post', 'normal' ); } } function show_metabox_on_edit_post() { global $pagenow; if ( $pagenow == 'post.php' ) { add_meta_box( 'PPN-unchecked', 'PPN-unchecked', 'PPN_unchecked_inner', 'post', 'normal', 'low' ); } } function PPN_unchecked_inner() { echo <<< EOM <script> window.addEventListener("load",function() { let checkbox = document.getElementById('perfecty_push_send_on_publish'); if (checkbox.checked) { checkbox.checked = false; } }) </script> EOM; } add_action( 'add_meta_boxes', 'show_metabox_on_edit_post' ); add_action( 'admin_head', 'hide_metabox_on_new_post' );- This reply was modified 3 years, 1 month ago by localnavi.
Forum: Plugins
In reply to: [Perfecty Push Notifications] Disable post update notificationHi, Ivan. I thought the same thing as you. Paste the following at the end of your active theme's function.php. So You can uncheck "Send notification on publish" automatically when updating posts. //Uncheck Perfecty Push Notifications when updating posts function hide_metabox_on_new_post() { global $pagenow; if ( $pagenow == 'post-new.php' ) { remove_meta_box( 'PPN-unchecked', 'post', 'normal' ); } } function show_metabox_on_edit_post() { global $pagenow; if ( $pagenow == 'post.php' ) { add_meta_box( 'PPN-unchecked', 'PPN-unchecked', 'PPN_unchecked_inner', 'post', 'normal', 'low' ); } } function PPN_unchecked_inner() { echo <<< EOM EOM; } add_action( 'add_meta_boxes', 'show_metabox_on_edit_post' ); add_action( 'admin_head', 'hide_metabox_on_new_post' );