[Wordpress help]

Status
Not open for further replies.

Stallone

[◣_◢]
Feb 4, 2012
419
128
Basically, if you look at my site; the logo says Focused.

( )

Not sure how to change it because, in my setting's I set the slogan and title.

Site Title: GeekyPenguin

Tagline: I'm to Penguin to be Geeky.

So, I checked in the header.php and I understood none of it.
Code:
<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>        <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>        <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html <?php language_attributes(); ?> class="no-js"><!--<![endif]-->

<!-- head -->
<head>
    <meta charset="utf-8">
    <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><![endif]-->
    <title><?php wp_title(' | ', true, 'right'); ?> <?php bloginfo('name'); ?></title>
    <meta name="viewport" content="width=device-width">
    <?php if (of_get_option('meta') == '1'){?>
        <meta name="keywords" content="<?php echo of_get_option('metakeywords'); ?>" />
        <meta name="description" content="<?php echo of_get_option('metadescription'); ?>" />
    <?php }else {?>
        <meta name="keywords" content="" />
        <meta name="description" content="" />
    <?php }?>
    <!-- stylesheet -->
    <link rel="stylesheet" media="all" href="<?php bloginfo('stylesheet_url'); ?>"/>
    <!-- stylesheet -->

   
    <!-- custom typography-->
    <?php if(of_get_option('customtypography') == '1') { ?>   
          <?php if(of_get_option('headingfontlink') != '') { ?>
              <?php echo stripslashes(html_entity_decode(of_get_option('headingfontlink')));?>
          <?php } ?>
        <?php if(of_get_option('bodyfontlink') != '') { ?>
            <?php echo stripslashes(html_entity_decode(of_get_option('bodyfontlink')));?>
        <?php } ?>
        <?php if(of_get_option('logofontlink') != '') { ?>
            <?php echo stripslashes(html_entity_decode(of_get_option('logofontlink')));?>
        <?php } ?>
      <?php load_template( get_template_directory() . '/custom.typography.css.php' );?>
    <?php } ?>
    <!-- //custom typography -->
    <!-- custom colors -->
    <?php load_template( get_template_directory() . '/custom.colors.css.php' );?>
    <!-- //custom colors -->
<!-- wp_head -->
<?php wp_head(); ?>
<!-- //wp_head -->

</head>
<!-- head -->

    <body <?php body_class(); ?>
        <?php if(of_get_option('layout') != 'left' && of_get_option('layout') != ''):?>id="right-sidebar"<?php endif;?>
        >
       
        <!--[if lt IE 7]>
            <p class="chromeframe">You are using an outdated browser. <a href="http://browsehappy.com/">Upgrade your browser today</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to better experience this site.</p>
        <![endif]-->
        <?php if ( has_nav_menu( 'main_nav' ) ) {?>
            <div id="small-screens-menu" class="block">
                <a href="#" id="topmenu-button"><strong><?php _e(":::: MENU ::::", "site5framework"); ?></strong></a>
                <?php  site5_main_nav(''); ?>
            </div>
            <?php }?>
        <!-- begin header -->
        <header id="pageheader" class="default clearfix">
            <div class="logo">
              <h1>
                    <a href="<?php bloginfo('url');?>">
                    <?php if(of_get_option('image_logo') != 1){?>
                        <?php if(of_get_option('logo')) : echo '<img src="'.of_get_option('logo').'" alt="'.get_bloginfo('name').'" class="styled"/>'; endif;?>
                        <div class="text">
                            <?php if(of_get_option('logo_text')) : echo of_get_option('logo_text'); endif;?>
                            <span><?php  echo get_bloginfo('description');?></span>
                        </div>
                    <?php }else{?>
                        <?php if(of_get_option('logo')) : echo '<img src="'.of_get_option('logo').'" alt="'.get_bloginfo('name').'" />'; endif;?>
                    <?php }?>
                    </a>
                </h1>
            </div>
            <!-- Main Menu -->
            <?php site5_main_nav('top clearfix');?>
           
        </header>
        <div class="header-placeholder"></div>
        <!-- end header -->   
        <!-- begin #main-wrapper -->
        <div id="main-wrapper" class="clearfix">

So, I want the logo to say GeekyPenguin instead of Focused.
 

Sysode

Front-End Developer
Dec 11, 2012
1,673
848
It's not an image, it's a <h1> tag

PHP:
<h1>
                    <a href="<?php bloginfo('url');?>">
                    <?php if(of_get_option('image_logo') != 1){?>
                        <?php if(of_get_option('logo')) : echo '<img src="'.of_get_option('logo').'" alt="'.get_bloginfo('name').'" class="styled"/>'; endif;?>
This code shows that there must be an option to set an image for a logo or use text. Have you chosen to allow an image for the logo?
 

Stallone

[◣_◢]
Feb 4, 2012
419
128
Login to your ACP and go to Appearance -> Theme Options. There should be a setting for a text/image header.
Yeah, I tried that. It just changed the <title>GeekyPenguin</title> in the HTML. Not the actual logo.
It's not an image, it's a <h1> tag

PHP:
<h1>
                    <a href="<?php bloginfo('url');?>">
                    <?php if(of_get_option('image_logo') != 1){?>
                        <?php if(of_get_option('logo')) : echo '<img src="'.of_get_option('logo').'" alt="'.get_bloginfo('name').'" class="styled"/>'; endif;?>
This code shows that there must be an option to set an image for a logo or use text. Have you chosen to allow an image for the logo?
I checked the image folder, none of them are the logo being displayed.
 

Heaplink

Developer & Designer
Nov 9, 2011
510
173
Just change the image. It should be in the themes folder under images or some sort.

Change the picture name it the same, and you're good to go.
 

Stallone

[◣_◢]
Feb 4, 2012
419
128
Just viewed your source code, it's not even using an image for the logo. It's using text.
I know that, I can't find where to change it. :L

You shouldn't change the actual source code. There should be a setting in the admin where you can set the image or text and choose which you want
Which is what I did, but it only changes the website title.
 

Sysode

Front-End Developer
Dec 11, 2012
1,673
848
I know that, I can't find where to change it. :L


Which is what I did, but it only changes the website title.
GO into your admin panel, and edit templates > index.php. Then change this:
Code:
 <h1>
                    <a href="http://penguinmedia.org">
                                                                    <div class="text">
                            Focused                            <span>I&#039;m to Penguin to be Geeky.</span>
                        </div>
                                        </a>
                </h1>

To this:

Code:
 <h1>
                    <a href="http://penguinmedia.org">
                                                                    <div class="text">
                            GeekyPenguin                            <span>I&#039;m to Penguin to be Geeky.</span>
                        </div>
                                        </a>
                </h1>
 

Heaplink

Developer & Designer
Nov 9, 2011
510
173
GO into your admin panel, and edit templates > index.php. Then change this:
Code:
 <h1>
                    <a href="http://penguinmedia.org">
                                                                    <div class="text">
                            Focused                            <span>I&#039;m to Penguin to be Geeky.</span>
                        </div>
                                        </a>
                </h1>

To this:

Code:
 <h1>
                    <a href="http://penguinmedia.org">
                                                                    <div class="text">
                            GeekyPenguin                            <span>I&#039;m to Penguin to be Geeky.</span>
                        </div>
                                        </a>
                </h1>
No.

You do not change the actual source code. And you're looking at generated content, which is not the source code.
 

Stallone

[◣_◢]
Feb 4, 2012
419
128
GO into your admin panel, and edit templates > index.php. Then change this:
Code:
 <h1>
                    <a href="http://penguinmedia.org">
                                                                    <div class="text">
                            Focused                            <span>I&#039;m to Penguin to be Geeky.</span>
                        </div>
                                        </a>
                </h1>

To this:

Code:
 <h1>
                    <a href="http://penguinmedia.org">
                                                                    <div class="text">
                            GeekyPenguin                            <span>I&#039;m to Penguin to be Geeky.</span>
                        </div>
                                        </a>
                </h1>
GO into your admin panel, and edit templates > index.php. Then change this:
Code:
 <h1>
                    <a href="http://penguinmedia.org">
                                                                    <div class="text">
                            Focused                            <span>I&#039;m to Penguin to be Geeky.</span>
                        </div>
                                        </a>
                </h1>

To this:

Code:
 <h1>
                    <a href="http://penguinmedia.org">
                                                                    <div class="text">
                            GeekyPenguin                            <span>I&#039;m to Penguin to be Geeky.</span>
                        </div>
                                        </a>
                </h1>
It's all in PHP. If it was that simple, I'd have no struggle, lol.
 
Status
Not open for further replies.

Users who are viewing this thread

Top