Home Forums Trusted Edit Header in PHP code

Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by  Andy 4 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4583

    vilemrousi
    Participant

    Hello,

    I would like to ask you for help. I am testing Trusted theme in WP. I am searching in the header.php the code how the header image and page title are set in the code, but I cannot find any reference about header image and pate title in header.php.

    I would like to find it for future customizing in a way of carousel usage or implementation of idea to insert logo over the background image.

    Please can you help me where to look?

    Thank you.

    Regards,

    Vilem

    #4585

    Andy
    Keymaster

    In header.php file you will see reference to the trusted_header_title() function on line 114. This function is located in /functions/extras.php starting at line 546 and it is this that contains the output of the page title.

    The header background image is output by dynamic CSS in the trusted_dynamic_style() function also in /functions/extras.php. The part that specifically deals with the header image can be found at line 144 $css[] = '.main-header{background-image: '.'url( '.$page_header_bg.' )}';

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Edit Header in PHP code’ is closed to new replies.