Tailwind compatible con oxygen
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
if (!defined('ABSPATH')) {
|
||||
exit; // Seguridad: evita acceso directo
|
||||
}
|
||||
|
||||
function custom_header_code()
|
||||
{
|
||||
|
||||
$humans = file_exists("humans.txt");
|
||||
|
||||
if (!$humans) {
|
||||
$createFile = fopen("humans.txt", "w") or die("Unable to open file!");
|
||||
$txt = "/* TEAM */ \n";
|
||||
fwrite($createFile, $txt);
|
||||
$txt = "Desarrollado por: Alejandro Castro Molina \n";
|
||||
fwrite($createFile, $txt);
|
||||
$txt = "Email: alcastromol@gmail.com \n";
|
||||
fwrite($createFile, $txt);
|
||||
$txt = "Location: Acapulco, Gro., Méx \n";
|
||||
fwrite($createFile, $txt);
|
||||
$txt = " \n";
|
||||
fwrite($createFile, $txt);
|
||||
$txt = " \n";
|
||||
fwrite($createFile, $txt);
|
||||
$txt = "/* SITE */ \n";
|
||||
fwrite($createFile, $txt);
|
||||
$txt = "Last update: " . date("Y/m/d") . " \n";
|
||||
fwrite($createFile, $txt);
|
||||
$txt = "Standards: Html5, CSS3 (tailwindcss), Js (vanilla) y PHP 8.3 \n";
|
||||
fwrite($createFile, $txt);
|
||||
$txt = "Components: jQuery. \n";
|
||||
fwrite($createFile, $txt);
|
||||
$txt = "Software: Tema Personalizado desarrollado desde 0 \n";
|
||||
fwrite($createFile, $txt);
|
||||
|
||||
fclose($createFile);
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
<!--================================================
|
||||
= Autoria del desarrollo Web =
|
||||
=================================================-->
|
||||
<link type="text/plain" rel="author" href="<?php echo get_home_url(); ?>/humans.txt" />
|
||||
<!--==== Autoria del desarrollo Web ====-->
|
||||
|
||||
<?php
|
||||
}
|
||||
add_action('wp_head', 'custom_header_code');
|
||||
Reference in New Issue
Block a user