windhamdavid 4 years ago
parent
commit
ce21ba8c48
3 changed files with 9 additions and 8 deletions
  1. 1 1
      functions.php
  2. 1 1
      page-notebook.php
  3. 7 6
      page-sitemap.php

+ 1 - 1
functions.php

@@ -75,7 +75,7 @@ function dw_scripts() {
 		wp_enqueue_script( 'comment-reply' );
 	}
 	
-	if ( is_page('notebook') || is_archive() ) {	
+	if ( is_page('desk') || is_archive() ) {	
 		global $wp_rewrite;
 		wp_enqueue_script( '_s_backbone-loop', get_template_directory_uri() . '/js/loop.js', array( 'jquery', 'backbone', 'underscore', 'wp-api'  ), '1.0', true );
 		$queried_object = get_queried_object();

+ 1 - 1
page-notebook.php

@@ -1,6 +1,6 @@
 <?php
 /*
-Template Name: Notebook
+Template Name: Desk
 */
 
 get_header(); ?>

+ 7 - 6
page-sitemap.php

@@ -28,13 +28,9 @@ get_header(); ?>
 										<a href="../about/cv/" title="CV" class="list-group-item"><span class="fa fa-file-text-o fa-fw"></span> CV</a>
 										<a href="../about/dashboard/" title="CV" class="list-group-item"><span class="fa fa-tachometer fa-fw"></span> Dashboard</a>
 									</ul>
-									<ul><ul class="list-group-horizontal">
-										<a href="../about/art/" title="Art" class="list-group-item"><span class="fa fa-paint-brush fa-fw"></span> Art</a>
-										<a href="../about/photo/" title="Photo" class="list-group-item"><span class="fa fa-camera-retro fa-fw"></span> Photo</a>
-										<a href="../about/music/" title="Music" class="list-group-item"><span class="fa fa-music fa-fw"></span> Music</a>
-									</ul></ul>
+
 								</li>
-								<li class="list-group-item"><a href="../about/" title="Desk" class="list-group-item"><span class="fa fa-pencil-square-o fa-fw"></span> Desk</a>
+								<li class="list-group-item"><a href="../desk/" title="Desk" class="list-group-item"><span class="fa fa-pencil-square-o fa-fw"></span> Desk</a>
 									<ul class="list-group-horizontal">
 										<a href="../desk/archive" title="Archive" class="list-group-item"><span class="fa fa-archive fa-fw"></span> Archive</a>
 										<a href="../desk/categories" title="Categories" class="list-group-item"><span class="fa fa-folder-open-o fa-fw"></span>Categories</a>
@@ -49,6 +45,11 @@ get_header(); ?>
 										<a href="../studio/print" title="Print" class="list-group-item"><span class="fa fa-print fa-fw"></span> Print</a>
 										<a href="../studio/design" title="Design" class="list-group-item"><span class="fa fa-pencil fa-fw"></span> Design</a>
 									</ul>
+									<ul><ul class="list-group-horizontal">
+										<a href="../studio/art/" title="Art" class="list-group-item"><span class="fa fa-paint-brush fa-fw"></span> Art</a>
+										<a href="../studio/photo/" title="Photo" class="list-group-item"><span class="fa fa-camera-retro fa-fw"></span> Photo</a>
+										<a href="../studio/music/" title="Music" class="list-group-item"><span class="fa fa-music fa-fw"></span> Music</a>
+									</ul></ul>
 								</li>
 								<li class="list-group-item"><a href="../client/" title="Client" class="list-group-item"><span class="fa fa-users fa-fw"></span> Client</a>
 									<ul class="list-group-horizontal">