Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

What The File

Mô tả

What The File adds an option to your toolbar showing what file and template parts are used to display the page you’re currently viewing. You can click the file name to directly edit it through the theme editor, though I don’t recommend this for bigger changes. What The File supports BuddyPress and Roots Theme based themes.

More information can be found here.
For support please visit the Support forum.

Ảnh màn hình

  • What The File shows you what template file is used.

Cài đặt

  1. Upload what-the-file to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Hỏi đáp

Where can I see what template file is used?

In the toolbar you will find the “What The File” option. Hovering this option will display the currently used template file, clicking the template file name will allow you to edit the template file with the WordPress file editor. Please note that some BuddyPress files can’t be edited in the WordPress editor.

I can’t find the “What The File” option in the toolbar

You have to be an Administrator to see the “What The File” option.

Does What The File supports BuddyPress

Yes it does.

Does What The File supports Roots Theme

Yes it does.

You saved me so much time, is there any way I can thank you?

Glad to hear I could help you! You can thank me in various ways, please see my donation page to find out more.

Đánh giá

8 Tháng Tám, 2020
Despite the naysayer's that have nothing better to do with their lives, this is one of those plugins that really makes a developers life easier. Granted, there are ways of discovering which templates are in use by examining page source code. But this plugin simplifies the process. A word about PHP version. I've been using this plugin since PHP version 7.0 and above. It works just fine. The point is just because a plugin hasn't been updated in a few years doesn't mean it has to be. Many thanks Never5
5 Tháng Tám, 2020
Thank you for this usefull software!
29 Tháng Bảy, 2020
Handy to see which files are creating the page you see, so you can edit them.
27 Tháng Bảy, 2020
A great little user-friendly Plugin that makes life a lot easier for anyone who likes to overwrite template files.
6 Tháng Bảy, 2020
this plugin is a must have, when you're trying to edit your theme and troubleshooting theme issues.
2 Tháng Bảy, 2020
I have to personalize a child theme and this help me to recognize what was the template i have to duplicate for changes. It was really helpful. Thank you!
Đọc tất cả 798 đánh giá

Người đóng góp & Lập trình viên

“What The File” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi

1.5.4: October 8, 2017

  • Version and meta update.

1.5.3: May 2, 2016

  • Appended an extra check for the Sage starter theme, props remyvv.

1.5.2

  • Fixed a CSS bug with admin bar.

1.5.1

  • Fixed a bug where some themes make all images display block.

1.5.0

  • Only add edit link if direct file editing is allowed. Props szepeviktor
  • Wrapped initiation in hooks and split frontend and admin code.
  • Removed use of create_function.
  • Various code optimizations.

1.4.1

  • Fixed wrongly aligned arrow in MP6 – props remyvv.
  • Template parts are now correctly shown in child themes – props remyvv.
  • Code style change.

1.4.0

  • Fixed a template part bug, props remyvv
  • Code style change

1.3.2

  • Plugin now check if file exists in child theme or parent theme.

1.3.1

  • Editing files directly through the theme editor now supports child themes.

1.3.0

  • Added template part support.

1.2.1

  • Improved the admin panel and administrator role check.

1.2.0

  • Added BuddyPress support.
  • Added WordPress.org review notice.
  • Fixed admin check.
  • Small code changes and refactoring.
  • Extended GPL license.

1.1.2

  • Fixed admin url bug caused when WordPress is installed in a subdirectory.

1.1.1

  • Small meta information changes.

1.1.0

  • Added Roots Theme support.
  • Added WordPress 3.5.1 support.
  • Meta information changed.

1.0.3

  • Added WordPress 3.5 support.
  • Small meta information changes.

1.0.2

  • Fixed incorrect url when theme directory name differs from theme name.

1.0.1

  • Changed the way the plugin initializes.
  • Moved CSS from file to inline CSS.