Home Forums WC Vendors Pro Support Override files within public folder

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #61746
    Tatiana Goncharova
    Participant

    Hello,

    I have successfully overridden some of the files within the public folder, mostly so that I could apply some of the css changes to them. But I was wondering if there is a better way to do this within my theme so that I wouldn’t lose those modifications after an update. Thanks!

    #61834
    Anna
    Member

    @mitnkulu
    Yes- you can use a child theme, and locate the CSS elements you wish to changes, and put those changes in your style.css file in your child theme.
    Or am I misunderstanding your question?

    #61884
    Tatiana Goncharova
    Participant

    Thanks for your reply, basically what I meant is as the same as overriding the template files, since some of the files within the public folder are somehow controlling the structure of the dashboard, overriding the template files only wouldn’t make the dashboard look completely like how we want it to, so we figured that modifying for instance “public/partials/helpers/table/wcvendors-pro-table.php” get us the perfect result. The only thing that bothers us is where to have them within the child theme.

    #61952
    Anna
    Member

    @mitnkulu
    I see- these are not css changes or template files. They are core files.
    Core files should be modified using the many built-in filters whenever possible. Otherwise, as you fear, they will not be update safe, and you will need to re-apply the modifications each time you update WC Vendors or WC Vendors Pro.

    Honestly I would have to see what you have done- or at least some of it- to be able to tell you if those changes can be made in a manner that would be update safe and keep you from having to modify core files.

    #62002
    Tatiana Goncharova
    Participant

    We will definitely share once we done, so we are just trying to change the look of the dashboard, nothing nerdy!!! Thanks, anyway.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.