Forum Replies Created

Viewing 15 posts - 391 through 405 (of 1,956 total)
  • Author
    Posts
  • in reply to: identifying post category to display variable content

    Hi Charudatta,

    Thanks for using Shortcoder.
    With shortcoder plugin we cannot achieve “dynamic” conditions.

    Shortcoder is meant to create small shortcodes for big HTML/CS/JS snippets.

    Adding conditions is basically creating a programming language.

    I would suggest create your own shortcode and call shortcoder shortcodes like below.

    /* Create a shortcode which will conditional print shortcoder shortcode */
    function sc_condition_function($args){
        
        $category = get_the_category();
        $firstCategory = $category[0]->cat_name;
        
        if( $firstCategory = 'my_category' ){
            echo do_shortcode( '[sc name="sc1"]' );
        }else{
            echo do_shortcode( '[sc name="sc2"] );
        }
        
    }
    add_shortcode('sc_condition', 'sc_condition_function');

    Thanks,
    Aakash

    Hi Steve,

    It looks like the issue was in the “double” quotes. Some double quotes are prettified which made the parser pick wrong values.

    Please copy paste the shortcode below and see if it works.

    [srr_feed urls="https://www.thegatewaypundit.com/feed/, https://redstate.com/feed, https://www.dailywire.com/feeds/rss.xml, https://www.conservativedailynews.com/feed/, https://www.newsbusters.org/blog/, https://www.thecentersquare.com/search/?f=rss, https://www.dailysignal.com/feed, https://hotair.com/feed" grid_columns="3" color_style="twitter" show_author=1 show_date=1 show_thumb="1" thumbnail_size="128px" show_desc="none" add_nofollow="0" display_type="grid" thumbnail_position="cover" count="12" rich_desc="1" filter_type="show" show_source="below_desc" filter_name="opinion" tab_titles="Gateway Pundit, RedState, The Daily Wire, Conservative Daily News, Newsbusters, CenterSquare"]

    I tried the same shortcode on my page and the feed was filtered. Below is an example where feeds with category “opinion”.

    Hi Steve,

    I received the details you have shared. I just starting working on this issue. Please give me couple of hours. I’ll update you on this.

    Thansk,
    Aakash

    Hi Steve,

    I have requested the following information in my previous reply.

    Keyword Filter not working for me … thanks for your assistance 🙂

    Can you please share the following information?

    1) The RSS feed URL(s)
    2) A screenshot of the filter rules you have created for “opinion”

    I’ll recreate the same on my local setup and see if issue is reproduced.

    Can you please share this information?

    Thanks,
    Aakash

    Hi Steve,

    Thanks for using Super RSS Reader PRO.

    Can you please share the following information?

    1) The RSS feed URL(s)
    2) A screenshot of the filter rules you have created for “opinion”

    I’ll recreate the same on my local setup and see if issue is reproduced.

    Thanks,
    Aakash

    in reply to: How to use filters in posts only

    Hi,

    Super RSS Reader displays contents by parsing the RSS feed directly. The RSS feed is however cached by WordPress in DB for 12 hours. Everytime the reader is displayed, it tries to get the feed contents from the cache or it fetches the rss feed directly.

    It does not access database except the widget settings.

    Rgarding your 2nd question, it depends on the RSS feed contents. If your RSS feed has lots of text and if you are displaying full contents of the feed then the page may get heavier. Otherwise it shouldn’t cause an impact.

    Thanks,
    Aakash

    in reply to: How to use filters in posts only

    Hi Bay,

    Please follow along the code hint below.

    function my_srr_modifier( $html, $feed_url, $feed_item ){
        if ( is_single() && 'post' == get_post_type() ) {
        	 $html[ 'title' ] = $html[ 'title' ] . 'extra text';
        }
        return $html;
    }
    add_filter( 'srr_mod_item_html', 'my_srr_modifier', 10, 3 );

    Thanks,
    Aakash

    in reply to: PHP Error

    Hi Dan,

    Thanks for using Announcer plugin.

    Yes, this is a known issue. Can you please click “edit announcement” and “save the settings”?
    This should remove the warning.

    Thanks,
    Aakash

    in reply to: count Parameter is not working for shortcode

    Hi,

    Thanks for using Super RSS Reader. I’ll check this issue on my local setup and update.

    Thanks,
    Aakash

    in reply to: Feature request for scheduling

    Hi there,

    Thanks for using Announcer. There is no option to schedule announcements in that way.

    But your suggestion is a good idea. I’ll add this feature soon in the upcoming releases.

    I’ll update this thread when the feature is added.

    Thanks,
    Aakash

    in reply to: Background Image Not Displayed

    Hi Gregg,

    I’ll check this issue on my test site and update you.

    Thanks,
    Aakash

    in reply to: php 8.1 support

    Hi there,

    Sorry for the late reply. I haven’t tested the plugin with PHP 8.1

    The plugin uses the RSS reader API from WordPress itself. There shouldn’t be any issue with PHP 8.1.
    You can go ahead and install the plugin on PHP 8.1.

    Thanks,
    Aakash

    in reply to: change color link (Title and More…)

    Hi David,

    Sorry for the super late reply.

    Do you still need a help on this topic?

    Thanks,
    Aakash

    in reply to: RSS feed not working

    Excellent! Thanks for using Super RSS Reader!

    Please do rate the plugin 5 stars if you like it.
    https://wordpress.org/support/plugin/super-rss-reader/reviews/#new-post

    Marking this thread as resolved.

    Thanks,
    Aakash

    in reply to: Edit Hover Formatting

    Hi Brent,

    Please paste the CSS below.

    .ancr-btn-primary {
        border-bottom: none !important;
    }

    Thanks,
    Aakash

Viewing 15 posts - 391 through 405 (of 1,956 total)

Subscribe to our Newsletter

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

By using this website, you agree to our Terms