Skip to content

Commit

Permalink
Add title tag theme support
Browse files Browse the repository at this point in the history
This closes #83
  • Loading branch information
vinkla committed Apr 23, 2015
1 parent 5e10d9b commit af2457a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion public/wp-content/themes/wordplate/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
// $formats = ['aside', 'gallery', 'image', 'link', 'quote', 'video', 'audio'];
// add_theme_support('post-formats', $formats);

// Add title theme support.
add_theme_support('title-tag');

// Show the admin bar.
show_admin_bar(false);
});
Expand All @@ -38,7 +41,7 @@
*/
add_action('wp_enqueue_scripts', function () {
wp_deregister_script('jquery');

// wp_enqueue_style('wordplate', get_template_directory_uri().'/assets/styles/wordplate.css');
// wp_register_script('wordplate', get_template_directory_uri().'/assets/scripts/wordplate.js', '', '', true);

Expand Down

0 comments on commit af2457a

Please sign in to comment.