Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • J3200
    Participant

    Hi 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!

    Aakash
    Keymaster

    Hi J3200,

    Thanks for using Super RSS Reader plugin.

    If you are using the PRO version, you can change it using the “custom template” feature.

    Custom feed item template

    If you are using the free version, then we must use the “hooks” to modify the HTML like below.

    Actions and Filters

    Let me know if you need help in using the hook to use h2 headings.

    Thanks,
    Aakash

    J3200
    Participant

    Hi 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&#8221; 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).

    J3200
    Participant

    And I noticed another thing. It only loads five articles. Previously with Elementor also this worked normally.

    J3200
    Participant

    Please 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&#8221; 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.

    J3200
    Participant

    My understanding is not enough to resolve this. Can you help me with it?

    Aakash
    Keymaster

    Hi 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,
    Aakash

    J3200
    Participant

    Hi 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.

    Aakash
    Keymaster

    Hi J3200,

    Thanks for confirming. Glad that the issue is resolved 🙂

    Thanks,
    Aakash

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Using website styling in feed headlines’ is closed to new replies.

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