• I’m new to WP and help maintain a website built on WP. I’m having difficulty finding all the links to the different files and objects that make up the web pages. There is only one CSS file (that I’ve found) so that is easy, but we have PHP files that reference each other and different ‘things’ in WP (pages, posts, etc). I have to go to this interface to edit this, then that interface to edit that, bouncing around having to remember where that content is or that PHP file and so on.

    Is there some way to generate a graphical map of the links of the various files and such? Something similar to a network map that shows all the devices and how they are connected to each other, is what I’m thinking.

    Maybe this map could also tell me what themes, plugins, and pages are actually used so I can delete the un-used stuff?

    Justin

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Justin – you can find most of these files under Dashboard >> Appearance >> Edit

    As long as your files are set to be writable you should be able to edit them right there in that screen.

    All of the php files that are being used by your theme are listed down the right side of that screen.

    You can see what theme is active under
    Dashboard >> Appearance >> Themes

    Thread Starter JustinBBC

    (@justinbbc)

    Hi Kori,
    I found the pages, but it is not readily apparent which file is used where in what other page. Some pages use several other pages as inputs.

    Is it a true statement to say that only one theme can be used at a time? (i.e., can’t use parts of other themes along with the active theme)

    Most of the files should be named according to how they’re being used. Meaning – header.php file is the header file that typically has your logo and main menu in it. The footer.php file is the footer area of your website. The index.php file is very typically the “home” page (or home.php). The single.php file references a single post, etc…

    And yes there can be another theme effecting your website if you’re referencing a “child theme.”

    http://codex.wordpress.org/Child_Themes

    JustinBBC – this is a new plugin that might help you as well https://wordpress.org/plugins/what-template-file-am-i-viewing/

    Thread Starter JustinBBC

    (@justinbbc)

    That does help some – thanks for the info and the plugin, Kori.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘map of file links?’ is closed to new replies.