• hello guys i am noob in the wordpress coding so i have a problem. I want to add a text field in my header section right to Title and Tagline section. I done all good with css part but i am stuck with php. How to make that i can change my text field in theme customize mod , just as i can change site Title there ?

    My code:
    header.php
    I add this
    `<div id=”headertxt”>
    Telefona numurs
    <?php
    if(get_theme_mod( ‘header_banner_title_setting’ )){
    echo get_theme_mod( ‘header_banner_title_setting’ );
    }else{
    echo ‘WordPress + Bootstrap’;
    }
    ?>

    </div>`
    It is copied from Title section and now i want to make it that i can change fields in customize mod.

    hope you guys understand and can help with my problem and points me to some tutorials or tips. Sorry for bad English, not native.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    If you wish to add your own customizer field, read up on adding customizer settings and controls in the Theme Handbook.

    If you are more comfortable with your native language, you may use it here. If we don’t read your language ourselves, there’s always Google translate ??

Viewing 1 replies (of 1 total)
  • The topic ‘Trying to add quick info box in header menu.’ is closed to new replies.