Okay
  Public Ticket #3098449
I edited loop-markup.php
Closed

Comments

  •  4
    jjmancini started the conversation

    I edited loop-markup.php found in:

    /wp-content/plugins/salient-core/includes/post-grid/loop-markup.php

    How can I make sure this does not get overwritten when an update comes out?

    Thanks!

  •  1,877
    Judith replied

    Hello There,

    Thanks for keeping in touch.

    I recommend adding any code customization in the child theme in the functions.php file so that the code is retained even after updates.

    Thanks.

  •  4
    jjmancini replied

    Judith,

    Are you sure this answers my question?

    I am editing something inside the plugins folder. Are you saying that I copy and paste that code into the functions.php file and it will just work?

  •  8,839
    Tahir replied

    You can add the function directly in the Child Theme "functions.php" file if a "function_exists" conditional tag is available which means it can be overridden .

    Thanks


    ThemeNectar Support Team 

  •  4
    jjmancini replied

    Hi Tahir,

    I'm afraid I need more hand-holding. I copied all of the code in loop-markup.php and placed into the functions.php file in the child theme. That killed wordpress. Do you have a write up on how to do this?

  •  8,839
    Tahir replied

    Could you allow us to log in to your website backend dashboard so we can check on this for you more?. We are gonna need the username and password of admin user as well as the login url.

    Thanks 


    ThemeNectar Support Team