• HEllo guys, this is my first pots i here. And I tried alone but I’m just can’t.

    I just want to swap the text on the header for on logo.
    this is the website https://4gnews.pt Im using Kent Theme from Fabthems.

    This is the PHP that I have if it helps.

    <?php
    /**
    * The Header for our theme.
    *
    * Displays all of the <head> section and everything up till <div id="main">
    *
    * @package web2feel
    * @since web2feel 1.0
    */
    ?><!DOCTYPE html>https://www.4gnews.pt/wp-admin/theme-editor.php?file=content-page.php&theme=Kent
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <meta name="viewport" content="width=device-width" />
    <title><?php
    /*
    * Print the <title> tag based on what is being viewed.
    */
    global $page, $paged;
    
    wp_title( '|', true, 'right' );
    
    // Add the blog name.
    bloginfo( 'name' );
    
    // Add the blog description for the home/front page.
    $site_description = get_bloginfo( 'description', 'display' );
    if ( $site_description && ( is_home() || is_front_page() ) )
    echo " | $site_description";
    
    // Add a page number if necessary:
    if ( $paged >= 2 || $page >= 2 )
    echo ' | ' . sprintf( __( 'Page %s', 'web2feel' ), max( $paged, $page ) );
    
    ?></title>
    <link rel="profile" href="https://gmpg.org/xfn/11" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    <link href='https://fonts.googleapis.com/css?family=Lato:400,300,700,900' rel='stylesheet' type='text/css'>
    <!--[if lt IE 9]>
    <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
    <![endif]-->
    
    <?php wp_head(); ?>
    </head>
    </div>
    <div class="container_12">
    <header id="masthead" class="site-header clearfix" role="banner">
    <hgroup class="grid_4">
    <h1 class="site-title"><a>" title="<?php echo esc_attr( get_bloginfo( 'name','display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
    <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
    </hgroup>
    </header><!-- #masthead .site-header -->
    </div> <!-- container_12 -->
    
    <div class="topmenu container_12">
    <?php wp_nav_menu( array( 'container_id' => 'submenu','container_class' => 'clearfix','theme_location' => 'primary','menu_id'=>'web2feel' ,'menu_class'=>'sfmenu','fallback_cb'=> 'fallbackmenu','walker' => new description_walker() ) ); ?>
    </div>
    
    <div id="main" class="site-main container_12 clearfix">

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    I really need your help guys… thanks*

Viewing 1 replies (of 1 total)
  • I’m sorry but as you appear to be using a non-WPORG theme, you need to seek support from the theme’s developers – paid or otherwise. We only support themes downloaded from www.remarpro.com here.

Viewing 1 replies (of 1 total)
  • The topic ‘Swap text header for logo’ is closed to new replies.