WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Remove Flavicon! (4 posts)

  1. BetsyCrocker
    Member
    Posted 1 year ago #

    Please excuse my lack of technical expertise and try not to laugh!

    A few months ago I put a flavicon on my website (www.betsycrocker.com) and now I can't seem to get it off! I tried looking at other posts but the code that others suggest using to add the flavicon is not anywhere to be found in my CSS.

    What am I missing?

    Thanks!

  2. Marvie Pons
    TutsKid Ninja
    Posted 1 year ago #

    try looking in header.php of your theme

  3. BetsyCrocker
    Member
    Posted 1 year ago #

    Thanks, but I tried that already and can't se to find anything. My header is only partially clickable (top left corner) and I can't seem to fix that either. I've got a lot to learn so any help is greatly appreciated!

    This is the code in my header.php file:

    Thanks, but I tried that and I can't seem to find anything. This is what is in my header.php:

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <!-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -->
    <?php
                    $options = & ClearLineOptions::getOptions();
                    $shortname = & ClearLineOptions::cfg('shortname');
    ?>
    <head>
    
                    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <?php if ($options[$shortname . '_seo_use_plugin']=='no'):
                    $meta = get_seo_meta();
    ?>
                    <title><?php  echo $meta['title']?></title>
                    <link rel="profile" href="http://gmpg.org/xfn/11" />
                    <?php if ($meta['description']) {?><meta name="description" content="<?php  echo $meta['description']?>" /><?php } ?>
                    <?php if ($meta['keywords']) {?><meta name="keywords" content="<?php  echo $meta['keywords']?>" /><?php } ?>
    <?php else: ?>
                    <title><?php wp_title(); ?></title>
    <?php endif;?>
    
                    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
                    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
                    <?php ClearLineOptions::echoInlineCSS();?>
                    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    
                    <?php wp_get_archives('type=monthly&format=link'); ?>
                    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' );?>
                    <?php wp_head(); ?>
    
    </head>
    <body <?php body_class(); ?>>
                    <div id="container" class="hfeed">
                    <div id="header" onclick="location.href='http://www.betsycrocker.com/':"style="cursor:pointer;">
                                    <div id="masthead">
                                                    <?php if ($options[$shortname . '_show_rss_button_at_top']=='yes'):?>
                                                                    <!--div class="subscribe-button" style="float:right;margin-top:-20px;"-->
                                                                                    <?php $template_url =  get_bloginfo('template_url');?>
                                                                                    <a>" class="subscribe-button" >
                                                                                                    <img src="<?php echo $template_url?>/img/social/<?php echo $options[$shortname . '_social_buttons_theme'];?>/rss.png" style="border:none;" alt="Subscribe RSS" title="Subscribe RSS">
                                                                                    </a>
                                                                    <!--/div-->
                                                    <?php endif;?>
                                                    <div style="float:left;">
                                                                    <?php if (trim($options[$shortname . '_custom_blog_title'])===''): ?>
                                                                                    <?php if ($options[$shortname . '_show_blog_title_and_description']=='yes'):?>
                                                                                                    <?php if (is_home()):?>
                                                                                                                    <h1><a>/"><?php bloginfo('name'); ?></a></h1>
                                                                                                    <?php else:?>
                                                                                                                    <h3><a>/"><?php bloginfo('name'); ?></a></h3>
                                                                                                    <?php endif;?>
                                                                                                                    <div class="description"><?php bloginfo('description'); ?></div>
                                                                                    <?php else: ?>
                                                                                                    <a>/"> </a>
                                                                                    <?php endif;?>
                                                                    <?php else:
                                                                                    echo $options[$shortname . '_custom_blog_title'];
                                                                    endif;?>
                                                    </div>
                                                    <div class="clear"></div>
                                    </div>
                                    <?php if ($options[$shortname . '_show_top_menu']=='yes'):?>
                                                    <div id="access">
                                                                    <?php
                                                                                    if (function_exists('wp_nav_menu'))
                                                                                    {
                                                                                                    wp_nav_menu( array( 'theme_location'=>'top_menu', 'sort_column' => 'menu_order', 'container_class' => 'menu-header' ) );
                                                                                    }
                                                                                    else wp_list_pages();
                                                                    ?>
                                                                    <div class="clear"></div>
                                                    </div>
                                    <?php endif;?>
                                    <div class="clear"></div>
                    </div>
                                    <div class="sidebar">
                                                    <?php if ( function_exists('dynamic_sidebar')) dynamic_sidebar('Under Top Menu');?>
                                    </div>
    <?php
    
    ?>
    
    <meta name="blogcatalog" content="9BC10517278" />
    
    <!-- end header -->

    [Please post code or markup between backticks or use the code button. Or better still - use a pastebin. Your posted code may now have been permanently damaged/corrupted by the forum's parser.]

  4. Marvie Pons
    TutsKid Ninja
    Posted 1 year ago #

    Look for a code in your theme's function.php that looks like

    function my_favicon() { ?>
    <link rel="shortcut icon" href="http://betsycrocker.com/wp-content/uploads/2012/10/cupcake1.jpeg" >
    <?php }
    add_action('wp_head', 'my_favicon');

Topic Closed

This topic has been closed to new replies.

About this Topic