Functions errors
authorLaury GvR <laury@gaslightmedia.com>
Tue, 7 Oct 2014 19:05:41 +0000 (15:05 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 7 Oct 2014 19:05:41 +0000 (15:05 -0400)
functions.php

index ed18ac7..dc3f9a6 100644 (file)
@@ -1,84 +1,44 @@
 
 <?php
-
-echo "TESTTEST TEST TEST TEST";
-
-
-
 // This theme only works in WP version 3.6 or higher.
 //if ( version_compare( $GLOBALS['wp_version'], '3.6', '<' ) ) {
 //     require get_template_directory() . '/inc/back-compat.php';
 //}
 
 // Register all navigation menus
-require_once('navigation.php');
-
-
-function register_my_menu() {
-  register_nav_menu('header-menu',__( 'Header Menu' ));
-}
-add_action( 'init', 'register_my_menu' );
-
-
-function register_my_menus() {
-  register_nav_menus(
-    array(
-      'header-menu' => __( 'Header Menu' ),
-      'extra-menu' => __( 'Extra Menu' )
-    )
-  );
-}
-add_action( 'init', 'register_my_menus' );
-
-wp_nav_menu( array( 'theme_location' => 'header-menu' ) ); 
-
-wp_nav_menu( array( 'theme_location' => 'extra-menu', 'container_class' => 'my_extra_menu_class' ) );
-
-// Register Navigation Menus
-function custom_navigation_menus() {
-
-       $locations = array(
-       );
-       register_nav_menus( $locations );
-
-}
-
-// Hook into the 'init' action
-add_action( 'init', 'custom_navigation_menus' );
-
-?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-/**
- * Register Lato Google font for Theme.
- *
- * @since parrotslanding 1.0
- *
- * @return string
- */
-function parrotslanding_font_url() {
-       $font_url = '';
-       /*
-        * Translators: If there are characters in your language that are not supported
-        * by Lato, translate this to 'off'. Do not translate into your own language.
-        */
-       if ( 'off' !== _x( 'on', 'Lato font: on or off', 'parrotslanding' ) ) {
-               $font_url = add_query_arg( 'family', urlencode( 'Lato:300,400,700,900,300italic,400italic,700italic' ), "//fonts.googleapis.com/css" );
-       }
+//require_once('navigation.php');
+//
+//
+//function register_my_menu() {
+//  register_nav_menu('header-menu',__( 'Header Menu' ));
+//}
+//add_action( 'init', 'register_my_menu' );
+//
+//
+//function register_my_menus() {
+//  register_nav_menus(
+//    array(
+//      'header-menu' => __( 'Header Menu' ),
+//      'extra-menu' => __( 'Extra Menu' )
+//    )
+//  );
+//}
+//add_action( 'init', 'register_my_menus' );
+//
+//wp_nav_menu( array( 'theme_location' => 'header-menu' ) ); 
+//
+//wp_nav_menu( array( 'theme_location' => 'extra-menu', 'container_class' => 'my_extra_menu_class' ) );
+//
+//// Register Navigation Menus
+//function custom_navigation_menus() {
+//
+//     $locations = array(
+//     );
+//     register_nav_menus( $locations );
+//
+//}
+//
+//// Hook into the 'init' action
+//add_action( 'init', 'custom_navigation_menus' );
 
-       return $font_url;
-}
\ No newline at end of file
+?>
\ No newline at end of file