Forum Replies Created

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • in reply to: […] dots are not added at the end.
    Ed Native
    Participant

    All is working. Thank you!

    in reply to: strip_desc for Chinese and Korean languages
    Ed Native
    Participant

    that’s working.thank you for you help!

    in reply to: strip_desc for Chinese and Korean languages
    Ed Native
    Participant

    Please, explain, what does this code do?

    in reply to: strip_desc for Chinese and Korean languages
    Ed Native
    Participant

    I do it, setting 3 words, but sometimes sentences contain 1 long word.

    I can’t reply here because the site doesn’t save the messages.

    in reply to: Change the thumbnail tag
    Ed Native
    Participant

    that worked, but sometime there is no KB, but MB
    image3500×2885 1.29 MB

    in reply to: Change the thumbnail tag
    Ed Native
    Participant

    I replaced with your code, but all span elements are within the <p> tag and are not html codes – they are plain text

    <p><span class="filename">image</span><span class="informations">1280×798 615 KB</span> </p>

    in reply to: Change the thumbnail tag
    Ed Native
    Participant

    Can you check on your site?
    [srr_feed urls="https://natives.chat/c/korean/26.rss" count="9" show_desc="1" show_thumb="1" strip_desc="30" rich_desc="0" add_nofollow="1" open_newtab="1" thumbnail_position="cover" read_more="0" thumbnail_size="350px" color_style="twitter" display_type="grid" grid_columns="3"]

    I can’t modify rss and there is no this <span class=”informations”> – it is only available in the rss.

    the only way is to exclude it by your plugin

    in reply to: Change the thumbnail tag
    Ed Native
    Participant

    Can’t use css, as in browser it is shown in a plain text like
    ‘<p>image1226×1233 363 KB… text </p>’

    in reply to: Change the thumbnail tag
    Ed Native
    Participant

    this info is in this part:
    <span class=”informations”>960×639 87.8 KB</span>

    how can we exclude these blocks?

    in reply to: Change the thumbnail tag
    Ed Native
    Participant

    I’ve change the code in the pro version and there is no problem with grid template.

    The only thing is this:
    image1600×1067 415 KB that is inserted in the beginning of the description
    https://prnt.sc/vi3x7v

    in reply to: Change the thumbnail tag
    Ed Native
    Participant

    I have a pro version. I see that you gave me a code of a free version

    in reply to: Change the thumbnail tag
    Ed Native
    Participant

    Any ideas how to solve it?

    in reply to: Change the thumbnail tag
    Ed Native
    Participant

    my shortcode
    [srr_feed urls="https://natives.chat/c/korean/26.rss" count="9" show_desc="1" show_thumb="1" strip_desc="30" rich_desc="0" add_nofollow="1" open_newtab="1" thumbnail_position="cover" read_more="0" thumbnail_size="350px" color_style="twitter" display_type="grid" grid_columns="3"]

    in reply to: Change the thumbnail tag
    Ed Native
    Participant

    My answers are not submitted.

    So your help was successful. Thank you.

    But I have 2 problems now:

    1) grid is not working

    2) unnecessary code is added: https://prnt.sc/vi3x7v

    in reply to: Change the thumbnail tag
    Ed Native
    Participant

    Got an error trying to activate after the change:
    Plugin could not be activated because it triggered a fatal error.

    https://prnt.sc/vi387g

                // Outer wrap end
                $html .= '</div></div>' ;
                
                if( !is_wp_error( $feed ) )
                    $feed->__destruct();
    /*
                unset( $feed );
    
            }
    */
    	        if( !empty( $urls ) && isset( $urls[1] ) ){
    	            return $urls[1];
    	        }
    
            $html = '<div class="srr-main">' . $html . '</div>';
    
            return $html;
    
        }
    
        function get_thumbnail_url( $item ){
Viewing 15 posts - 1 through 15 (of 17 total)

Subscribe for updates

Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter