@@ -11,7 +11,7 @@ discard block |
||
| 11 | 11 | */ |
| 12 | 12 | function get($name) |
| 13 | 13 | { |
| 14 | - return get_template_directory_uri() . '/dist/images/' . $name; |
|
| 14 | + return get_template_directory_uri().'/dist/images/'.$name; |
|
| 15 | 15 | } |
| 16 | 16 | |
| 17 | 17 | /** |
@@ -22,12 +22,12 @@ discard block |
||
| 22 | 22 | */ |
| 23 | 23 | function fetch($name) |
| 24 | 24 | { |
| 25 | - return get_stylesheet_directory() . '/dist/images/' . $name; |
|
| 25 | + return get_stylesheet_directory().'/dist/images/'.$name; |
|
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | function display($name) |
| 29 | 29 | { |
| 30 | - return "<img src='" . $this->get($name) . "' />"; |
|
| 30 | + return "<img src='".$this->get($name)."' />"; |
|
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | /** |
@@ -6,8 +6,8 @@ |
||
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | 8 | if (!class_exists('Timber')) { |
| 9 | - add_action('admin_notices', function () { |
|
| 10 | - echo '<div class="error"><p>Timber not activated. Make sure you activate the plugin in <a href="' . esc_url(admin_url('plugins.php#timber')) . '">' . esc_url(admin_url('plugins.php')) . '</a></p></div>'; |
|
| 9 | + add_action('admin_notices', function() { |
|
| 10 | + echo '<div class="error"><p>Timber not activated. Make sure you activate the plugin in <a href="'.esc_url(admin_url('plugins.php#timber')).'">'.esc_url(admin_url('plugins.php')).'</a></p></div>'; |
|
| 11 | 11 | }); |
| 12 | 12 | |
| 13 | 13 | return; |