Okay
  Public Ticket #1437498
about two themes
Closed

Comments

  • Luis started the conversation

    I have two themes that they say that I must to install them as a father theme.

    Storefront Product Pagination requieres to  use Storefront as a father teme. Instala Storefront ahora




    Storefront Product Sharing requiere que uses Storefront como tema padre Instala Storefront ahora

    the strorefront theme most be destroyed?


    The other question about the theme father or theme child is that you send me with the package a child theme... Transfers-child    what does it serve for... Could you help me...?


    Thank you very much.



  •  2,057
    Theme replied

    Hi,

    Yes, our theme cannot be used together with another theme. A WordPress theme can either be a parent theme or a child theme - but a complete theme like ours cannot be a child theme of another complete theme.

    We sent you a child theme that is an example of a child theme for our theme. It is good practice to make any code changes in a child theme.

    A child theme must be activated via Appearance -> Themes

    It resides in the folder wp-content/themes

    So, as an example, you would have your themes folder look like this:

    wp-content/themes/transfers
    wp-content/themes/transfers-child

    Say, for example, if you want to make a change to theme file includes/parts/service-item.php

    After you activated the child theme, you would go to wp-content/themes/transfers-child/ and create the folder structure includes/parts

    You would then copy only the file service-item.php from the parent theme, and paste it into the newly created folder wp-content/themes/transfers-child/includes/parts

    You would then modify this file.

    WordPress first checks in a child theme folder if any files are present. If not, it then checks in the parent folder.

    When we then release an upgrade of our theme, you would know which files you modified and would not lose your changes.

    To learn more about WordPress child themes, please read the following as well:

    https://codex.wordpress.org/Child_Themes

    https://developer.wordpress.org/themes/advanced-topics/child-themes/

    Best regards,

    themeenergy support