Keresés

Új hozzászólás Aktív témák

  • tpeter77

    addikt

    válasz adatfalo #7788 üzenetére

    style.css tartalma
    /*
    Theme Name: Twenty Sixteen Child
    Theme URI: https://wordpress.org/themes/twentysixteen/
    Template: twentysixteen
    Author: the WordPress team
    Author URI: https://wordpress.org/
    Description: Twenty Sixteen is a modernized take on an ever-popular WordPress layout — the horizontal masthead with an optional right sidebar that works perfectly for blogs and websites. It has custom color options with beautiful default color schemes, a harmonious fluid grid using a mobile-first approach, and impeccable polish in every detail. Twenty Sixteen will make your WordPress look beautiful everywhere.
    Tags: one-column,two-columns,right-sidebar,accessibility-ready,custom-background,custom-colors,custom-header,custom-menu,editor-style,featured-images,flexible-header,microformats,post-formats,rtl-language-support,sticky-post,threaded-comments,translation-ready,blog,block-patterns
    Version: 2.6.1643797381
    Updated: 2022-02-02 11:23:01
    */

    functions.php tartalma

    <?php
    // Exit if accessed directly
    if ( !defined( 'ABSPATH' ) ) exit;

    // BEGIN ENQUEUE PARENT ACTION
    // AUTO GENERATED - Do not modify or remove comment markers above or below:

    if ( !function_exists( 'chld_thm_cfg_locale_css' ) ):
    function chld_thm_cfg_locale_css( $uri ){
    if ( empty( $uri ) && is_rtl() && file_exists( get_template_directory() . '/rtl.css' ) )
    $uri = get_template_directory_uri() . '/rtl.css';
    return $uri;
    }
    endif;
    add_filter( 'locale_stylesheet_uri', 'chld_thm_cfg_locale_css' );

    if ( !function_exists( 'chld_thm_cfg_parent_css' ) ):
    function chld_thm_cfg_parent_css() {
    wp_enqueue_style( 'chld_thm_cfg_parent', trailingslashit( get_template_directory_uri() ) . 'style.css', array( 'genericons' ) );
    }
    endif;
    add_action( 'wp_enqueue_scripts', 'chld_thm_cfg_parent_css', 10 );

    /* Logo az oldal aljara */
    add_action('wp_footer', 'palyazat_logo_function');
    function palyazat_logo_function(){
    ?>
    <style>
    .palyazat_logo{
    position:fixed;
    bottom:0;
    right:0;
    width:24%;
    }
    </style>
    <a href="palyazat/"><img class="palyazat_logo" src="wp-content/uploads/2022/01/ESZA-also-ives.png" alt="Logo"></a>
    <?php };

    // END ENQUEUE PARENT ACTION

    [ Szerkesztve ]

Új hozzászólás Aktív témák