WordPress.org

Ready to get started?Download WordPress

Forums

Lugada
[resolved] Adding a child theme to Lugada (9 posts)

  1. Krauser
    Member
    Posted 2 years ago #

    Hi I'm pretty new at child theming. Although I have successfully made a child theme with the twenty eleven theme, I am having problems with the lugada theme.

    I am testing a site locally. I don't know if I put the right syntax or the path is not right.
    This is what I put in my editor.
    @import url('../lugada/style.css');
    I also included the ones on the css files.
    @import url('../lugada/css/admin.css');
    I also included the files on the css folder.
    The child theme cannot be previewed. I guess because I have something missing on my child theme.

    A help is much appreciated.

    http://wordpress.org/extend/themes/lugada/

  2. WPyogi
    Volunteer Moderator
    Posted 2 years ago #

    What is the complete header for your child stylesheet? It must have this format -- the theme name and template must be correct:

    /*
    Theme Name: Lugada Child
    Description: Child theme for Lugada
    Author: Your name here
    Template: lugada
    */
    
    @import url("../lugada/style.css");

    Then also be sure that the file structure is correct -- see this page:
    http://codex.wordpress.org/Child_Themes

  3. Krauser
    Member
    Posted 2 years ago #

    Yes...that is the one I made.
    Should single qoutes work or I would just put the double qoutes instead. I may have to try that format.

    The child of lugada theme is also under the themes folder where the original lugada theme is placed.

  4. rachellucie
    Member
    Posted 2 years ago #

    I am also having problems, but I was using the one-click child theme plugin. when activated, it renders my blog and blog admin unaccessible.

    Is this a lugada problem, or plugin problem?

  5. Krauser
    Member
    Posted 2 years ago #

    I figured this out a while ago. Actually, the lugada child theme needs some of the components from the parent theme.

    What I did was copy all of the files from the lugada folder then paste it on my child theme folder, except for the functions.php and style.css.
    At first when I copied the functions.php on my child theme, it gave me an error.

    I hope this is not going to affect the content because I am still beginning from scratch.

    I'm going to experiment a little bit on this.

    @rechellucie I am not sure if that's a lugada problem. I think it is both. The one-click child theme plug-in may not have copied some of the necessesary files to have a successful child theme.

  6. rachellucie
    Member
    Posted 2 years ago #

    hi @krauser, thanks for the update. I will try that. there is definitely something not right here.

    let me know how you get on with this :)

  7. rachellucie
    Member
    Posted 2 years ago #

    ok, so I have the style.css heading, I have copied all files from lugada over to baby lugada folder EXCEPT function.php and style.css (as have my own). Same error.

    :(

  8. Krauser
    Member
    Posted 2 years ago #

    Have you deleted the child theme from the one click child theme plug-in?
    I am not so familiar with that plug-in. Maybe it needs to be deleted or it may have some issues between the lugada theme.

    Did you also include the include,css,js and image folder?
    It should be working now. It works well with me.

  9. tehillim
    Member
    Posted 1 year ago #

    because I own my server, I can access web server log.

    anyway, finally I found the solution.

    open functions.php in lugada theme directory and find the below and replace it, that's it.
    (3rd line of the file)

    require_once ( get_template_directory() . '/include/theme-options.php' );
    require_once ( get_template_directory() . '/include/breadcrumbs.php' );
    require_once ( get_template_directory() . '/include/widget.php' );
    /*
    require_once ( get_stylesheet_directory() . '/include/theme-options.php' );
    require_once ( get_stylesheet_directory() . '/include/breadcrumbs.php' );
    require_once ( get_stylesheet_directory() . '/include/widget.php' );
    */

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic