first commit

This commit is contained in:
2025-09-22 16:00:20 +02:00
parent bb5cc93cb0
commit ce4d458162
61 changed files with 6544 additions and 114 deletions

View File

@@ -8,39 +8,39 @@
*
* @link https://developer.wordpress.org/themes/functionality/custom-headers/
*
* @package brpfinanse
* @package BRPP_prawo_podatki
*/
/**
* Set up the WordPress core custom header feature.
*
* @uses brpfinanse_header_style()
* @uses brpp_prawo_podatki_header_style()
*/
function brpfinanse_custom_header_setup() {
function brpp_prawo_podatki_custom_header_setup() {
add_theme_support(
'custom-header',
apply_filters(
'brpfinanse_custom_header_args',
'brpp_prawo_podatki_custom_header_args',
array(
'default-image' => '',
'default-text-color' => '000000',
'width' => 1000,
'height' => 250,
'flex-height' => true,
'wp-head-callback' => 'brpfinanse_header_style',
'wp-head-callback' => 'brpp_prawo_podatki_header_style',
)
)
);
}
add_action( 'after_setup_theme', 'brpfinanse_custom_header_setup' );
add_action( 'after_setup_theme', 'brpp_prawo_podatki_custom_header_setup' );
if ( ! function_exists( 'brpfinanse_header_style' ) ) :
if ( ! function_exists( 'brpp_prawo_podatki_header_style' ) ) :
/**
* Styles the header image and text displayed on the blog.
*
* @see brpfinanse_custom_header_setup().
* @see brpp_prawo_podatki_custom_header_setup().
*/
function brpfinanse_header_style() {
function brpp_prawo_podatki_header_style() {
$header_text_color = get_header_textcolor();
/*