Support » Theme: Pilot Fish » Child template – Pilot Fish

  • Liz Pomegranite

    (@lizpomegranitecoza)


    Hi there

    Please can you assist me with using a child theme for Pilot Fish – I don’t really understand the instructions on the FAQ but have looked at other tutorials and I have created and activated a child theme.

    In the folder in my Filezilla, I included a text file with:
    /*
    Theme Name: Pilot Fish Child
    Theme URI: http://wordpress.danielatwork.com/pilotfish/
    Description:

    Author:
    Author URI:
    Template: pilot-fish
    Version: 0.1.0
    */

    @import url(“../pilot-fish/style.css”);

    I would like to edit aspects of the stylesheet and .php. Can I just copy them into the child theme in the editor and work in there?

Viewing 15 replies - 1 through 15 (of 20 total)
  • WPyogi

    (@wpyogi)

    Forum Moderator

    What’s the site URL?

    You put only changes in the style.css file – to overrride the existing CSS. For .php files (except functions.php), yes, you can put a copy in the child theme – and modify it there. For functions.php, it’s more complicated – but don’t put a copy of that file in the child theme or it will likely crash the site.

    Liz Pomegranite

    (@lizpomegranitecoza)

    Hello

    The URL is http://www.tonybarbour.co.za

    So for style sheet changes, (CSS) I just copy and paste changes into the editor when the child theme is open but for .php files I can copy all of them (except functions.php).

    Please confirm and then I can edit away 🙂
    Thank you for the swift response, you’re a lifesaver.

    WPyogi

    (@wpyogi)

    Forum Moderator

    CSS changes go in the child theme style.css file via the editor.

    And yes, for .php files, except functions.php, put a copy in the child theme folder – then you can edit them via the Editor as well.

    But right now, doesn’t look like you have a child theme activated on the site?

    Liz Pomegranite

    (@lizpomegranitecoza)

    Thanks.

    I thought I did?

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    What did you do?

    Liz Pomegranite

    (@lizpomegranitecoza)

    I made a folder: pilot-fish-child with a file text file in it in the themes folder of wp-content on Filezilla.

    In the text file, I put:

    Theme Name: Pilot Fish Child
    Theme URL: http://wordpress.danielatwork.com/pilotfish/
    Description:
    Author:
    Author URI:
    Template: pilot-fish
    Version: 0.1.0

    @import url(“../pilot-fish/style.css”);

    It appeared in Appearance > Manage Themes and I activated it.

    I added the code mentioned earlier to remove meta data for comments but it doesn’t look like it worked.

    I’d like to remove the comments section altogether – how do I do that without deleting it in the parent theme?

    Thanks for your help guys, I appreciate it.

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Do you have any caching plugins active? Your Child Theme is still not apparent on your website.

    For example, put this at the bottom of your Child Theme style.css file and see if anything happens:

    body { border: 10px solid red !important; }

    Liz Pomegranite

    (@lizpomegranitecoza)

    Interesting… I did that but nothing has happened. So it’s the child theme that’s the problem. How do I rectify? Or could you possibly explain the instructions in the Pilot Fish FAQs in more detail?

    Liz Pomegranite

    (@lizpomegranitecoza)

    No chaching plugins that I’m aware of

    WPyogi

    (@wpyogi)

    Forum Moderator

    Did you do this per Dani’s FAQ’s:

    Please add a header.php to your child theme, you can just copy my original header.php file, and add

    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_directory’); ?>/style.css” />

    inside the <head> tag of the header.php file. You can also download this style.css template for your child theme 🙂

    Liz Pomegranite

    (@lizpomegranitecoza)

    Yes, I have.

    Plugins are: BackUpWordPress, Custom Favicon, WordPress SEO, WP Maintenance Mode. Would these have an effect?

    Thanks for your help guys 🙂

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Edited: Sorry I meant Child Theme header.php file:

    Could you copy all of the code of your header.php file and put it into a PasteBin page and link us that?

    Liz Pomegranite

    (@lizpomegranitecoza)

    Sure thing.

    Liz Pomegranite

    (@lizpomegranitecoza)

    http://pastebin.com/wsuE1Vvy

    Is that what you’d like?

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Sorry I edited my post, I meant to say the Child Theme header.php code.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Child template – Pilot Fish’ is closed to new replies.