Forums

widget sidebar for qtranslate plugin doesn't show (5 posts)

  1. ballyhoo
    Member
    Posted 1 year ago #

    Hi,

    I installed the 'qtranslate' plugin.
    There is a widget provided to show the 'language chooser' in the first sidebar.

    Problem: this 'language chooser' doesn't show; the same with other widgets that I place in the first sidebar. They are never shown.

    A second question: I want to remove the RSS link in the header. What file do I have to change..?

    Thanks a lot!

    Di

  2. 123milliseconds
    Member
    Posted 1 year ago #

    Adam Harley (Kawauso)
    Member
    Posted 1 year ago #

    Put remove_action( 'wp_head', 'feed_links' ); in your theme's functions.php (or if you haven't got one, make one and put <?php and ?> on new lines around the above.

    You'll have to add in the link tag for your main RSS feed manually if you want it in your header.php again with something like:
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />

    - - -

    Also

    http://wordpress.org/support/topic/how-do-i-remove-rss-feed-and-comments-from-header?replies=6

  3. ballyhoo
    Member
    Posted 1 year ago #

    Hi Adam,

    Thanks a lot.
    But probably I do something wrong because it soesn't work.

    I put this in the functions.php:
    remove_action( 'wp_head', 'feed_links' );

    and the rss link is still visible

  4. 123milliseconds
    Member
    Posted 1 year ago #

    Hi

    I posted that; just included the top 3 lines as a credit to adam and eve

    --

    second part of Adam's post ; I suspect its hard coded in header.php

    look for lines containing RSS-letters in header and remove those

    header.php again with something like:

    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />

  5. ballyhoo
    Member
    Posted 1 year ago #

    Thanks!!!!!

    ça marche!

Topic Closed

This topic has been closed to new replies.

About this Topic