José Rafael Pombo Rebolledo (Bogotá, 7 de noviembre de 1833 – Bogotá, 6 de mayo de 1912) fue un narrador, escritor, poeta, fabulista, traductor, intelectual y diplomático colombiano.
Referencia Bibliográfica: José Rafael Pombo. En Wikipedia.
/** * Citaciones Functions * @wordpress-plugin * @author Julibe * @license GPL-3.0-or-later * Plugin Name: Citaciones Trivia Editores: Functions * Plugin URI: https://grupotrivia.co/ * Description: Functions to effortlessly manage book citations. Generate and track with ease, accessing detailed historical records. Simplify your scholarly process. * Version: 0.01 * Author: Julibe * Author URI: https://julibe.com/ * License URI: https://www.gnu.org/licenses/gpl-3.0.txt * License: GPL v3 or later * Requires PHP: 7.0 * Requires at least: 5.9 * Copyright: (c) 2024 Julibe - All rights reserved. * Text Domain: trivia-book-citations * Domain Path: / */ // Define the path to the plugin $path = plugin_dir_path(__FILE__); // Define the path to the directory containing function files. $functions_url = $path . "/functions/"; // Get the list of function files $files_functions = array_diff(scandir($functions_url), array('..', '.')); // Include each function file foreach ($files_functions as $item) { $item_path = $functions_url . $item; // Check if it's a directory if (is_dir($item_path)) { // Get the list of files inside the directory $files_inside_folder = array_diff(scandir($item_path), array('..', '.')); // Loop through each file inside the directory foreach ($files_inside_folder as $file) { $file_path = $item_path . '/' . $file; // Include the file if it's a PHP file if (is_file($file_path) && pathinfo($file_path, PATHINFO_EXTENSION) == 'php') { $function_name = pathinfo(basename($file_path), PATHINFO_FILENAME); if (!function_exists($function_name)) { include_once($file_path); } } } } else { // Include the file if it's a PHP file directly within the directory if (is_file($item_path) && pathinfo($item_path, PATHINFO_EXTENSION) == 'php') { $function_name = pathinfo(basename($item_path), PATHINFO_FILENAME); if (!function_exists($function_name)) { include_once($item_path); } } } } function enqueue_assets() { // Enqueue jQuery from CDN wp_enqueue_script('jquery', 'https://code.jquery.com/jquery-3.6.4.min.js', array(), '3.6.4', true); // Enqueue the custom script with jQuery as a dependency wp_enqueue_script('-cript-functions', plugin_dir_url(__FILE__) . 'js/functions.js', array(), '1.0', true); // Enqueue the custom style wp_enqueue_style('css-styles', plugin_dir_url(__FILE__) . 'css/styles.css', array(), '1.0'); } add_action('admin_enqueue_scripts', 'enqueue_assets');