Sitemaps
Questions
DiscussionsQuestionsExperts

Questions

WordPress

What's the most efficient way to organize WordPress files?

Here's the issue that I'm sure many of you would agree with. I have a massive amount of folders and my memory recall simply can't remember the name of these plugins, just the function i need. What tools, or system do you recommend to tag these folders like a bookmarking system to easily search in a single location. Is there a evernote like app for this?

Answer This Question

3

Answers

Jason Lengstorf

Expert in location independence/work-life balance.

I'm not sure of an app specifically designed for tagging, but if you use something like Sublime Text there's a fuzzy search as well as a "find in folder" search that would allow you to search all files contained in a project for the function name. I've had similar problems where I know what I need, but I can't remember the file name; Sublime Text solved that for me.

Good luck!

Answered almost 9 years ago

Mario Peshev

Business & Digital Advisor for SMEs ($500K - $25M)

In terms of physical files (WordPress core or plugins), the core setup of a WordPress project is straightforward:

- The project root contains wp-admin, wp-includes, wp-content, and the main core files.
- wp-content/ contains your custom code - themes, plugins, uploads, backups, whatever be it.
- uploads/ are grouped by years and months (for better accessibility).

If you're struggling with the search itself, make sure you're not overcomplicating your product with dozens of random plugins that you don't need. Keep it simple. Each plugin has its own purpose, which makes it easier to find the right function or class.

Using a professional IDE like PhpStorm, Eclipse, Netbeans will help you search thoroughly. On Mac/Linux, you can study grep or ack and craft complex search queries for whatever you need (including pipelines of stacked commands).

In terms of your media uploads, there are plugins that let you organize the media in a sensible manner. If you've integrated with AWS S3, creating buckets for certain files may be a better approach, too.

Answered over 6 years ago