Version Description
Download this release
Release Info
Developer | barrykooij |
Plugin | What The File |
Version | 1.5.3 |
Comparing to | |
See all releases |
Code changes from version 1.5.2 to 1.5.3
- readme.txt +6 -3
- what-the-file.php +4 -2
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: never5, barrykooij
|
|
3 |
Donate link: http://www.barrykooij.com/donate/
|
4 |
Tags: toolbar, development, file, template, template editing, Template Hierarchy, theme, themes, php, php file, template part
|
5 |
Requires at least: 3.1
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 1.5.
|
8 |
License: GPL v3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -50,6 +50,9 @@ Glad to hear I could help you! You can thank me in various ways, please see [my
|
|
50 |
|
51 |
== Changelog ==
|
52 |
|
|
|
|
|
|
|
53 |
= 1.5.2 =
|
54 |
* Fixed a CSS bug with admin bar.
|
55 |
|
@@ -110,4 +113,4 @@ Glad to hear I could help you! You can thank me in various ways, please see [my
|
|
110 |
|
111 |
= 1.0.1 =
|
112 |
* Changed the way the plugin initializes.
|
113 |
-
* Moved CSS from file to inline CSS.
|
3 |
Donate link: http://www.barrykooij.com/donate/
|
4 |
Tags: toolbar, development, file, template, template editing, Template Hierarchy, theme, themes, php, php file, template part
|
5 |
Requires at least: 3.1
|
6 |
+
Tested up to: 4.6
|
7 |
+
Stable tag: 1.5.3
|
8 |
License: GPL v3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
50 |
|
51 |
== Changelog ==
|
52 |
|
53 |
+
= 1.5.3: May 2, 2016 =
|
54 |
+
* Appended an extra check for the Sage starter theme, props [remyvv](https://github.com/remyvv).
|
55 |
+
|
56 |
= 1.5.2 =
|
57 |
* Fixed a CSS bug with admin bar.
|
58 |
|
113 |
|
114 |
= 1.0.1 =
|
115 |
* Changed the way the plugin initializes.
|
116 |
+
* Moved CSS from file to inline CSS.
|
what-the-file.php
CHANGED
@@ -3,13 +3,13 @@
|
|
3 |
Plugin Name: What The File
|
4 |
Plugin URI: http://www.barrykooij.com/what-the-file/
|
5 |
Description: 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. Supports BuddyPress and Roots Theme. More information can be found at the <a href='http://wordpress.org/extend/plugins/what-the-file/'>WordPress plugin page</a>.
|
6 |
-
Version: 1.5.
|
7 |
Author: Never5
|
8 |
Author URI: http://www.never5.com/
|
9 |
License: GPL v3
|
10 |
|
11 |
What The File Plugin
|
12 |
-
Copyright (C) 2012-
|
13 |
|
14 |
This program is free software: you can redistribute it and/or modify
|
15 |
it under the terms of the GNU General Public License as published by
|
@@ -209,6 +209,8 @@ class WhatTheFile {
|
|
209 |
// Do Roots Theme check
|
210 |
if ( function_exists( 'roots_template_path' ) ) {
|
211 |
$this->template_name = basename( roots_template_path() );
|
|
|
|
|
212 |
}
|
213 |
|
214 |
return $template_name;
|
3 |
Plugin Name: What The File
|
4 |
Plugin URI: http://www.barrykooij.com/what-the-file/
|
5 |
Description: 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. Supports BuddyPress and Roots Theme. More information can be found at the <a href='http://wordpress.org/extend/plugins/what-the-file/'>WordPress plugin page</a>.
|
6 |
+
Version: 1.5.3
|
7 |
Author: Never5
|
8 |
Author URI: http://www.never5.com/
|
9 |
License: GPL v3
|
10 |
|
11 |
What The File Plugin
|
12 |
+
Copyright (C) 2012-2016, Never5 - www.never5.com
|
13 |
|
14 |
This program is free software: you can redistribute it and/or modify
|
15 |
it under the terms of the GNU General Public License as published by
|
209 |
// Do Roots Theme check
|
210 |
if ( function_exists( 'roots_template_path' ) ) {
|
211 |
$this->template_name = basename( roots_template_path() );
|
212 |
+
} else if( function_exists( 'Roots\Sage\Wrapper\template_path' ) ) {
|
213 |
+
$this->template_name = basename( Roots\Sage\Wrapper\template_path() );
|
214 |
}
|
215 |
|
216 |
return $template_name;
|