How to remove RSS line at top of page

  • Anonymous

    #6542

    The line at the top of each page says

    “RSS icon” Jetlag and Mayhem >> Comments Feed

    How can I get rid of this line?

    http://www.jetlagandmayhem.com

    Admin

    Syahir Hakim

    #34759

    Seems like you’ve disabled the top bar, so we can’t see the issue. In any case, try checking the settings in Graphene Options > Top Bar Options > Social Media. Try deleting all the social media in there and add them back again.

    Anonymous

    #34760

    Did you realise that my problem relates to Graphene Mobile?

    The RSS comment line that I want to remove is still appearing..

    I did spot some code which may be relevant in theme-setup.php. If that is the code which generates the RSS comment line, I haven’t yet thought about whether I can over-ride this code in a sensible way.

    ../wp-content/themes/graphene-mobile/includes/theme-setup.php

    add_theme_support ( ‘automatic-feed-links’ ) ;

    Admin

    Syahir Hakim

    #34762

    OK, seems like there’s an unclosed attribute in “viewport” meta tag within the <head> element. Simply update the mobile theme to version 1.2.3 and the issue should be resolved.

    Anonymous

    #34763

    I have implemented mobile version 1.2.3 as suggested. This has successfully removed the top line (as I requested). However, I now have an RSS icon appearing on the address bar following the url. How can I suppress this RSS icon?

    Admin

    Syahir Hakim

    #34764

    That RSS icon is for your user to subscribe to your site’s feeds, which makes it easier for content syndication. If you want to remove it, you’ll have to use a child theme for the mobile theme. This post may be of help to you:

    https://forum.graphene-theme.com/how-to/child-theme-functionality-with-graphene-mobile/

    Let me know when you’ve configured the child theme for the mobile theme.

    Anonymous

    #34765

    Are you using Opera mini or Opera mobile? That is an Opera thingy. Open your site in a different browser and this will not come up.

    Anonymous

    #34766

    Thank you foryour continuing interest in this problem,. I thought about temporarily replacing Graphene’s “rss.png” to see if that was the source of the image appearing in my browsers.

    The RSS icon displays in both Opera Mini and in the Stock Internet browser (that is the one included by default in the setup for my Android phone). Is Graphene mobile sending an image of the icon OR is it sending code which triggers the browser to display the icon, like the <link> tag described below?

    I found the following info on another post.

    Whenever your internet browser whether Internet Explorer, Google Chrome, Mozilla Firefox, Apple Safari, Opera or any other that you use, visits a web page – it checks for a <link> tag in the Head column of the website. Well there are many types of <link> tags but for the purpose of displaying RSS icon, your internet browser searches for a tag of following sort.

    <link rel=”alternate” type=”application/rss+xml” title=”Trixya – The Technology Blog » Feed” href=”http://www.trixya.net/index.php/feed&#8221; />

    Anonymous

    #34767

    Yes, Opera Mini and Stock Android Browser pulls the RSS feed link from head and displays it at the top of all pages. Did you see Syahir’s reply? Once you set up child theme for mobile theme, you can remove

    <link rel="alternate" type="application/rss+xml" title="Jetlag and Mayhem &raquo; Feed" href="http://jetlagandmayhem.com/feed/" />

    from <head> by adding this code to functions.php

    <?php
    function custom_remove_feed_links() {
    remove_action( 'wp_head', 'feed_links_extra', 3 );
    remove_action( 'wp_head', 'feed_links', 2 );
    }
    add_action('init','custom_remove_feed_links');

    Anonymous

    #34768

    SOLVED Thank you to Syahir and to Prasanna. Tested on Opera Mini and the Internet Stock Browser in an Android phone.

Viewing 10 posts - 1 through 10 (of 10 total)

  • You must be logged in to reply to this topic.