WordPress.org

Plugin Directory

Changeset 673004


Ignore:
Timestamp:
02/25/13 13:04:05 (14 months ago)
Author:
sLaNGjI
Message:

Stable Version 2009.1208.2009

File:
1 edited

Legend:

Unmodified
Added
Removed
  • noindex-total/trunk/noindex-total.php

    r672953 r673004  
    11<?php 
    22/* 
    3 Plugin Name: sLa2sLaNGjI's 
    4 Plugin URI: http://slangji.wordpress.com/plugins/ 
    5 Description: Sample to Insert Informational Text Log on Header and Footer when Plugin is Activated. 
     3Plugin Name: Noindex Total 
     4Plugin URI: http://slangji.wordpress.com/noindex-total/ 
     5Description: Instruct search engines to total no indexing WordPress Frontend, Backend and Login. 
    66Version: 2009.1208.2009 
    77Author: sLa 
     
    99Requires at least: 2.1 
    1010Tested up to: 3.8 
    11 License: GPLv2 or later 
     11License: GPLv2 (or later) 
    1212License URI: http://www.gnu.org/licenses/gpl-2.0.html 
    13 Indentation: GNU style coding standard 
     13Indentation: GNU (style coding standard) 
    1414Indentation URI: http://www.gnu.org/prep/standards/standards.html 
    1515 * 
    16  * sLa2sLaNGjI's - Sample to Insert Informational Text Log on Header and Footer when Plugin is Activated. 
     16 * Noindex Total - Instruct search engines to total no indexing WordPress Frontend, Backend and Login. 
    1717 * 
    1818 * Copyright (C) 2009-2013 [sLaNGjI's](http://slangji.wordpress.com/slangjis/) (email: <slangji[at]gmail[dot]com>) 
     
    3232 * or write to the Free Software Foundation, Inc., 51 Franklin Street, 
    3333 * Fifth Floor, Boston, MA 02110-1301, USA. 
    34  * 
    35  * √ THERMS 
    36  * 
    37  * This uses code derived from 
    38  * wp-footer-log.php by sLa <slangji[at]gmail[dot]com> 
    39  * sLa2sLaNGjIs.php by sLa <slangji[at]gmail[dot]com> 
    40  * according to the terms of the GNU General Public License version 2 (or later) 
    41  * 
    42  * According to the Terms of the GNU General Public License version 2 (or later) part of Copyright belongs to your own author and part belongs to their respective others authors: 
    43  * 
    44  * Copyright (C) 2009-2013 sLa (email: <slangji[at]gmail[dot]com>) 
    4534 * 
    4635 * √ DISCLAIMER 
     
    8069 */ 
    8170/** 
    82  * @package sLa2sLaNGjIs 
     71 * @package Noindex Total 
    8372 * @subpackage WordPress PlugIn 
    8473 * @since 2.1.0 
     
    9584            exit(); 
    9685        } 
    97     function sLa2sLaNGjIs() 
     86    function noindex-total() 
    9887        { 
    99             echo "\n<!--Plugin sLa2sLaNGjIs 2009.1208.2009 Active-->\n\n"; 
     88            echo '<meta name="robots" content="noindex,nofollow,noarchive,nocache,noimageindex,nomediaindex,noodp,nopreview,nosnippet,notranslate,novideoindex,noydir"/>'; 
    10089        } 
    101     add_action('admin_head', 'sLa2sLaNGjIs'); 
    102     add_action('admin_footer', 'sLa2sLaNGjIs'); 
    103     add_action('login_head', 'sLa2sLaNGjIs'); 
    104     add_action('login_footer', 'sLa2sLaNGjIs'); 
    105     add_action('wp_head', 'sLa2sLaNGjIs'); 
    106     add_action('wp_footer', 'sLa2sLaNGjIs'); 
     90    add_action('admin_head', 'noindex-total'); 
     91    add_action('login_head', 'noindex-total'); 
     92    add_action('wp_head', 'noindex-total'); 
    10793?> 
Note: See TracChangeset for help on using the changeset viewer.