Forum Replies Created
-
AuthorPosts
-
January 5, 2023 at 11:04 pm in reply to: identifying post category to display variable content #12318Aakash ChakravarthyKeymaster
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,
AakashJanuary 5, 2023 at 10:48 pm in reply to: Keyword Filter not working for me … thanks for your assistance :) #12316Aakash ChakravarthyKeymasterHi 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”.
January 5, 2023 at 10:03 pm in reply to: Keyword Filter not working for me … thanks for your assistance :) #12310Aakash ChakravarthyKeymasterHi 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,
AakashJanuary 4, 2023 at 10:34 pm in reply to: Keyword Filter not working for me … thanks for your assistance :) #12299Aakash ChakravarthyKeymasterHi 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,
AakashJanuary 4, 2023 at 12:51 am in reply to: Keyword Filter not working for me … thanks for your assistance :) #12290Aakash ChakravarthyKeymasterHi 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,
AakashAakash ChakravarthyKeymasterHi,
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,
AakashAakash ChakravarthyKeymasterHi 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,
AakashAakash ChakravarthyKeymasterHi 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,
AakashAakash ChakravarthyKeymasterHi,
Thanks for using Super RSS Reader. I’ll check this issue on my local setup and update.
Thanks,
AakashAakash ChakravarthyKeymasterHi 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,
AakashAakash ChakravarthyKeymasterHi Gregg,
I’ll check this issue on my test site and update you.
Thanks,
AakashAakash ChakravarthyKeymasterHi 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,
AakashAakash ChakravarthyKeymasterHi David,
Sorry for the super late reply.
Do you still need a help on this topic?
Thanks,
AakashAakash ChakravarthyKeymasterExcellent! 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-postMarking this thread as resolved.
Thanks,
AakashAakash ChakravarthyKeymasterHi Brent,
Please paste the CSS below.
.ancr-btn-primary { border-bottom: none !important; }
Thanks,
Aakash -
AuthorPosts