Forum Replies Created

Viewing 15 replies - 1 through 15 (of 21 total)
  • Thread Starter emmachitty

    (@emmachitty)

    Thank you!

    Thread Starter emmachitty

    (@emmachitty)

    It’s not made yet – I will create a new ‘blog’ page on the main menu and want my (also unwritten) posts to post just to this page if possible.

    Thread Starter emmachitty

    (@emmachitty)

    thanks I’ll have a play with that!

    Thread Starter emmachitty

    (@emmachitty)

    that worked – thanks!
    πŸ™‚

    Thread Starter emmachitty

    (@emmachitty)

    Unfortunately that still hasn’t worked – thanks anyway though!

    My header file is now called ‘header-front.php’ and I’m trying to access it through <?php get_header( ‘front’ ); ?> in my file called ‘frontpage.php’

    If anyone can spot something I’m doing wrong, please let me know πŸ™‚

    Thread Starter emmachitty

    (@emmachitty)

    Great, thank you.

    Now to make sure that works on the front page, is the following correct?:

    <?php get_header( ‘front’ ); ?> is in my file called ‘frontpage.php’

    my front header is called ‘headerfront.php’

    Thanks
    πŸ™‚

    Thread Starter emmachitty

    (@emmachitty)

    Oh yes that makes sense – thanks!

    This is the original header code:

    <?php
    /**
     * The Header for our theme.
     *
     * Displays all of the <head> section and everything up till <div id="main">
     *
     */
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html <?php language_attributes(); ?>>
        <head>
            <meta charset="<?php bloginfo('charset'); ?>" />
            <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
            <title>
                <?php wp_title('|', true, 'right'); ?><?php bloginfo('name'); ?>
            </title>
            <link rel="profile" href="http://gmpg.org/xfn/11" />
            <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
            <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_url'); ?>" />
            <?php wp_head(); ?>
        </head>
        <body <?php body_class(); ?> style="<?php if (blackbird_get_option('blackbird_bodybg') != '') { ?>background: fixed url(<?php echo blackbird_get_option('blackbird_bodybg'); ?>);<?php } else {
                ?> background: fixed url(<?php echo get_template_directory_uri(); ?>/images/bg.jpg); <?php } ?>" >
            <div class="main-container">
                <div class="container_24">
                    <div class="grid_24">
                        <div class="header">
                            <div class="grid_16 alpha">
                                <div class="logo"> <a>"><img src="<?php if (blackbird_get_option('blackbird_logo') != '') { ?><?php echo blackbird_get_option('blackbird_logo'); ?><?php } else { ?><?php echo get_template_directory_uri(); ?>/images/logo.png<?php } ?>" alt="<?php bloginfo('name'); ?>" /></a></div>
                            </div>
                            <div class="grid_8 omega">
                                <div class="header-info">
                                    <?php if (blackbird_get_option('blackbird_topright_cell') != '') { ?>
                                        <p class="cell"><img src="<?php echo get_template_directory_uri(); ?>/images/call-us.png"  class="call-us" />Β  <?php echo stripslashes(blackbird_get_option('blackbird_topright_cell')); ?></p>
                                    <?php } else { ?>
                                        <p class="cell"><img src="<?php echo get_template_directory_uri(); ?>/images/call-us.png"  class="call-us" />Β Call Us (111) 234 - 5678</p>
                                    <?php } ?>
                                    <?php if (blackbird_get_option('blackbird_topright_text') != '') { ?>
                                        <p><?php echo stripslashes(blackbird_get_option('blackbird_topright_text')); ?></p>
                                    <?php } else { ?>
                                        <p><?php _e('21/B, London Campus, British Road, Birmingham, UK','black-bird'); ?></p>
                                    <?php } ?>
                                </div>
                            </div>
                        </div>
                        <div class="clear"></div>
                        <!--start Menu wrapper-->
                        <div class="menu_wrapper">
                            <div class="grid_18 alpha">
                                <div id="MainNav">
                                    <a href="#"><?php _e('Pages Navigation Menu','black-bird'); ?><span></span></a>
                                    <?php blackbird_nav(); ?>
                                </div></div>
                            <div class="grid_6 omega">
                                <div class="top-search">
    
                                    <?php get_search_form(); ?>
                                </div>
                            </div>
                        </div>
                        <!--End Menu wrapper-->
                        <div class="clear"></div>

    Thread Starter emmachitty

    (@emmachitty)

    Thank you:)

    Thread Starter emmachitty

    (@emmachitty)

    it worked it worked I got rid of the stuff and copied straight into the style.css file on my FTP.

    Thank you so much for all your help!

    …expect a new thread from me in the next 24 hours haha.

    Thread Starter emmachitty

    (@emmachitty)

    I didn’t think that was supposed to be there…! I used TextEdit for mac.

    Thread Starter emmachitty

    (@emmachitty)

    I have realised one mistake – I had the ‘style.css’ as a folder with the file saved in it, rather than as a file.

    I’ve corrected that now, so my style.css is a file.

    I now have the following in my style.css file –

    {\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf340
    {\fonttbl\f0\fnil\fcharset0 Consolas;}
    {\colortbl;\red255\green255\blue255;\red240\green240\blue245;}
    \paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0
    \deftab720
    \pard\pardeftab720

    \f0\fs24 \cf0 \cb2 /*\
    Theme Name: Blackbird Child\
    Template: blackbird\
    */\
    \
    @import url(“../blackbird/style.css”);}

    and when I search it on wordpress the problem is now:

    The parent theme is missing. Please install the “blackbird\” parent theme.

    I think/hope once I fix this it will be created!

    Thread Starter emmachitty

    (@emmachitty)

    the child isn’t showing up when I search – it’s just coming up with that error message.

    Thread Starter emmachitty

    (@emmachitty)

    Thanks so much for your help – I’m still getting the same error message saying the template is missing.

    Thread Starter emmachitty

    (@emmachitty)

    I am now getting the following message:

    Broken Themes

    The following themes are installed but incomplete. Themes must have a stylesheet and a template.

    Name Description
    Template is missing.

    Thread Starter emmachitty

    (@emmachitty)

    it now reads

    /*
    Theme Name: Blackbird
    Theme URI:
    Description: Child theme for the Blackbird theme
    Author: Emma Chitty
    Author URI:
    Template: blackbird
    Version:
    */

    @import url(“../blackbird/style.css”);

    and it’s still not working – should it literally just appear in ‘appearance > themes when I search for ‘blackbirdchild’?
    Do I have to have a plugin I’m forgetting about?

Viewing 15 replies - 1 through 15 (of 21 total)