Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter dragon52x

    (@dragon52x)

    Ok, I have resolved the mystery. The php needs to be

    <?php
    /*
    Template Name: xxx Template
    */
    ?>
    Thread Starter dragon52x

    (@dragon52x)

    I’ve got it.

    All I have done different this time was to close wordpress pages, ie close wordpress and wordpress/wp-admin.

    Deleted everything and start again. I create the folder and the css manually then login to wp-admin and there it is !!! Little thing like this drives you nuts sometimes.

    thanks for everyone’s help none the less

    Thread Starter dragon52x

    (@dragon52x)

    David, from Appearance>Themes there is no Add New. Are we using diff wp versions?

    There are Manage Themes and Install Themes tabs.

    From Install Themes I use upload instead but again can’t see the child theme. Here is what I did.

    Change the css file

    /*
    Theme Name: Test Theme
    Description: Child theme for the twentyeleven theme
    Author: XXX
    Template: twentyeleven
    */
    
    @import url("../twentyeleven/style.css");

    zipped and renamed it to test.zip

    I delete existing twentyeleven-child folder first cause upload wouldn’t work otherwise

    Then Appearance>Themes>Install Themes>Upload.

    It says upload is successful. I click activate and it takes me back to the Themes’ page.

    Checked that Themes/twentyeleven-child folder was created with style.css inside.

    I logout of dashboard. Login again but nothing.

    I appreciate your help!

    Thread Starter dragon52x

    (@dragon52x)

    OK, I go to manage themes’ page and twentyeleven is the active theme (right at the top) and twentyten below it, but no twentyeleven-child.

    I go to the edit page (appearance/editor) top right corner where there is a dropdown and there are only 2 themes to choose from, child is not one of them.

    I have also done what tgpoletti has suggested. I zip, upload, install and activated it but still can’t find this child theme anywhere.

    Help !!

    Thanks everyone !!

    Thread Starter dragon52x

    (@dragon52x)

    Yes, I understand that. Can’t I use the editor on the dashboard to modify this css file like I can with the twentyeleven/syle.css?? Do I have to modify it outside of the wp-admin interface??

    Problem is from the wp-admin interface I can’t see the twentyeleven-child theme and it’s style.css

    How can I check that the child theme is activated because I have change something in the child style.css but the web pages are still the same.

    thanks

    Thread Starter dragon52x

    (@dragon52x)

    thanks for your quick reply but it does not appear any where on the dashboard for me to activate. Here is the content of style.css with all required lines.

    [CSS moderated as per the Forum Rules. Please just post a link to your site.]

    I go to the theme’s page top right corner where you select a theme and there are only 2, twentyeleven and twentyten.

    How do I find the style.css of twentyeleven-child so I can work on it??

    Thread Starter dragon52x

    (@dragon52x)

    Thanks songdogtech.

    Problem solved. I removed the url because “https://#&#8221; actually gives you an error.

    The guide doesn’t tell you stuff like this!

    Thanks

    Thread Starter dragon52x

    (@dragon52x)

    Problem solved. Dion was right!
    Thanks heaps.

    Thread Starter dragon52x

    (@dragon52x)

    I have found the answer.

    The IP address is in the wp-options table of the wordpress database. 2 records in this table need to be changed.

    Thread Starter dragon52x

    (@dragon52x)

    Thanks Avinash,

    Are you saying the css or the path to the css is missing/wrong?

    The ip address in the following url is wrong. The ‘x.x.x.x’ bit is not the network ip I am using. Where does the system get the ip from? How does it work out the ‘href’, ie ‘stylesheet_url’ part?

    <link rel="stylesheet" type="text/css" media="all" href="https://x.x.x.x/wordpress/wp-content/themes/twentyten/style.css" />

    <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />

    The trouble is I don’t know where to look for these files. Where is the actual code file for that web page. I have done search of the text ‘Hello World’ but nothing was found.

    I know so little of the wp file structure.

    Thanks for your help

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