Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added Staff CPT to TVMDL theme option

  • Loading branch information...
commit a7a21b1b0b8b95a605db39f39802607d5a7333cc 1 parent 93eb3af
Jason Weaver indyplanets authored
100 college-drop-section.php
View
@@ -4,51 +4,61 @@
<div class="drop-section-wrap">
<div id="top-level-nav">
<ul>
- <li class="top-level-li"><a class="sub" href="http://aglifesciences.tamu.edu/about/"><span>About</span></a>
- <ul>
- <li><a href="http://aglifesciences.tamu.edu/about-the-college/welcome-from-the-dean/">Welcome From The Dean</a></li>
- <li><a href="http://aglifesciences.tamu.edu/about/administration/">Administration</a></li>
- <li><a href="http://aglifesciences.tamu.edu/about/accomplishments/accomplishments-awards/">Achievements</a></li>
- <li><a href="http://aglifesciences.tamu.edu/about-the-college/college-fact-sheet/">College Fact Sheet</a></li>
- <li><a href="http://aglifesciences.tamu.edu/academics/institutes-centers/">Institutes &amp; Centers</a></li>
- <!--<li><a href="http://agroadmaps.tamu.edu/">Academic Master Plan</a></li>-->
- <li><a href="http://aglifesciences.tamu.edu/about-the-college/strategic-plan-2010-2015/">Strategic Planning</a></li>
- <li><a href="http://aglifesciences.tamu.edu/contact/">Contacts</a></li>
- </ul>
- </li>
- <li class="top-level-li"><a class="sub" href="http://aglifesciences.tamu.edu/news/"><span>News &amp; Events</span></a>
- <ul>
- <li><a href="http://aglifesciences.tamu.edu/newsletter/">Dean's eNewsletter</a></li>
- <li><a href="http://aglifesciences.tamu.edu/news-and-events/">News &amp; Calendar</a></li>
- <li><a href="http://agrilifenews.tamu.edu/">AgriLife News</a></li>
- <li><a href="http://tamunews.tamu.edu/">University News</a></li>
- </ul>
- </li>
- <li class="top-level-li"><a class="sub" href="http://aglifesciences.tamu.edu/future/"><span>Future Students</span></a>
- <ul>
- <li><a href="http://aglifesciences.tamu.edu/careers/by_major/">Undergraduate Degrees</a></li>
- <li><a href="http://aglifesciences.tamu.edu/academics/grad/grad_table/">Graduate Degrees</a></li>
- <li><a href="http://admissions.tamu.edu/transfer/">Transfer Guide</a></li>
- <li><a href="http://admissions.tamu.edu/international/gettingin/waysAdmitted/freshmen.aspx">Internationals</a></li>
- <li><a href="http://distance.tamu.edu/">Distance Education</a></li>
- <li><a href="http://aglifesciences.tamu.edu/future/undergrad/">Admissions</a></li>
- <li><a href="http://aglifesciences.tamu.edu/future/financialaid/">Financial Aid</a></li>
- <li><a href="http://aglifesciences.tamu.edu/future/undergrad/tours/">Visit Us!</a></li>
- </ul>
- </li>
- <li class="top-level-li"><a class="sub" href="http://aglifesciences.tamu.edu/people/" title="People"><span>People</span></a>
- <ul>
- <li><a href="http://aglifesciences.tamu.edu/people/former/">Former Students</a></li>
- <li><a href="http://aglifesciences.tamu.edu/people/students/">Current Students</a></li>
- <li><a href="http://aglifesciences.tamu.edu/people/facultystaff/">Faculty &amp; Staff</a></li>
- <li><a href="http://jobsforaggies.tamu.edu/">Jobs for Aggies</a></li>
- </ul>
- </li>
- <li class="top-level-li"><a class="sub" href="http://aglifesciences.tamu.edu/giving/" title="Giving"><span>Giving</span></a>
- <ul>
- <li><a href="http://aglifesciences.tamu.edu/giving/">It&rsquo;s Time To Give</a></li>
- <li><a href="http://coadc.tamu.edu/">College Development</a></li>
- </ul>
+ <li class="top-level-li sub">About
+ <ul>
+ <li><a href="http://aglifesciences.tamu.edu/about-the-college/welcome-from-the-dean/">Welcome From The Dean</a></li>
+ <li><a href="http://aglifesciences.tamu.edu/about/administration/">Administration</a></li>
+ <li><a href="http://aglifesciences.tamu.edu/about/accomplishments/accomplishments-awards/">Achievements</a></li>
+ <li><a href="http://aglifesciences.tamu.edu/about-the-college/strategic-plan-2010-2015/">Strategic Planning</a></li>
+ <li><a href="http://agrilife.org/college100">College Centennial</a></li>
+ </ul>
+ </li>
+ <li class="top-level-li sub">Quick Links
+ <ul>
+ <li><a href="http://aggiemap.tamu.edu/">Campus Map</a></li>
+ <li><a href="http://aglifesciences.tamu.edu/departments/">Academics/Departments</a></li>
+ <li><a href="http://aglifesciences.tamu.edu/academics/institutes-centers/">Institutes &amp; Centers</a></li>
+ <li><a href="http://aglifesciences.tamu.edu/about-the-college/college-fact-sheet/">College Fact Sheet</a></li>
+ <li><a href="http://aglifesciences.tamu.edu/contact/">Contacts</a></li>
+ <li><a href="http://aglifesciences.tamu.edu/news-and-events/">News &amp; Events</a></li>
+ <li><a href="http://aglifesciences.tamu.edu/careers/">Employment</a></li>
+
+
+ </ul>
+ </li>
+ <li class="top-level-li sub">Future Students
+ <ul>
+ <li><a href="http://aglifesciences.tamu.edu/careers/by_major/">Undergraduate Degrees</a></li>
+ <li><a href="http://aglifesciences.tamu.edu/academics/grad/grad_table/">Graduate Degrees</a></li>
+ <li><a href="http://admissions.tamu.edu/transfer/">Transfer Guide</a></li>
+ <li><a href="http://admissions.tamu.edu/international/gettingin/waysAdmitted/freshmen.aspx">Internationals</a></li>
+ <li><a href="http://distance.tamu.edu/">Distance Education</a></li>
+ <li><a href="http://aglifesciences.tamu.edu/future/undergrad/">Admissions</a></li>
+ <li><a href="http://aglifesciences.tamu.edu/future/financialaid/">Financial Aid</a></li>
+ <li><a href="http://aglifesciences.tamu.edu/future/undergrad/tours/">Visit Us!</a></li>
+ </ul>
+ </li>
+ <li class="top-level-li sub">Current Students
+ <ul>
+ <li><a href="http://aglifesciences.tamu.edu/undergraduate-advisors/">Advising</a></li>
+ <li><a href="http://aglifesciences.tamu.edu/forms-and-procedures/">Forms/Procedures</a></li>
+ <li><a href="http://aglifesciences.tamu.edu/clubs-and-organizations/">Student Organization</a></li>
+ <li><a href="http://aglifesciences.tamu.edu/internships/">Internships</a></li>
+ <li><a href="http://aglifesciences.tamu.edu/study-abroad/">Study Abroad</a></li>
+ <li><a href="http://aglifesciences.tamu.edu/student-faq/">FAQs</a></li>
+ <li><a href="http://jobsforaggies.tamu.edu/">Student Jobs</a></li>
+ <li><a href="http://aglifesciences.tamu.edu/careers/">Careers</a></li>
+ </ul>
+ </li>
+ <li class="top-level-li sub">Former Students/Giving
+ <ul>
+ <li><a href="http://aglifesciences.tamu.edu/giving/">It&rsquo;s Time To Give</a></li>
+ <li><a href="http://coadc.tamu.edu/">COADC</a></li>
+ <li><a href="http://www.aggienetwork.com/">Assoc. of Former Students</a></li>
+ <li><a href="http://agrilife.tamu.edu/awards/outstandingalumni/">Alumni Awards</a></li>
+ <li><a href="http://www.tamu.edu/home/formerstdts/">Resources</a></li>
+ <li><a href="http://aglifesciences.tamu.edu/giving/meet-our-staff/">Contact</a></li>
+ </ul>
</div>
</li>
</ul>
1  footer.php
View
@@ -15,6 +15,7 @@
GLOBAL $options;
?>
</div><!--.wrap-->
+<div class="clear">
</div><!--#content-wrap-->
</div><!-- #wrapper -->
<footer id="footer" role="contentinfo">
4 functions.php
View
@@ -139,7 +139,7 @@ function load_js() {
// enqueue the custom jquery js
wp_enqueue_script('my_scripts',
- get_bloginfo('template_directory') . '/js/my_scripts.js', array('jquery'), '2.9.1', false);
+ get_bloginfo('template_directory') . '/js/my_scripts.js', array('jquery'), '2.9.1', true);
}
}
add_action('init', 'load_js');
@@ -704,7 +704,7 @@ function create_tests_taxonomies() {
}
/* Staff Custom Post Type */
-if ($iscollegeonly) {
+if ($iscollegeonly || $istvmdlonly) {
add_action( 'init', 'create_staff_post_type' );
function create_staff_post_type() {
register_post_type( 'staff',
31 header.php
View
@@ -40,7 +40,7 @@
?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
-<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>?121" />
+<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>?124" />
<!--[if lt IE 9]>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/css/ie.css?1" />
<![endif]-->
@@ -92,17 +92,26 @@
<li class="top-agency tvmdl-item"><a href="http://tvmdl.tamu.edu/">Texas Veterinary Medical Diagnostics Laboratory</a></li>
<?php elseif($isextension && $isresearch && !$iscollege && !$istvmdl) :?>
- <li class="top-agency tx-ext-item"><a href="http://agrilifeextension.tamu.edu/"><span class="top-level-hide">Texas AgriLife Extension Service</span><img src="<?php bloginfo('stylesheet_directory') ?>/images/extension-branding.png" alt="Texas A&M Extension Logo" /></a></li>
- <li class="top-agency research-item"><a href="http://agriliferesearch.tamu.edu/"><span class="top-level-hide">Texas A&amp;M Research</span><img src="<?php bloginfo('stylesheet_directory') ?>/images/research-branding.png" alt="Texas A&M Research Logo" /></a></li>
-
+ <li class="top-agency tx-ext-item"><a href="http://agrilifeextension.tamu.edu/"><span class="top-level-hide">Texas AgriLife Extension Service</span><img src="<?php bloginfo('stylesheet_directory') ?>/images/extension-branding.png" alt="Texas A&amp;M Extension Logo" /></a></li>
+ <li class="top-agency research-item"><a href="http://agriliferesearch.tamu.edu/"><span class="top-level-hide">Texas A&amp;M Research</span><img src="<?php bloginfo('stylesheet_directory') ?>/images/research-branding.png" alt="Texas A&amp;M Research Logo" /></a></li>
+
+ <?php elseif($isextension && !$isresearch && $iscollege && !$istvmdl) :?>
+ <li class="top-agency college-item"><a href="http://aglifesciences.tamu.edu/"><span class="top-level-hide">Texas A&amp;M College of Agriculture and Life Sciences</span><img src="<?php bloginfo('stylesheet_directory') ?>/images/college-branding.png" alt="Texas A&amp;M College Logo" /></a></li>
+ <li class="top-agency tx-ext-item"><a href="http://agrilifeextension.tamu.edu/"><span class="top-level-hide">Texas AgriLife Extension Service</span><img src="<?php bloginfo('stylesheet_directory') ?>/images/extension-branding.png" alt="Texas A&amp;M Extension Logo" /></a></li>
+
+ <?php elseif(!$isextension && $isresearch && $iscollege && !$istvmdl) :?>
+ <li class="top-agency college-item"><a href="http://aglifesciences.tamu.edu/"><span class="top-level-hide">Texas A&amp;M College of Agriculture and Life Sciences</span><img src="<?php bloginfo('stylesheet_directory') ?>/images/college-branding.png" alt="Texas A&amp;M College Logo" /></a></li>
+ <li class="top-agency research-item"><a href="http://agriliferesearch.tamu.edu/"><span class="top-level-hide">Texas A&amp;M Research</span><img src="<?php bloginfo('stylesheet_directory') ?>/images/research-branding.png" alt="Texas A&amp;M Research Logo" /></a></li>
+
<?php elseif($isextension && $isresearch && $iscollege && !$istvmdl) :?>
- <li class="top-agency college-item"><a href="http://aglifesciences.tamu.edu/"><span class="top-level-hide">Texas A&amp;M College of Agriculture and Life Sciences</span><img src="<?php bloginfo('stylesheet_directory') ?>/images/college-branding.png" alt="Texas A&M College Logo" /></a></li>
- <li class="top-agency tx-ext-item"><a href="http://agrilifeextension.tamu.edu/"><span class="top-level-hide">Texas AgriLife Extension Service</span><img src="<?php bloginfo('stylesheet_directory') ?>/images/extension-branding.png" alt="Texas A&M Extension Logo" /></a></li>
- <li class="top-agency research-item"><a href="http://agriliferesearch.tamu.edu/"><span class="top-level-hide">Texas A&amp;M Research</span><img src="<?php bloginfo('stylesheet_directory') ?>/images/research-branding.png" alt="Texas A&M Research Logo" /></a></li>
+ <li class="top-agency college-item"><a href="http://aglifesciences.tamu.edu/"><span class="top-level-hide">Texas A&amp;M College of Agriculture and Life Sciences</span><img src="<?php bloginfo('stylesheet_directory') ?>/images/college-branding.png" alt="Texas A&amp;M College Logo" /></a></li>
+ <li class="top-agency tx-ext-item"><a href="http://agrilifeextension.tamu.edu/"><span class="top-level-hide">Texas AgriLife Extension Service</span><img src="<?php bloginfo('stylesheet_directory') ?>/images/extension-branding.png" alt="Texas A&amp;M Extension Logo" /></a></li>
+ <li class="top-agency research-item"><a href="http://agriliferesearch.tamu.edu/"><span class="top-level-hide">Texas A&amp;M Research</span><img src="<?php bloginfo('stylesheet_directory') ?>/images/research-branding.png" alt="Texas A&amp;M Research Logo" /></a></li>
+
<?php else : ?>
- <li class="top-agency college-item"><a href="http://aglifesciences.tamu.edu/"><span class="top-level-hide">Texas A&amp;M College of Agriculture and Life Sciences</span><img src="<?php bloginfo('stylesheet_directory') ?>/images/college-branding.png" alt="Texas A&M College Logo" /></a></li>
- <li class="top-agency tx-ext-item"><a href="http://agrilifeextension.tamu.edu/"><span class="top-level-hide">Texas AgriLife Extension Service</span><img src="<?php bloginfo('stylesheet_directory') ?>/images/extension-branding.png" alt="Texas A&M Extension Logo" /></a></li>
- <li class="top-agency research-item"><a href="http://agriliferesearch.tamu.edu/"><span class="top-level-hide">Texas A&amp;M Research</span><img src="<?php bloginfo('stylesheet_directory') ?>/images/research-branding.png" alt="Texas A&M Research Logo" /></a></li>
+ <li class="top-agency college-item"><a href="http://aglifesciences.tamu.edu/"><span class="top-level-hide">Texas A&amp;M College of Agriculture and Life Sciences</span><img src="<?php bloginfo('stylesheet_directory') ?>/images/college-branding.png" alt="Texas A&amp;M College Logo" /></a></li>
+ <li class="top-agency tx-ext-item"><a href="http://agrilifeextension.tamu.edu/"><span class="top-level-hide">Texas AgriLife Extension Service</span><img src="<?php bloginfo('stylesheet_directory') ?>/images/extension-branding.png" alt="Texas A&amp;M Extension Logo" /></a></li>
+ <li class="top-agency research-item"><a href="http://agriliferesearch.tamu.edu/"><span class="top-level-hide">Texas A&amp;M Research</span><img src="<?php bloginfo('stylesheet_directory') ?>/images/research-branding.png" alt="Texas A&amp;M Research Logo" /></a></li>
<li class="top-agency tvmdl-item"><a href="http://tvmdl.tamu.edu/"><span class="top-level-hide">Texas Veterinary Medical Diagnostics Laboratory</span><img src="<?php bloginfo('stylesheet_directory') ?>/images/tvmdl-branding.png" alt="TVMDL Logo" /></a></li>
<li class="top-agency tfs-item"><a href="http:///txforestservice.tamu.edu/"><span class="top-level-hide">Texas Forest Service</span><img src="<?php bloginfo('stylesheet_directory') ?>/images/forest-branding.png" alt="Texas Forest Service Logo" /></a></li>
<?php endif; ?>
@@ -111,6 +120,8 @@
<?php if($isextension && $isresearch && $iscollege && $istvmdl) :?>
<?php elseif($istvmdlonly) :?>
<li class='right-align client-login-li'><a class="client-login" href="https://tvmdl.tamu.edu/webaccess/">Client Login</a></li>
+ <?php elseif($iscollegeonly) :?>
+ <li class='explore right-align'><a class="ext-link college-explore-link" href="/explore/">Explore</a></li>
<?php else : ?>
<!--<li class='explore right-align'><a class="ext-link" href="/explore/">Explore</a></li>-->
<?php endif; ?>
BIN  images/explore-button.png
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2  js/my_scripts.js
View
@@ -475,7 +475,7 @@ jQuery(document).ready(function($) {
speed: 250 // Dropdown our menu fast
} );
- //background menu fading
+ //background menu animation
$('.no-touch .menu-header .sf-menu li').hover(function() {
$(this).find('ul.sub-menu .menu-item a').stop(true, true)
.css({
66 style.css
View
@@ -524,10 +524,30 @@ body.research.extension #drop-section-nav #drop-nav ul li a[href*='aglifescience
}
-#drop-section-nav #drop-nav ul li.right-align {
+#drop-section-nav #drop-nav ul li.align-right {
display: none;
}
+body.collegeonly #drop-section-nav #drop-nav ul li a.college-explore-link {
+ background: rgba(0,0,0,.1) url('images/explore-button.png') no-repeat 90% -34px;
+ display: block;
+ text-indent: 0;
+ border-radius: 3px;
+ padding: 5px 20px 5px 10px;
+ margin: 12px 0 0;
+ height: auto;
+ width: auto;
+ color: #cbb7a3;
+ font-family: verdana, clean, sans-serif;
+ font-size: 14px;
+}
+body.collegeonly #drop-section-nav #drop-nav ul li a.college-explore-link:hover {
+ background-position: 90% 7px;
+ background-color: rgba(0,0,0,.2);
+ color: #e2dec7;
+}
+
+
.collegeonly #drop-section-nav #drop-nav ul li a,
.extensiononly #drop-section-nav #drop-nav ul li a,
.researchonly #drop-section-nav #drop-nav ul li a,
@@ -729,7 +749,7 @@ body.research.extension #drop-section-nav #drop-nav ul li a[href*='aglifescience
margin-bottom: 25px;
padding: 2px;
border: 1px dashed #d9d1ae;
- -webkit-transition: -webkit-box-shadow .2s ease-in;
+ -webkit-transition: -webkit-box-shadow .2s ease-in;
}
#drop-section .flow .contents #top-level-nav .top-level-nav:hover {
@@ -792,8 +812,29 @@ body.research.extension #drop-section-nav #drop-nav ul li a[href*='aglifescience
border: none;
text-decoration: underline;
}
+#top-level-nav ul {
+ margin: 1.2em 0;
+ overflow: hidden;
+}
-
+#top-level-nav li {
+ font: 13px "Verdana", clean, sans-serif;
+ padding: 2px 0;
+}
+#top-level-nav li a {
+ text-decoration: none;
+ border: none;
+}
+#top-level-nav li a:hover {
+ text-decoration: underline;
+}
+.top-level-li {
+ font-size: 13px;
+}
+#top-level-nav li.sub {
+ font: 18px "ff-dagny-web-pro-1","ff-dagny-web-pro-2", 'Lucida Grande', 'Lucida Sans Unicode', sans-serif;
+ text-shadow: 0 1px 1px #40001a;
+}
.collegeonly .gigpress-tickets-link {
border: 1px solid #860125;
color: #fff;
@@ -2186,7 +2227,7 @@ body.home #home-middle .agrilifetoday ul li span.rss-date {
box-shadow: 0 0 4px #fff;
position: absolute;
left: -5px;
- top: 20px;
+ top: 30px;
z-index: 999;
margin: 1px;
font-style: normal;
@@ -3045,8 +3086,7 @@ img#wpstats {
-webkit-box-shadow: 0 -2px 6px rgba(16,16,16,.075);
-moz-box-shadow: -4px -2px 6px rgba(16,16,16,.075);
box-shadow: 0 -2px 6px rgba(16,16,16,.075);
- background: #fff url(images/gradient.png) repeat-x left -100px;
- overflow: hidden;
+ background: #fff url(images/gradient.png) repeat-x left -100px;
}
/*----- Job Postings single page ------ */
@@ -3263,7 +3303,8 @@ img#wpstats {
position: absolute;
overflow: hidden;
padding: 0 10px;
- margin-top: 0;
+ margin-top: 0;
+ width: 100%;
}
#college-top-level-section .flow .contents a {
@@ -3365,7 +3406,14 @@ img#wpstats {
.top-level-li {
float: left;
- width: 175px;
+ width: 20%;
+ margin-top: 20px;
+ }
+ #college-top-level-section .flow .contents .top-level-li ul li a {
+ color: #c0a3a8;
+ }
+ #college-top-level-section .flow .contents .top-level-li:hover ul li a {
+ color: #f4f2e9;
}
.ask, .explore {
@@ -3405,7 +3453,7 @@ img#wpstats {
padding: 20px 0 30px;
}
body.research.extension #header {
- padding: 35px 0 30px;
+ padding: 35px 0 35px;
}
#site-title {
text-align: left;
Please sign in to comment.
Something went wrong with that request. Please try again.