Done !
| Server IP : 51.91.236.255 / Your IP : 216.73.217.126 Web Server : Apache System : Linux webm003.cluster129.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : chloega ( 433239) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/chloega/www/wp-content/themes/inspiro/inc/ |
Upload File : |
<?php
/**
* Additional shortcodes to allow including necessary elements in content.
*
* @package Inspiro
* @subpackage Inspiro_Lite
* @since Inspiro 1.9.0
*/
// Add necessary init hook for shortcode registering.
function inspiro_register_custom_shortcodes() {
// show sitename
// add_shortcode( 'site_title', 'inspiro_show_sitename_shortcode' );
function inspiro_show_sitename_shortcode() {
// Start output buffering
return get_bloginfo( 'name' );
}
// show copyright sign
// add_shortcode( 'copyright', 'inspiro_show_copyright_sign_shortcode' );
function inspiro_show_copyright_sign_shortcode() {
// Start output buffering
return '©';
}
// show current year text
// add_shortcode( 'current_year', 'inspiro_show_current_year_shortcode' );
function inspiro_show_current_year_shortcode() {
// Start output buffering
return date( 'Y' );
}
}
add_action( 'init', 'inspiro_register_custom_shortcodes' );