-
AuthorPosts
-
May 11, 2025 at 1:37 pm #15879
J3200
ParticipantHi Aakash,
I would need to change feed headlines to match the site elsewhere. I would like to display them as h2, how can I change this?
Thank you!
May 12, 2025 at 4:07 am #15880Aakash
KeymasterHi J3200,
Thanks for using Super RSS Reader plugin.
If you are using the PRO version, you can change it using the “custom template” feature.
If you are using the free version, then we must use the “hooks” to modify the HTML like below.
Let me know if you need help in using the hook to use h2 headings.
Thanks,
AakashMay 12, 2025 at 9:26 pm #15883J3200
ParticipantHi Aakash,
I have the pro version.
I actually used template=<h2>%%title%%</h2>%%metadata%%%%thumbnail%%%%description%% before. It worked great when I had created my website pages with Elementor.
Now Im in the process of doing all my pages without Elementor using just Block Editor and for some reason this does not work when using the Block Editors shortcode block. The page comes out blank when I insert this string.
If I use only:
[srr_feed urls=”https://www.URL” count=”20″
color_style=”none” display_type=”normal” show_author=0 show_date=1 date_format=”j.n.Y” thumbnail_force=”always” thumbnail_position=”cover” strip_desc=””
read_more=”” thumbnail_size=”300px” link_desc=0 open_newtab=”1″]I can make it visually look correct by using (what I found from this forum):
.srr-title{
font-size: 32px;
font-weight:
float:left;
padding-left:0px;
}But I guess the correct way would be to use the <h2>? (I am not very skilled in WordPress).
May 12, 2025 at 9:27 pm #15884J3200
ParticipantAnd I noticed another thing. It only loads five articles. Previously with Elementor also this worked normally.
May 13, 2025 at 1:03 am #15885J3200
ParticipantPlease disregard my previous post. I have tried several ways to fix it and got little confused. The problem:
If I create a page with Elementor this is working:
[srr_feed urls=”https://www.URL.com” template=<h3>%%title%%</h3>%%metadata%%%%thumbnail%%%%description%% count=”20″
color_style=”none” display_type=”normal” show_author=0 show_date=1 date_format=”j.n.Y” thumbnail_force=”always” thumbnail_position=”cover” strip_desc=””
read_more=”” thumbnail_size=”300px” link_desc=0 open_newtab=”1″]Im in the process of recreating my pages with Block Editor. Adding the same short code returns only a blank page. If I remove the heading tag, the page loads, but only with 5 articles.
I have tried several configurations and thought, maybe this is not the optimal way to use the heading tag. Now trouble shooting I reactivated Elementor and created a page, and the short code works. Seems to be a problem related to Block Editors short code block?
My theme is Bridge.
May 14, 2025 at 3:09 pm #15893J3200
ParticipantMy understanding is not enough to resolve this. Can you help me with it?
May 14, 2025 at 10:15 pm #15896Aakash
KeymasterHi J3200,
In block editor can you please confirm if you are pasting the Shortcoder in the “Shortcode” block?
Also, please wrap the value of the template attribute like below. This is the issue.
template="<h3>%%title%%</h3>%%metadata%%%%thumbnail%%%%description%%"
Thanks,
AakashMay 16, 2025 at 12:35 pm #15898J3200
ParticipantHi Aakash,
thank you for your help. Yes I was using the shortcode block. The problem was the missing “”. Seems that using shortcode in Elementor is more forgiving with errors than with Block Editor.
May 17, 2025 at 2:26 am #15900Aakash
KeymasterHi J3200,
Thanks for confirming. Glad that the issue is resolved 🙂
Thanks,
Aakash -
AuthorPosts
- The topic ‘Using website styling in feed headlines’ is closed to new replies.