Home Forums Pro Themes Yummy Pro Changes to Testimonial Page header

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #55531
    1maryannem
    Participant

    Hi. I’m updating this theme for a friend who bought it – but I notice that when I click into a testimonial, it is spelt incorrectly on the header (and actually I want to just change the title entirely) – how do I change it. It currently says “TESTIOMONIAL” – http://hyggeteepee.com/tp-philosophy-testi/leeds-festival/

    Thanks
    Maryanne

    #55593
    wensolutions
    Keymaster

    Hello @1maryannem,

    Thank you for letting us know about the issue .

    To change the title you have to go through the child theme .

    You can activate the child theme using the plugin given below :

    https://wordpress.org/plugins/wp-child-theme-generator/

    After activating the child theme in your child theme functions.php file paste below given code .

    https://gist.github.com/anonymous/84ccd3879a18fc51ee1b8da12d05c8ab

    Noe change the title as per you wish by changing the text in Line No : 28 .

    Hope this helps .

    If you need any help further then please let us know .

    Best Regards!!

    #55618
    wensolutions
    Keymaster

    Hello @1maryannem,

    Please ignore above process . The update of the theme has been released fixing the issue of spelling mistake .

    So update your theme to the latest version and verify the issue .

    If there are any more quries then please feel free to post them .

    Best Regards!!

    #55636
    1maryannem
    Participant

    Thanks so much – will I need to download it from you again or will it give me the option via wordpress to update it?

    #55639
    1maryannem
    Participant

    Also. How do I change that title – even though it will now be spelt correctly when I update the theme – I want to change it. I can do it, using the child theme and your instructions above, however I would have to go in and make all the changes in the customiser again. Is there a quicker way to change it in the current theme?

    #55641
    wensolutions
    Keymaster

    Hello @1maryannem,

    The updates will be available in your Dashboard > Updates and you can update it from there or you can manually by downloading the latest zip file of the theme .

    The instruction to change the title is mentioned above . Even if you directly modify the theme now it will be lost in next update of the theme so it always a good idea to make the change through the use of child theme .

    You can use below given code in your child theme functions.php file to import the setting of your parent theme .

    function yummy_pro_child_customizer_options_import() {
    
    if ( get_stylesheet() !== get_template() ) {
       add_filter( 'pre_update_option_theme_mods_' . get_stylesheet(), function ( $value, $old_value ) {
            update_option( 'theme_mods_' . get_template(), $value );
            return $old_value; // prevent update to child theme mods
       }, 10, 2 );
       add_filter( 'pre_option_theme_mods_' . get_stylesheet(), function ( $default ) {
           return get_option( 'theme_mods_' . get_template(), $default );
       } );
    }
    
    }
    
    add_action('init', 'yummy_pro_child_customizer_options_import'); 

    Hope this helps .

    Best Regards!!

    #55643
    1maryannem
    Participant

    Thank you – you’re brilliant!!

    One last question. If I wanted to remove the background images from some of the page (the dishes of food or orange etc) how do I do that? Don’t usually have to do quite as much customisation!!

    thanks
    Maryanne

    #55730
    wensolutions
    Keymaster

    Hello @1maryannem,

    Nice to know your issue has been resolved .

    Now to remove the background image only from specific page then you have to use below given CSS .

    body.custom-background .page-id-361 { 
        background-image: none;
        }

    But in above CSS you have to replace the page ID with the page ID of the page that you want to remove the background for .

    Hope this helps .

    Best Regards!!

    #55907
    1maryannem
    Participant

    Im so sorry to sounds so silly, but where do I put that? in the Additional CSS in customiser or someplace else?

    #55913
    wensolutions
    Keymaster

    Hello @1maryannem,

    You need to put any additional custom CSS in Admin Panel > Appearance > Customize > Additional CSS .

    Please do not directly add the provided CSS in style.css of original file as the modification will be lost. .

    Hope this helps .

    Best Regards!!

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