Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • I 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.0

    Thanks

    Thread Starter md_hedji

    (@md_hedji)

    Now 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;
     
    }
    Thread Starter md_hedji

    (@md_hedji)

    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.
    Thread Starter md_hedji

    (@md_hedji)

    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?

    Thread Starter md_hedji

    (@md_hedji)

    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?

    Thread Starter md_hedji

    (@md_hedji)

    Thanks, I will wait=)

    Thread Starter md_hedji

    (@md_hedji)

    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?

    Thread Starter md_hedji

    (@md_hedji)

    Okay, Tnx

    @damonsomu
    workaround for this
    open /wp-content/plugins/telegram-for-wp/functions.php

    find function twp_post_published
    line 423

    twp_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

    • This reply was modified 8 years, 2 months ago by md_hedji.
    • This reply was modified 8 years, 2 months ago by md_hedji.
    • This reply was modified 8 years, 2 months ago by md_hedji.
Viewing 9 replies - 1 through 9 (of 9 total)