Okay
  Public Ticket #2022252
blog-template-functions.php in child theme
Closed

Comments

  • schmilz started the conversation

    Hello, I need to change blog-template-functions.php in my child-theme "kalium child", so I copied blog-template-functions.php in wp-content/themes/kalium-child/inc/functions/template/ and did my changes but it looks like blog-template-functions.php in my child-theme is not active.
    Please tell me, how can I activate blog-template-functions.php in my child theme.

    Thanks in advance

    Peter

  •  1,559
    Laborator replied

    Hi Peter,

    Can you please share your site credentials here, because we need to login to your site and see this issue live. Your information is safe (private) in this thread.

    To include your credentials click Insert Credentials button in editor toolbar. (See how)

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •   schmilz replied privately
  •  1,559
    Laborator replied

    Hi there,

    Can you please let me know what you want to change as I talked with the programmer and it seems that files located under inc cannot be overwritten by the child theme but you can copy a complete functions and put it in the functions.php to overwrite it.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  • schmilz replied

    Hi Art,

    i wonder about the information on https://documentation.laborator.co/kb/kalium/kalium-v2-1-release-notes/.
    Here it says:
    "Blog template functions (which can be overridden in your child theme) in:kalium/inc/functions/template/blog-template-functions.php"
    So, if this isn't true, I need to change the function kalium_blog_single_post_meta_below_title, starting at line 888 in the original blog-template-functions.php. I simply want to add a line after line 910 
    </section>
    with the content
    <?php echo do_shortcode('[xxxxxyyyyyzzzzz"]') ?>
    in order to include a plugin with a shortcode.

    Thank you
    Peter

  • schmilz replied

    Hi Art,

    now I've made the desired changes in the functions.php of my child-theme and it works like expected.
    Maybe I missunderstood the information at https://documentation.laborator.co/kb/kalium/kalium-v2-1-release-notes/

    Thank you

  •  1,559
    Laborator replied

    Hi Peter,

    I am happy to hear that you managed to make it work, have a great week.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group