[Support request] Child Theme

Home Forums Support [Support request] Child Theme

Home Forums Support Child Theme

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #635478
    John

    Hi
    Could you please let me know where to download a child theme for generatepress premium?

    Thank you

    Best regards

    John

    #635505
    David
    Staff
    Customer Support

    Hi John

    A blank child theme is available here

    #635723
    John

    Hi David

    Thats great. Thank you very much for your help.

    Best regards

    John

    #635844
    David
    Staff
    Customer Support

    You’re welcome!

    #635887
    John

    Hi David
    I have installed the child theme.

    In functions.php there is the following:-

    <?php
    /**
    * GeneratePress child theme functions and definitions.
    *
    * Add your custom PHP in this file.
    * Only edit this file if you have direct access to it on your server (to fix errors if they happen).
    */

    function generatepress_child_enqueue_scripts() {
    if ( is_rtl() ) {
    wp_enqueue_style( ‘generatepress-rtl’, trailingslashit( get_template_directory_uri() ) . ‘rtl.css’ );
    }
    }
    add_action( ‘wp_enqueue_scripts’, ‘generatepress_child_enqueue_scripts’, 100 );

    And I have added the following to allow me to use gallery plugins with media-categories
    add_filter( ‘term_description’, ‘do_shortcode’ );

    Is this all OK?

    Thanks
    Best regards
    John

    #635969
    David
    Staff
    Customer Support

    Was this an instruction from the plugin author?

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.