Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Update namespace to new directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
jedrzejchalubek committed May 25, 2017
1 parent 8cd32f5 commit 913bcf1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions app/Structure/navs.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Theme\Setup;
namespace App\Theme\Structure;

/*
|----------------------------------------------------------------
Expand All @@ -25,4 +25,4 @@ function register_navigation_areas()
'primary' => __('Primary', config('textdomain')),
]);
}
add_action('after_setup_theme', 'App\Theme\Setup\register_navigation_areas');
add_action('after_setup_theme', 'App\Theme\Structure\register_navigation_areas');
4 changes: 2 additions & 2 deletions app/Structure/shortcodes.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Theme\Setup;
namespace App\Theme\Structure;

/*
|--------------------------------------------------------------------------
Expand Down Expand Up @@ -34,4 +34,4 @@ function render_button_shortcode($atts, $content)

return ob_get_clean();
}
add_shortcode('button', 'App\Theme\Setup\render_button_shortcode');
add_shortcode('button', 'App\Theme\Structure\render_button_shortcode');
4 changes: 2 additions & 2 deletions app/Structure/sidebars.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Theme\Setup;
namespace App\Theme\Structure;

/*
|-----------------------------------------------------------
Expand Down Expand Up @@ -30,4 +30,4 @@ function register_widget_areas()
'after_title' => '</h5>',
]);
}
add_action('widgets_init', 'App\Theme\Setup\register_widget_areas');
add_action('widgets_init', 'App\Theme\Structure\register_widget_areas');
4 changes: 2 additions & 2 deletions app/Structure/thumbnails.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Theme\Setup;
namespace App\Theme\Structure;

/*
|-----------------------------------------------------------
Expand All @@ -21,4 +21,4 @@ function add_image_sizes()
{
// add_image_size('custom-thumbnail', 800, 600, true);
}
add_action('after_setup_theme', 'App\Theme\Setup\add_image_sizes');
add_action('after_setup_theme', 'App\Theme\Structure\add_image_sizes');
4 changes: 2 additions & 2 deletions app/Structure/widgets.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Theme\Setup;
namespace App\Theme\Structure;

/*
|-----------------------------------------------------------
Expand All @@ -22,4 +22,4 @@ function register_widgets()
{
// register_widget('\My\Widget\Class');
}
add_action('widgets_init', 'App\Theme\Setup\register_widgets');
add_action('widgets_init', 'App\Theme\Structure\register_widgets');

0 comments on commit 913bcf1

Please sign in to comment.