Correct way to use childtheme

Home Forums WordPress Theme CityBook – Directory & Listing WordPress Theme Correct way to use childtheme

This topic contains 6 replies, has 2 voices, and was last updated by  Aron Verhoeven 1 week, 3 days ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #37052

    Aron Verhoeven
    Participant

    Supported

    Hi Support,

    Last weeks, I’ve made different changes in multiple php files. However, how can I set them correct in my Childtheme?

    For example, I’ve made changes in:

    1. emails.php (wp-content/plugins/citybook-add-ons/posttypes/emails.php)
    2. cpt-invoice.php (wp-content/plugins/citybook-add-ons/posttypes/cpt-invoice.php)

    Where should I place those 2 files? My current childtheme: https://prnt.sc/pfx6up.

    Thanks in advance.

    Aron Verhoeven

    #37097

    CTHthemes
    Keymaster

    They can’t be override from child theme.

    #37126

    Aron Verhoeven
    Participant

    Supported

    Okay, does this also mean for other php files?

    So I have the following files also in my childtheme, (see: https://prnt.sc/pfx6up.) but does this have effect?

    – azp_filter_event_date.php;
    – azp_filter_sortby.php;
    – azp_widget_booking.php;
    – azp_widget_contacts.php;
    – dashboard-ads.php;
    – listing.php;
    – class-checkout.php.

    And what does this mean if you update those files? Does this have effect for my own modifications?

    #37158

    CTHthemes
    Keymaster

    You can override all of files from azp_templates folder and some from template-parts, templates and template-inner.

    #37220

    Aron Verhoeven
    Participant

    Supported

    Okay, clear to me. But what is the impact of other files, after an update?

    So for example, if I edit an file, which can not be overwritten from the Childtheme, are all my modifications than gone?

    #37245

    CTHthemes
    Keymaster

    Files can not be override from childtheme will be override, so backup modified cofe before update.

    #37247

    Aron Verhoeven
    Participant

    Supported

    Okay, check. Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.

New featues: CityBook - Listing & Directory WordPress Theme version 2.1.8 was outUpdate now
+