This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] | |
</IfModule> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//sets definittions for base folder | |
define( 'TEMPLATE_URI', get_template_directory() ); | |
define( 'TEMPLATE_INCLUDES', get_template_directory(). '/includes' ); | |
//sets definititions for current theme folder | |
define( 'HOME_URI', home_url() ); | |
define( 'THEME_URI', get_stylesheet_directory() ); | |
define( 'THEME_INCLUDE', THEME_URI . '/includes' ); | |
define( 'THEME_IMAGES', THEME_URI . '/images' ); | |
define( 'THEME_CSS', THEME_URI . '/css' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--[if lt IE 9]> | |
<script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script> | |
<![endif]--> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.row-fluid .container .row{ | |
margin-left: 0; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array | |
( | |
[0] => Array | |
( | |
[myid] => 31 | |
[fname] => Dwayne | |
[mi] => | |
[lname] => Alexander | |
[degrees] => PHD | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// part 1 | |
<?php | |
// needed to access data from cpt-onomies | |
global $cpt_onomy; | |
// grabs the current taxonomy data being used by this page. | |
$current_taxonomy = $wp_query->queried_object; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Carlos, | |
I added a third array to the initial setup of the Faculty cpt. | |
The file you need to edit is: /includes/cpt/faculty.php | |
$faculty = register_cuztom_post_type( | |
'faculty', | |
array( | |
'has_archive' => false, | |
'supports' => array ('title', 'excerpt', 'thumbnail'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Middle Initial | |
<?php if ($middle_intial != '')) { | |
echo '<h3>' . $first_name . ' ' . $middle_initial . '. ' . $last_name . ', ' . $the_titles . '</h3>'; | |
} else { | |
echo '<h3>' . $first_name . ' ' . $last_name . ', ' . $the_titles . '</h3>'; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
$(document).ready(function() { | |
$(".fancybox").fancybox(); | |
$(".fancybox1") | |
.attr('rel', 'gallery') | |
.fancybox(); | |
$(".fancybox").fancybox({ | |
helpers : { | |
title: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul> | |
<?php $temp_query = $wp_query; query_posts("showposts=10&cat=-1000"); ?> | |
<?php while (have_posts()) { the_post(); ?> | |
<li><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to “<?php the_title(); ?>”"><?php the_title(); ?></a></li> | |
<?php } $wp_query = $temp_query; ?> | |
</ul> |