[Resolved] How to install a child theme?

Home Forums Support [Resolved] How to install a child theme?

Home Forums Support How to install a child theme?

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #198863
    Valerio

    Hi,
    to make sure i do not mess with core files in the future, I prefer to use a child theme.
    How do i do that?

    #198913
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Save this as a .zip file: http://generatepress.com/api/themes/generatepress_child.zip

    Then go to “Appearance > Themes > Add New > Upload” and upload it.

    Once you activate it, you’re using a child theme πŸ™‚

    #198944
    Valerio

    Thank you so much Tom!

    #199016
    Tom
    Lead Developer
    Lead Developer

    You’re welcome πŸ™‚

    #227080
    Leandro

    Hi Tom,

    It has an error when customizing the child theme. Can you help me?

    customize.php:3446 Uncaught SyntaxError: Unexpected token:

    #227081
    Leandro

    Warning: array_intersect(): Argument #1 is not an array in /var/www/html/wp-includes/class-wp-customize-widgets.php

    wordpress multisite

    #227084
    Tom
    Lead Developer
    Lead Developer

    Did you install the child theme I linked to above?: https://generatepress.com/forums/topic/how-to-install-a-child-theme/#post-198913

    There’s no array_intersect() function in that child theme.

    Let me know πŸ™‚

    #227567
    Leandro

    @$widget_ids = array_values( array_intersect( $widget_ids, array_keys( $wp_registered_widgets ) ) );

    @@@ hide warnings. Its ok now.

    thans

    #227582
    marianco

    I wish you would include the GeneratePress Child theme in your GeneratePress downloads section.

    It would make it easier to customize websites without having to worry about updates to GeneratePress breaking things.

    Thanks for your work.

    #227601
    Tom
    Lead Developer
    Lead Developer

    Romeo – you can find the blank child theme here: http://generatepress.com/api/themes/generatepress_child.zip

    Leandro – that code isn’t in GP, so it might be a plugin causing the error.

    #684274
    Immi

    hello there,
    I have installed gp premium with a child theme on my new another site today.
    not showing Header Padding, Mobile Header, Navigation Logo etc.

    **

    #684463
    Leo
    Staff
    Customer Support

    Thanks for opening a new topic.

    We will stick to that one πŸ™‚

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘How to install a child theme?’ is closed to new replies.