md_hedji
Forum Replies Created
-
Forum: Plugins
In reply to: [The SEO Framework – Fast, Automated, Effortless.] Robots meta settings issueI have a similar problem only with tags, globally I do not have a check mark for noindex, nofollow tags (checkboxes disabled), but tags are created by default in noindex, nofollow format. What do i do?
The SEO Framework 4.1.1
The SEO Framework – Extension Manager 2.4.0Thanks
Forum: Plugins
In reply to: [Core Sitemaps] Sitemap Priority depend on post_typeNow i have other problem i solve problem above, i cant find in filter wp_sitemaps_posts_entry how i can change priority for homepage (i use static home page set in wp-admin/options-reading.php static page)
add_filter( 'wp_sitemaps_posts_entry', 'add_sitemap_tags_post', 10, 2 ); function add_sitemap_tags_post( $sitemap_entry, $post, $post_type ) { if ( 'post' == $post->post_type ) { $sitemap_entry[ 'priority' ] = '0.5'; } if ( 'page' == $post->post_type ) { $sitemap_entry[ 'priority' ] = '0.6'; } $sitemap_entry[ 'changefreq' ] = 'weekly'; $sitemap_entry[ 'lastmod' ] = $post->post_modified_gmt; return $sitemap_entry; } add_filter( 'wp_sitemaps_taxonomies_entry', 'add_sitemap_tags_tax', 10, 3 ); function add_sitemap_tags_tax( $sitemap_entry, $term, $taxonomy ) { if ( $taxonomy == 'category' ) { $sitemap_entry[ 'priority' ] = '0.8'; } if ( $taxonomy == 'post_tag' ) { $sitemap_entry[ 'priority' ] = '0.6'; } $sitemap_entry[ 'changefreq' ] = 'weekly'; return $sitemap_entry; }
Forum: Plugins
In reply to: [AMP] amp-youtube component check if exist?Thanks, I’ll try to figure it out, I do not know how to do it yet=) Please add support for YouTube outside the content to the next version of the plugin =)
- This reply was modified 5 years, 10 months ago by md_hedji.
Forum: Plugins
In reply to: [AMP] amp-youtube component check if exist?Thanks for your answer, if I understood correctly in this case, the YouTube component will be connected on all pages, even where there is no video, is this not bad? Google will not swear on the markup?
Forum: Plugins
In reply to: [Random Content] Template Tags?Hi again, I turned it off oddly and turned on plugin and the rotation on the group in the widget worked … there is another question if the widget is rotating by group and there are no elements for rotation in the widget that simply displays the empty body of the widget. Can I not display a widget at all when there are no items to show in the group?
Forum: Plugins
In reply to: [Random Content] Template Tags?Thanks, I will wait=)
Forum: Plugins
In reply to: [Random Content] Template Tags?thanks for reply, what about that?
wordpress 4.8 widget by category does not work ( works only when i set Category “All” in widget settings…
how i can fix this?Forum: Plugins
In reply to: [Inline Google Spreadsheet Viewer] Bootstrap UI?Okay, Tnx
Forum: Plugins
In reply to: [Telegram for WP] Only send notification when post published.@damonsomu
workaround for this
open /wp-content/plugins/telegram-for-wp/functions.phpfind function twp_post_published
line 423twp_post_published ( $ID, $post, $pattern, $thumb_method, $twp_img_id, $twp_file_id ) { global $wpdb; global $table_name; global $tdata;
and add new line after global $tdata;
if ($post->post_status == "publish" && $post->post_modified_gmt == $post->post_date_gmt) {
next go to line 616
find
//unset($_POST['twp_send_to_channel']);
add after this line
}
All done. Now plugin will send notification only when post published