Search Results for 'create a child theme'

Home Forums Search Search Results for 'create a child theme'

Viewing 15 results - 16 through 30 (of 85 total)
  • Author
    Search Results
  • #169804
    Robert GianfeliceRobert Gianfelice
    Participant
    • Topics: 2
    • Replies: 6
    • Total: 8
    Member since: October 20, 2020

    Thank you for your help I am now able to publish French content for Testimonials and Teams.

    Regarding the logo, I found an article on PolyLang, https://support.pojo.me/docs/polylang-change-logo-every-language/

    As they suggest I created a child theme and added this code to the functions.php, but it does not work!

    Does the logo have a different name in the customizer, I think that might be the issue.

    Code is as follows

    function pojo_polylang_get_multilang_logo( $value ) {
    if ( function_exists( ‘pll_current_language’ ) ) {
    $logos = array(
    ‘en_CA’ => ‘logointerviewjobs_200_icon.png’,
    ‘fr_CA’ => ‘logointerviewjobs_200_icon_fr.png’,
    );
    $default_logo = $logos[‘en_CA’];
    $current_lang = pll_current_language();
    $assets_url = get_stylesheet_directory_uri() . ‘/assets/images/’;
    if ( isset( $logos[ $current_lang ] ) )
    $value = $assets_url . $logos[ $current_lang ];
    else
    $value = $assets_url . $default_logo;
    }
    return $value;
    }
    add_filter( ‘theme_mod_image_logo’, ‘pojo_polylang_get_multilang_logo’ );

    Julien BedereJulien Bedere
    Participant
    Member since: June 4, 2020

    Hello,

    I am a beginner. My website adress is: https://mizarufilms.com

    I purchased recently the Filmmaker pro theme. It was setup properly by Shri from SKT, and seems to work just fine.
    I want to translate my whole website into french.

    I generated a child theme for customised settings and translation. I was strongly advised to do so. So I won’t loose any of my settings if I have to update the parent theme. Especially my hand made translation.

    I found a procedure to translate the child theme. I used Poedit to open the .pot file from the parent theme. I translated it into french and saved it into fr_FR.po and fr_FR.mo files.
    I created a folder called “languages” into my child theme folder, and put my fr_FR.po and fr_FR.mo files in it.

    Then I edited the function.php file of my child theme folder. I added those lines, as recommanded into my procedure:

    function my_child_theme_setup() {
    load_child_theme_textdomain( ‘complete’, get_stylesheet_directory() . ‘/languages’ );
    }
    add_action( ‘after_setup_theme’, ‘my_child_theme_setup’ );

    ‘complete’ is the “text domain’ name I found in the function.php file of the parent theme:
    //Make theme available for translation
    load_theme_textdomain(‘complete’, get_template_directory() . ‘/languages/’);

    According to the procedure I followed it should work fine and my website should be translated. But it’s not. When I checked forums about this issue, some people were saying that something into the parent theme can block those child theme instructions.

    Did I did anything wrong? Or is there indeed something into the Filmmaker theme that prevents the child theme translation to be activated?

    Thanks for helping me,
    Regards,

    Julien

    #150803
    Cyrille LEJACyrille LEJA
    Participant
    Member since: April 20, 2020

    Hello,

    i am note able to create a child theme for adventure :

    I create a directory adventure-child, then put style.css and function.php and modify inside like this :

    style.css

    /*
    Theme Name: adventure-child
    Template: adventure
    Theme URI: https://www.sktthemes.org/shop/adventure-wordpress-theme/
    Description: Adventure WordPress theme has been designed and created to cater to the needs of those who create adventure sports websites and adventure tourism websites like skiing, ice skating, trekking, mountaineering, cycling, bike riding and others. Demo: http://sktperfectdemo.com/demos/adventure/

    Author: SKT Themes
    Author URI: https://www.sktthemes.org
    Version: pro3.0
    License: GNU General Public License
    License URI: license.txt

    Text Domain: Adventure
    Tags: one-column, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, front-page-posting, full-width templateRTL, language-support, sticky-post, theme-options, threaded-comments, translation-ready.

    Adventure WordPress Theme has been created by SKT Themes(sktthemes.net), 2018.
    Adventure WordPress Theme is released under the terms of GNU GPL
    */

    Function.php

    <!–A placer dans functions.php pour initialiser un thème enfant–>

    <?php
    add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
    function theme_enqueue_styles() {
    wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
    wp_enqueue_style( ‘child-style’, get_stylesheet_uri(), array( ‘parent-style’ ) );
    }

    but its broke my home page and all the feature don’t work anymore …

    could you please help ?

    regards,

    Cyrille

    #120273

    In reply to: Strong Pro Theme

    megha.bhagatmegha.bhagat
    Participant
    • Topics: 6
    • Replies: 50
    • Total: 56
    Member since: March 2, 2019

    Also I wanted to know if you there is child theme available for this theme ?if not can you create one and give

    #118298
    maxime.cayermaxime.cayer
    Member
    Member since: March 1, 2019

    Hi!

    I bought the paid version of the Event Planner theme. I install it on my website, and create a child theme using a plugin. Now the result is buggy at best. See here : http://cpe.sicay.co. What could be wrong?

    Thanks.

    Best.

    #116542
    eljay09eljay09
    Participant
    Member since: January 22, 2019

    I created a child theme from Hotel Pro (Stay Here), but on “Live Preview” as well as on “Activated” it does NOT show the content from the original theme. When I check Pages I can see all my content is there.
    I tried both the “Child Theme Generator” as well as “Child Theme Configuration” plugins.

    Is there something in the Parent theme I should deactivate or remove?

    Looking forward to any solution.

    #116497
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31283
    • Total: 31283
    Member since: August 16, 2013

    Hi,

    Kindly check this article: https://www.wpbeginner.com/wp-themes/how-to-create-a-wordpress-child-theme-video/

    Regards,
    Brad

    #116483
    eljay09eljay09
    Participant
    • Topics: 2
    • Replies: 2
    • Total: 4
    Member since: January 22, 2019

    Reply to myself and others. I used two different plugins to create a child theme, so the above problem is solved. HOWEVER, the child theme only shows the original Hotel theme with the default setup and nothing of the changes in content I already made.
    How can I change this?

    BTW I’m surprised that after almost 24 hours still no one of SKT has bothered to reply.

    #116391
    eljay09eljay09
    Participant
    Member since: January 22, 2019

    Hi, I need to put scripts in the HEAD tag of my SKT Hotel Pro theme but I want to do that in a child theme. Can anyone advice on how to set up a child theme for Hotel Pro (i.e. if possible)?

    #112561
    JimakoJimako
    Participant
    • Topics: 3
    • Replies: 3
    • Total: 6
    Member since: November 27, 2018

    I sent it to you as soon as I created this post. Then I found problem. Your options for fonts need to be resaved and you have problem with options and child theme.

    #112310
    james14james14
    Participant
    Member since: July 24, 2017

    I am having a couple of issues with a new website I am creating using the SKT Spa Pro theme. Note: I created a child theme for it.

    Here is the website: https://envynailswintersprings.com/

    I have changed all the colors from the lime green to a Burgundy color, but I can’t change the color of the dots under the testimonials section on the home page or the “Learn More” buttons on the home page. They are green and I want them Burgundy (like the header). If you take a look at the blog section buttons on the home page, you’ll see the way I want them to look. The Burgundy color is #831913.

    Can you help me fix that issue, please?

    #106425

    In reply to: Two line Tagline

    dddd
    Participant
    • Topics: 40
    • Replies: 44
    • Total: 84
    Member since: December 15, 2016

    Hi,
    I don’t think I explained myself well enough… what I’d like to do is create a two-line tag line that says:
    First line: October 19, 20, & 21, 2018 | Cal Expo
    Second Line: Friday 10-9 • Saturday 10-8 • Sunday 10-6

    I resized the font already in the custom CSS. Normally, I would create a child theme and manually force the tagline to do what I want. But the header.php is not the normal set up I’m use to and I don’t want to ‘break’ the theme.

    Thank you again.
    Diane

    #104623
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    No need to create a child theme use the custom CSS box in appearance>customize>basic settings to have your custom CSS posted.

    Regards,
    Shri

    #104395
    daisy.hiratadaisy.hirata
    Participant
    Member since: July 14, 2018

    I was trying to create a child theme using a plugin and this what I was informed before I proceeded.

    I didn’t activate it because I’m worried it will create a fatal error in the website itself.

    Can this be resolved? Any recommendation?

    Thanks a lot.

    ———————————————————————————————————–

    Notice: Undefined index: features_text_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 60

    Notice: Undefined index: features_text_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 61

    Notice: Undefined index: features_text_hover_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 64

    Notice: Undefined index: features_text_hover_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 65

    Notice: Undefined index: features_ordernumber_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 67

    Notice: Undefined index: features_bottom_border_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 68

    Notice: Undefined index: section1_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 90

    Notice: Undefined index: section1_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 91

    Notice: Undefined index: section2_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 96

    Notice: Undefined index: section2_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 97

    Notice: Undefined index: section3_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 102

    Notice: Undefined index: section3_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 103

    Notice: Undefined index: section4_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 108

    Notice: Undefined index: section4_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 109

    Notice: Undefined index: section5_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 115

    Notice: Undefined index: section5_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 116

    Notice: Undefined index: section6_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 121

    Notice: Undefined index: section6_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 122

    Notice: Undefined index: section7_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 127

    Notice: Undefined index: section7_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 128

    Notice: Undefined index: section8_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 133

    Notice: Undefined index: section8_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 134

    Notice: Undefined index: section9_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 139

    Notice: Undefined index: section9_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 140

    Notice: Undefined index: section10_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 145

    Notice: Undefined index: section10_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 146

    Notice: Undefined index: section11_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 151

    Notice: Undefined index: section11_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 152

    Notice: Undefined index: section12_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 157

    Notice: Undefined index: section12_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 158

    Notice: Undefined index: section13_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 163

    Notice: Undefined index: section13_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 164

    Notice: Undefined index: section14_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 169

    Notice: Undefined index: section14_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 170

    Notice: Undefined index: section15_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 175

    Notice: Undefined index: section15_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 176

    Notice: Undefined index: section16_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 182

    Notice: Undefined index: section16_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 183

    Notice: Undefined index: section17_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 189

    Notice: Undefined index: section17_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 190

    #96720
    Tiffany ClementsTiffany Clements
    Participant
    • Topics: 14
    • Replies: 28
    • Total: 42
    Member since: June 1, 2015

    Hi!

    I checked out the link for the child theme you created and it appears that all of the other templates are missing. This child theme seems to have only a functions file and style sheet. Is there any way I can get a child theme that is an exact replica of the parent theme? In other words, one that contains every file that is in The parent theme.

Viewing 15 results - 16 through 30 (of 85 total)