• I would like to move files to a sub-dir for example

    wordpress_core/404.php
    wordpress_core/archive.php
    wordpress_core/single.php
    wordpress_core/search/search.php
    wordpress_core/search/searchform.php

    Is this possible?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    It might work (moving a theme into a sub-directory of the theme) but it would probably break many other things. Child themes would fail for example.

    What are you trying to accomplish specifically and why?

    Thread Starter gcoulby

    (@gcoulby)

    I’m developing a framework and trying to separate core functionality, away from things like templates/foundation files/custom classes etc.

    I thought there might be away that if wordpress can’t find 404.php it could look in a stated dir for it before considering it missing.

    It’s mainly just house keeping really it’s not essential I just really don’t like that all the files are in one place.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can I move wordpress php files from theme root?’ is closed to new replies.