• In the wordpress control panel, how can you remove the “incoming links” from displaying?

    Some porn site is copying our content and the trackbacks lead to porn and I dont want the other writers who contribute to my blog to see them.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter marc100

    (@marc100)

    oops, im using WP 2.3.3
    thanks

    Thread Starter marc100

    (@marc100)

    Can someone help me with this pleeeeease. Its showing porn links in my admin area and my employees are getting upset and so am I!

    How do I stop displaying the Incoming Links area please?

    Try disabling
    <div id="incominglinks"></div>
    on line 33 in /wp-admin/index.php by changing it to
    <!-- <div id="incominglinks"></div> -->

    I don’t know if it works though, as I’m running WP 2.5.1 on my site. If you get an error or it fails to work in some other way, just change the line back to the original version.

    you have porn sites linking to YOU?

    that’s hot… and strange.

    Thread Starter marc100

    (@marc100)

    Cuco1981 it worked!!!

    thank you!!!

    If you want to block “incoming links” in your Dashboard and you are using WordPress 2.7 then edit the file ../wp-admin/includes/dashboard.php

    The following shows lines 34 to 47 (after my suggested modification). I have added the start multi-line comment (/*) at line 35 and the end multi-line comment (*/) at line 47. This effectively blocks out the whole incoming links widget.

    I hope that helps.

    Peter

    34    // Incoming Links Widget
    35    /*
    36    if ( !isset( $widget_options['dashboard_incoming_links'] ) || !isset( $widget_options['dashboard_incoming_links']['home'] ) || $widget_options['dashboard_incoming_links']['home'] != get_option('home') ) {
    37        $update = true;
    38        $widget_options['dashboard_incoming_links'] = array(
    39            'home' => get_option('home'),
    40            'link' => apply_filters( 'dashboard_incoming_links_link', 'http://blogsearch.google.com/blogsearch?hl=en&scoring=d&partner=wordpress&q=link:' . trailingslashit( get_option('home') ) ),
    41            'url' => apply_filters( 'dashboard_incoming_links_feed', 'http://blogsearch.google.com/blogsearch_feeds?hl=en&scoring=d&ie=utf-8&num=10&output=rss&partner=wordpress&q=link:' . trailingslashit( get_option('home') ) ),
    42            'items' => isset($widget_options['dashboard_incoming_links']['items']) ? $widget_options['dashboard_incoming_links']['items'] : 10,
    43            'show_date' => isset($widget_options['dashboard_incoming_links']['show_date']) ? $widget_options['dashboard_incoming_links']['show_date'] : false
    44        );
    45    }
    46    wp_add_dashboard_widget( 'dashboard_incoming_links', __( 'Incoming Links' ), 'wp_dashboard_incoming_links', 'wp_dashboard_incoming_links_control' );
    47    */

    AGGGGHHHHHH!!!

    I developed the above complex solution only to find a much easier one.

    Towards the top right-hand corner of the Dashboard page is a link/button for “Screen Options“; click on this link and you will see a list of “widgets” that you can show (or not show) on the Dashboard page. I have unticked:

    • Incoming Links
    • Plugins
    • QuickPress
    • WordPress Development Blog
    • Other WordPress News

    In addition, I moved the “Recent Comments” widget to make the page layout look neater.

    Very simple!

    Regards,
    Peter

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘How can I prevent the “Incoming links” from displaying in the control panel?’ is closed to new replies.