-
+
>
@@ -34,7 +37,7 @@
$description = get_the_content();
$attrib = array('title' => $title);
?>
-
+
diff --git a/src/wp-content/themes/originalhouse/includes/js/general.js b/src/wp-content/themes/originalhouse/includes/js/general.js
index a468767..16735d4 100644
--- a/src/wp-content/themes/originalhouse/includes/js/general.js
+++ b/src/wp-content/themes/originalhouse/includes/js/general.js
@@ -4,7 +4,29 @@
jQuery(document).ready(function() {
+ /*$.colorbox.settings.title = function() {
+ // would apply to all instances of colorbox
+ return $(this).find('img').attr('alt') || this.title || '';
+ }*/
+
+ if ( jQuery( 'a.size-thumbnail' ).length ) {
+ jQuery("a.size-thumbnail").each(function() {
+ var $this = jQuery(this);
+ $this.data('title', $this.attr('title'));
+ $this.removeAttr('title');
+ });
+ }
+
if ( jQuery( '.post_container .posts .post .entry a' ).length ) {
+ jQuery('.post_container .posts .post .entry a').each( function() {
+ var $this = jQuery(this);
+ $this.data('title', $this.attr('title'));
+ $this.removeAttr('title');
+ });
+ }
+
+
+ /*if ( jQuery( '.post_container .posts .post .entry a' ).length ) {
jQuery('.post_container .posts .post .entry a').each( function() {
var $this = jQuery(this);
$this.data('title',$this.attr('title'));
@@ -30,7 +52,7 @@ jQuery(document).ready(function() {
var $title = $this.data('title');
$this.attr('title', $title);
});
- }
+ }*/
diff --git a/src/wp-content/themes/originalhouse/loop-tcp-grid.php b/src/wp-content/themes/originalhouse/loop-tcp-grid.php
index 0841a63..de771e4 100644
--- a/src/wp-content/themes/originalhouse/loop-tcp-grid.php
+++ b/src/wp-content/themes/originalhouse/loop-tcp-grid.php
@@ -26,7 +26,7 @@
?>
-
+
@@ -67,23 +67,33 @@ while ( have_posts() ) :
';
+ $description .= $content;
+ }
if (has_post_thumbnail()) {
+ $attr = array('alt' => $description,
+ 'title' => the_title_attribute('echo=0'));
$large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full');
?>
-
+
-
+