Home Forums Weaver Xtreme Theme Theme Default

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #66173
    Mythoi
    Participant

    What happened to the theme directory? To the default sub-directory? Can’t customize without those two.

    #66174
    Weaver
    Keymaster

    Please be more explicit. Weaver Xtreme still resides where it always did in the standard directory for WordPress themes. And what sub-directory might you mean?

    The only thing I can think of that you might be questioning is the switch in Weaver Xtreme 4.4 to the standard WordPress API function get_theme_file_path to load all theme files instead of the previous method that used __FILE__. There should be no difference to any existing child theme by switching to this call, but get_theme_file_path will now allow a child theme to replace any php file of the theme, and not rely on pluggable functions. With get_theme_file_path, WordPress will first search a child theme for directories and files before loading the standard theme file.

     

    #66182
    Mythoi
    Participant

    Found WX under themes, but the sub-folders there were

    admin,

    assets

    helps

    includes

    languages

    subthemes

    templates

    weaverx child demo

    But no sign of a default anything to be found. Need that file/folder to customize.

    #66185
    scrambler
    Moderator

    I have no clue what you are looking for, but may be you can explain what type of customizations you are after.

    All Custom CSS should go in The Theme Setting’s Global Custom CSS Rule Box

    PHP changes should go into a child theme.

     

    #66189
    Weaver
    Keymaster

    That directory structure is more or less typical of many many themes, with a few specifics for Weaver Xtreme.

    If you are talking about style.css, read the comments in its intro. But to customize CSS, the proper way in Weaver Xtreme is by adding custom CSS directly to theme settings. But Weaver Xtreme does have its default CSS located elsewhere as described in the standard theme style.css file. If you must override that (usually totally unnecessary), you will have to follow the instructions there to dequeue some files in a child functions.php.

    But you must ALWAYS customize php via a child theme. NEVER EVER modify any theme files directly.

    And the fact you are unable to find what you might expect makes me worry some that you might be in a bit over your head. Simple themes like the WP Twenty-whatever themes are all very simple and basic. More advanced themes often have a much more complex organization of file they need to support more features. Modifying a theme like Weaver Xtreme will typically require a specialized local PHP editor or IDE that can help reveal the structure and organization of the theme.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.