Connect with us

Themes

Fixing plugins not compatible with hybrid 0.4.2

Published

on

Hey everyone, as you may have noticed I have a running on the site. While everything almost everything moved over smoothly, there was an issue with how my parent theme striped text in typography. This caused some plugins, like cformsII to not be allowed to print to the screen. Justin had helped to find a fix to filter the hybrid_typography function.

Originally this function filtered out and changed some text that would not validate as XHTML. This had to be removed by running a new function in the child theme’s function.php file.

add_action('init', 'remove_typography');

function remove_typography() {
	remove_filter('the_content', 'hybrid_typography', 11);
}

Themes

Jon Asked: How to add thumbnails above post on the THiCK theme

Published

on

I was asked by a reader:

I’m using the THiCK theme for my new design blog. I noticed you were able to add thumbnail images above your blog posts on the home page. What would I need to do to enable this on my blog?

Well Jon, this can be done very simple, since the theme is already using the Tim Thumb script.

What you will need to do is find in your index.php file, the second loop. Which you can find on line 40.

<?php query_posts('offset=1&showposts=' . get_option('woo_other_entries') . '&cat=-' . $GLOBALS['ex_asides'] ); ?>

<?php while (have_posts()) : the_post(); ?>	

	<div class="post">
		<h2><a title="Permanent Link to <?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
		<div class="post-meta"><?php the_time('j/m/y'); ?> <span>|</span> <?php comments_popup_link('0 Comments', '1 Comment', '% Comments'); ?></div>
		<?php the_excerpt(); ?>
	</div>

<?php endwhile; ?>

Now we are going to add in the code. At line 43 we are going to add:

<?php if (get_option('woo_resize')) { // Check if we should use the image resizer ?>
                    <a title="Continue reading this entry..." href="<?php the_permalink() ?>" rel="bookmark"><img src="<?php echo bloginfo('template_url'); ?>/thumb.php?src=<?php echo get_post_meta($post->ID, "image", $single = true); ?>&amp;h=80&amp;w=280&amp;zc=1&amp;q=90" alt="<?php the_title(); ?>" /></a>
                <?php } else { ?>
                    <a title="Continue reading this entry..." href="<?php the_permalink() ?>" rel="bookmark"><img src="<?php echo get_post_meta($post->ID, "image", $single = true); ?>" alt="<?php the_title(); ?>" /></a>
                <?php } ?>

That’s it, just make sure that in the THiCK options panel you choose the “resize” option, or the image might break the layout. Or you may change the this code: $post->ID, "image", to: $post->ID, "image_thumb", and use a separate image for the lower blog.

Continue Reading

Themes

Mimbo 3.0

Published

on

I was just looking around and saw that Darren Hoyt has released Mimbo 3.0. If your looking for a nice free theme, head over to Darren’s site.

You can also use this link to see a live demo.

Continue Reading

Premium

Revolution Two: TV Theme

Published

on

Benefits include the TV theme, unlimited theme support answered by our experts, customization techniques with our detailed theme tutorials and professional design services available by our list of recommended designers.

Revolution 2: TV Theme

Price:

Single License: $59.95 Buy Now!
Pro Plus All-Theme Package: $199.95 Buy Now!

Continue Reading

Random Search Terms

Title

Recent Posts: Fully Net Worth . com

Kellen Winslow Jr Net Worth: How Rich is the NFL Player Actually?

Kellen Winslow Jr Net Worth: How Rich is the NFL Player Actually?

Kellen Winslow Jr is a former professional football player who played a tight end in the National Football League. Winslow Jr. has played for Tampa Bay Buccaneers, New England Patriots, and New York Jets during his time at NFL. As of 2019, Kellen Winslow Jr net worth is estimated to be $12 million. Winslow was […]

Brother Nature Net Worth: How Rich is Kelvin Pena Actually?

Brother Nature Net Worth: How Rich is Kelvin Pena Actually?

Kelvin Pena who is known by his Internet name as ‘Brother Nature’ is an American Internet superstar best known for his funny and comedic videos. As of 2019, Brother Nature net worth is estimated to be $700,000. Pena was born on August 11, 1998, in New York to a Dominican father and a Puerto Rican […]

Iann Dior Net Worth: How Rich is the Emerging Rapper Now?

Iann Dior Net Worth: How Rich is the Emerging Rapper Now?

Michael Ian Olmo, who is better known by his stage name as Iann Dior, is a Puerto Rican rapper and songwriter. He is best known for his songs “Emotions” and “Gone Girl” which have received millions of views worldwide. Iann Dior net worth as of 2019 is estimated to be $300,000. Dior was born on […]

Summit1g Net Worth: How Rich is the Twitch Streamer Actually?

Summit1g Net Worth: How Rich is the Twitch Streamer Actually?

Jaryd Russell Lazar, who is better known by his online persona as Summit1g, is an American Twitch streamer. Formerly, he was a Counter-Strike: Global Offensive player who represented teams such as A51 and Team Mythic in different competitions. As of 2019, Summit1g net worth is estimated to be massive $8 million. Yet, later on, he […]

Trending