summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authordaniel g. siegel2014-02-04 21:29:02 +0100
committerdaniel g. siegel2014-02-04 21:30:01 +0100
commit98ac7563519667e3ad3f6988e16a4328f38ee759 (patch)
treeebce16730aa3d157db9189cb1abd05eb3496e62a /functions.php
parent1265fe13acece463d9aebbedb61cafdee928da97 (diff)
downloadwp-remulus-98ac7563519667e3ad3f6988e16a4328f38ee759.tar.gz
wp-remulus-98ac7563519667e3ad3f6988e16a4328f38ee759.tar.bz2
wp-remulus-98ac7563519667e3ad3f6988e16a4328f38ee759.zip
remove unneeded code
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php33
1 files changed, 1 insertions, 32 deletions
diff --git a/functions.php b/functions.php
index fc8bcc3..481ae8b 100644
--- a/functions.php
+++ b/functions.php
@@ -5,48 +5,20 @@
* @package remulus
*/
-/**
- * Set the content width based on the theme's design and stylesheet.
- */
-if ( ! isset( $content_width ) ) {
- $content_width = 640; /* pixels */
-}
-
if ( ! function_exists( 'remulus_setup' ) ) :
-/**
- * Sets up theme defaults and registers support for various WordPress features.
- *
- * Note that this function is hooked into the after_setup_theme hook, which
- * runs before the init hook. The init hook is too late for some features, such
- * as indicating support for post thumbnails.
- */
function remulus_setup() {
-
- // Add default posts and comments RSS feed links to head.
add_theme_support( 'automatic-feed-links' );
- /*
- * Enable support for Post Thumbnails on posts and pages.
- *
- * @link http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails
- */
- //add_theme_support( 'post-thumbnails' );
-
- // This theme uses wp_nav_menu() in one location.
register_nav_menus(array(
'primary' => __('Primary Menu', 'remulus'),
'secondary' => __('Footer Menu', 'remulus'),
));
- // Enable support for Post Formats.
- add_theme_support( 'post-formats', array( 'aside', 'image', 'video', 'quote', 'link' ) );
}
endif; // remulus_setup
add_action( 'after_setup_theme', 'remulus_setup' );
-/**
- * Enqueue scripts and styles.
- */
+
function remulus_scripts() {
wp_enqueue_style( 'remulus-style', get_stylesheet_uri() );
wp_enqueue_style( 'remulus-font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css', array(), '4.0.3' );
@@ -54,9 +26,6 @@ function remulus_scripts() {
add_action( 'wp_enqueue_scripts', 'remulus_scripts' );
-/**
- * Display navigation to next/previous set of posts when applicable.
- */
if ( ! function_exists( 'remulus_paging_nav' ) ) :
function remulus_paging_nav() {
// Don't print empty markup if there's only one page.