Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 18.219.23.150
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/blog.diixadigital.com/wp-content/themes/rubik/plugins/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/blog.diixadigital.com/wp-content/themes/rubik/plugins/sitelinks-search-box.php
<?php
/**
Plugin Name: Sitelinks Search Box
Plugin URI: http://apasionados.es
Description: Adds the JSON-LD schema.org markup for the "Google Sitelinks Search Box" on the homepage. This new feature was presented on the <a href="http://googlewebmastercentral.blogspot.com.es/2014/09/improved-sitelinks-search-box.html" target="_blank">Official Google Webmaster Central Blog</a> (05 Sep 2014 07:44 AM PDT). There is more info on the <a href="https://developers.google.com/webmasters/richsnippets/sitelinkssearch">Google Developers Website</a>.
Version: 1.1
Author: Apasionados.es
Author URI: http://apasionados.es
License: GPL2
Text Domain: rubik
*/
 
 /*  Copyright 2014  Apasionados.es  (email: info@apasionados.es)

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License, version 2, as 
    published by the Free Software Foundation.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
*/

$plugin_header_translate = array( esc_html__('Sitelinks Search Box', 'rubik'), esc_html__('Adds the JSON-LD schema.org markup for the "Google Sitelinks Search Box" on the homepage. This new feature was presented on the <a href="http://googlewebmastercentral.blogspot.com.es/2014/09/improved-sitelinks-search-box.html" target="_blank">Official Google Webmaster Central Blog</a> (05 Sep 2014 07:44 AM PDT). There is more info on the <a href="https://developers.google.com/webmasters/richsnippets/sitelinkssearch">Google Developers Website</a>.', 'rubik') );

add_action( 'admin_init', 'ap_sitelinks_search_box_load_language' );
function ap_sitelinks_search_box_load_language() {
	load_plugin_textdomain( 'rubik', false,  dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
}

function ap_sitelinks_search_box (){
    if ( is_front_page() ) {
        echo PHP_EOL . '<script type="application/ld+json">' . PHP_EOL;
        echo '{' . PHP_EOL;
        echo '  "@context": "https://schema.org",' . PHP_EOL;
        echo '  "@type": "WebSite",' . PHP_EOL;
        echo '  "url": "' . esc_url(get_site_url()) . '/",' . PHP_EOL;
        echo '  "potentialAction": {' . PHP_EOL;
        echo '    "@type": "SearchAction",' . PHP_EOL;
        echo '    "target": "' . esc_url(get_home_url('/')) . '/?s={search_term}",' . PHP_EOL;
        echo '    "query-input": "required name=search_term"' . PHP_EOL;
        echo '  }' . PHP_EOL;
        echo '}' . PHP_EOL;
        echo '</script>' . PHP_EOL;
        }
} 
add_action( 'wp_footer', 'ap_sitelinks_search_box', 10000 );

?>

Youez - 2016 - github.com/yon3zu
LinuXploit