Here’s the situation;

I have a wordpress site at RVGRpress.com. If you visit it now, you should notice the nice four button logo in the top right. I can’t post pictures yet, so just visit the website.

Are you looking at it? Good. The Big Logo is something I want the user to be able to click on and link to my home page. Simple really.

But the WordPress theme I’m using, Gamepress, is riddled with PHP code references. I know a little bit of HTML and CSS, but PHP as of yet is pretty much beyond me.

I don’t know if this will help, or if I’m even looking in the right place, but I enclosed at the bottom the code from the header file in my Gamepress theme. I’m pretty sure I inserted both the media slider and the logo in here. If you guys need more or if the solution lies elsewhere, just say so and I will bring in code from elsewhere.

Thank you so much for helping me out!

<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<title>ryan's video game reviews </title>
<meta name="keywords" content="video games, games, video, reviews, video game reviews,      game reviews, Ryan, Ryan Scully, Timothy Ryan, Nintendo, Microsoft, Xbox, Playstation, Sony, Wii, Xbox 360, Xbox One, Playstation 4, Playstation 2, Playstation 3, Wii U, U, Call of Duty, Grand Theft Auto, E3, first look, look, first, seven word synopsis, seven, word, synopsis, gaming, news, articles, game, video game, game video, video review, written review, game review, video game review"/>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title><?php wp_title(); ?></title>
<?php if(of_get_option('gamepress_favicon_radio') == 1) : ?>
<link rel="shortcut icon" href="<?php echo of_get_option('gamepress_favicon_url'); ?>"  type="image/x-icon" />
<?php endif; ?>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<!-- End Stylesheets -->
<!--[if lt IE 8]>
<link rel="stylesheet" href="../need-to-rework-the-coding-on-a-wordpress-theme/css/style_ie.css" type="text/css" media="all"  />
<![endif]-->
<?php wp_head(); ?>
</head>
<?php
if ( function_exists( 'yoast_analytics' ) ) {
yoast_analytics();
}
?>
<body <?php body_class(); ?>>
<!-- PAGE -->
<div id="page">
<!-- HEADER -->
<header id="header">
    <div id="header-inner">
    <div id="logo">
        <?php if (of_get_option('gamepress_logo_image')) : ?> 
            <h1><a href="<?php echo home_url(); ?>" style = max height: 300px;><img src="<?php echo of_get_option('gamepress_logo_image'); ?>" alt="<?php bloginfo( 'name' ); ?>" /></a></h1>
<?php echo do_shortcode("   ");?>
<?php echo do_shortcode("[metaslider id=235]"); ?>
<?php else : ?>
            <h1 id="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?> - <?php bloginfo('description'); ?>" rel="home"><?php bloginfo('name'); ?></a></h1><p><?php bloginfo('description'); ?></p>
        <?php endif; ?>     
    </div>
    <?php if(of_get_option('gamepress_header_ad')) : ?>
    <div class="header-ad-section">
        <?php echo of_get_option('gamepress_header_ad'); ?>
    </div>
    <?php endif; ?>
    <div class="clear"></div>
    <nav<?php if (!of_get_option('gamepress_search')) : ?> class="nosearch"<?php     endif; ?>>
        <?php
        if(has_nav_menu('primary-menu')){
             wp_nav_menu(array(
                'theme_location' => 'primary-menu',
                'container' => '',
                'menu_id' => 'primary-nav',
                'container_class' => 'main-menu',
                'menu_class' => 'nav'
             ));
        }else {
        ?>
            <ul class="nav" id="primary-nav">
                <?php wp_list_pages('title_li='); ?>
            </ul>
        <?php
        }
        ?>
        <?php if (of_get_option('gamepress_search')) : ?>
        <div id="search">
            <?php get_search_form(); ?>
        </div>
        <?php endif; ?>
    </nav>
    </div>
    <!-- END HEADER-INNER -->
</header>
<div id="content-wrapper">
<div id="content-inner">

Read more here: Need to rework the coding on a WordPress theme


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , ,

Wordpress related questions and answers: