Comments mikahayk started the conversationMay 5, 2022 at 4:00pmI would like to override the following file in my child theme:wp-content/plugins/salient-core/includes/post-grid/loop-markup.php Please guide how to do that, I want to update some design elements. The default method of creating the same structure in the child theme doesn't seem to work. 8,839Tahir repliedMay 5, 2022 at 8:39pmHey mikahayk ,You can override the function in the Child Theme "functions.php" file /** * Post grid item display. * * @since 1.3 */ if(!function_exists('nectar_post_grid_item_markup')) { function nectar_post_grid_item_markup($atts) { } }Also view: https://themenectar.com/docs/salient/overriding-salient-wpbakery-element-template-files-through-a-child-theme/ and https://themenectar.com/docs/salient/add-new-wpbakery-element/ .Thanks ThemeNectar Support Team Sign in to reply ...
I would like to override the following file in my child theme:
wp-content/plugins/salient-core/includes/post-grid/loop-markup.php
Please guide how to do that, I want to update some design elements. The default method of creating the same structure in the child theme doesn't seem to work.
Hey mikahayk ,
You can override the function in the Child Theme "functions.php" file
Also view: https://themenectar.com/docs/salient/overriding-salient-wpbakery-element-template-files-through-a-child-theme/ and https://themenectar.com/docs/salient/add-new-wpbakery-element/ .
Thanks
ThemeNectar Support Team