Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter jcrook93

    (@jcrook93)

    Apologies for uploading all my header.php file, I just need to know where I add the code in. Thanks

    <!doctype html> <!– Start of page HTML5 enabled –>
    <head> <!– Start of head –>
    <meta charset=”utf-8″>
    <meta http-equiv=”X-UA-Compatible” content=”IE=edge,chrome=1″>
    <title>
    <?php
    global $super_options,$helper;
    if(is_home()) echo bloginfo(__(‘name’) , ‘h-framework’ );
    elseif(is_category()) {
    _e(‘Browsing the Category ‘ , ‘h-framework’ );
    wp_title(‘ ‘, true, ”);
    } elseif(is_archive()) wp_title(”, true,”);
    elseif(is_search()) echo __( ‘Search Results for’ , ‘h-framework’ ).$s;
    elseif(is_404()) _e( ‘404 – Page got lost!’ , ‘h-framework’);
    else bloginfo(__(‘name’ , ‘h-framework’)); wp_title(__(‘-‘ , ‘h-framework’), true, ”);

    ?></title>

    <link rel=”shortcut icon” href=”<?php echo get_option(SN.”_favicon”); ?>” />
    <link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php bloginfo(‘rss2_url’); ?>” /><!– Feed –>
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
    <?php if ( is_singular() && get_option( ‘thread_comments’ ) ) wp_enqueue_script( ‘comment-reply’ );
    wp_head(); ?>

    <!–[if IE 9]>
    <link rel=”stylesheet” type=”text/css” href=”<?php echo URL; ?>/sprites/stylesheets/ie9.css” />
    <![endif]–>
    <!–[if IE 8]>
    <link rel=”stylesheet” type=”text/css” href=”<?php echo URL; ?>/sprites/stylesheets/ie8.css” />
    <![endif]–>
    <!–[if IE 7]>
    <link rel=”stylesheet” type=”text/css” href=”<?php echo URL; ?>/sprites/stylesheets/ie7.css” />
    <![endif]–>

    </head> <!– End of Head –>

    <body> <!– Start of body –>

    <div class=”sticky-notice <?php if( $super_options[SN.”_notice_bar”]==”false” ) echo “hide”; ?>”>
    <div class=”skeleton clearfix”>
    <img src=”<?php echo $super_options[SN.”_nt_image”]; ?>” alt=’stickyimage’ />

    <p class=”main-text”><?php echo $helper->customFormat($super_options[SN.”_nt_text”]); ?></p>
    ” class=”main-link”><?php echo $super_options[SN.”_nt_main_label”] ?>

    <?php echo $super_options[SN.”_nt_close_label”] ?>

    </div>
    </div>

    <div class=”top-section clearfix”>
    <div class=”skeleton”>
    <?php
    global $super_options;
    if(function_exists(“wp_nav_menu”))
    {
    wp_nav_menu(array(
    ‘theme_location’=>’top_nav’,
    ‘container’=>”,
    ‘depth’ => 3,
    ‘container_class’ => ‘clearfix’,
    ‘menu_id’ => ‘topmenu’)
    );
    }
    ?>

    </div>

    </div>

    <div id=”top-bar” class=”clearfix skeleton” >
    ” id=”logo”><img src=”<?php echo $super_options[SN.”_logo”]; ?>” alt=”logo” />

    <?php if($super_options[SN.”_banner_enable”]==”true” || $super_options[SN.”_banner_enable”]==””)include(HPATH.”/helper/topbanner.php”); ?>

    </div>

    <div id=”main-menu” class=”skeleton”>
    <?php
    if(function_exists(“wp_nav_menu”))
    {
    wp_nav_menu(array(
    ‘theme_location’=>’primary_nav’,
    ‘container’=>”,
    ‘depth’ => 3,
    ‘container_class’ => ‘clearfix’,
    ‘menu_id’ => ‘menu’)
    );
    }
    ?>
    </div>
    <div class=”noticebar skeleton clearfix”>

    <div class=”notice clearfix”>

    <ul class=”top-social-icons clearfix”>
    <?php if(get_option(SN.”_twitter_link”)!=””) : ?><li class=”twitter”>“>Twitter<?php endif; ?>
    <?php if(get_option(SN.”_fb_link”)!=””) : ?><li class=”facebook”>“>Facebook<?php endif; ?>
    <?php if(get_option(SN.”_rss_link”)!=””) : ?><li class=”rss”>“>RSS<?php endif; ?>
    <?php if(get_option(SN.”_linked_link”)!=””) : ?><li class=”linkedin”>“>Linkedin<?php endif; ?>
    <?php if(get_option(SN.”_stumble_link”)!=””) : ?><li class=”stumble”>“>Stumble<?php endif; ?>

    </div>
    <?php
    $category_ids = get_all_category_ids();
    $select_box = ‘<select name=”cat” id=”cat”> <option value=”all”> All </option>’;
    foreach($category_ids as $cat_id) {
    $cat_name = get_cat_name($cat_id);
    $select_box = $select_box . “<option value='”.$cat_id.”‘>”. $cat_name.”</option>”;
    }
    $select_box = $select_box . ‘</select>’;

    ?>
    <form method=”get” id=”search_form” action=”<?php echo home_url(); ?>/” class=”top-searchbar clearfix” >

    <input type=”text” value=”<?php if(isset($_GET[‘s’])) echo $_GET[‘s’]; else echo ‘Search the site …’; ?>” name=”s” id=”s” />
    <?php echo $select_box ?>

    <div class=”search-button-wrapper clearfix”><input type=”submit” value=”Search” id=”searchbutton” /></div>

    </form>

    </div>

    Thread Starter jcrook93

    (@jcrook93)

    Domain name
    *

    Directory

    /home/sites/fcsupporters.com/public_html/

    What goes in the /home/sites/fcsupporters.com/public_html/ box?

    Thread Starter jcrook93

    (@jcrook93)

    how do i map it? I have the * in the sub domain box, what do I put in the next box?

    Thread Starter jcrook93

    (@jcrook93)

    @ipstenu the hosting control panel im using is eXtend control panel.

    Thread Starter jcrook93

    (@jcrook93)

    Warning! Wildcard DNS may not be configured correctly!

    The installer attempted to contact a random hostname (5429e7.www.fcsupporters.com) on your domain.

    To use a subdomain configuration, you must have a wildcard entry in your DNS. This usually means adding a * hostname record pointing at your web server in your DNS configuration tool.

    You can still use your site but any subdomain you create may not be accessible. If you know your DNS is correct, ignore this message.

    So how do I set this up exactly?

    Thread Starter jcrook93

    (@jcrook93)

    I can’t create the * sub domain it comes up with this – The domain name you entered looks invalid. Please try another.

    Can I give you my login details for my cp so you can have a look?

    Cheers.

    Thread Starter jcrook93

    (@jcrook93)

    Hi,

    I already had the * created in the DNS settings.

    I dont know what has happened here.

    But it is still coming up with 500 error.

    Cheers.

    Thread Starter jcrook93

    (@jcrook93)

    Hi,

    There are no sub domains set up in the hosting contol panel subdomains.

    I think it was already set up, but I’ve checked and there is a * in the dns settings.

    The subdomains that I’ve never used before they work eg Hyde.fcsupporters.com will work, whereas arsenal.fcsuppprters.com won’t work as Ive previously used it as a sub domain a few weeks ago, even though all subdomains are deleted I still can’t use them as it comes up with 500 error.

    Thanks

    Jon.

Viewing 8 replies - 1 through 8 (of 8 total)