Make text bigger  Make text smaller  Toggle background color  Bookmark/Share


WORDPRESS UPGRADE : ALLOW MORE TIME FOR SLOW SERVERS

To request this hack, you’ll have to revise a single of WordPress core files.

Original post: 
WordPress ascent : Allow some-more time for delayed servers


Get Auto Caffeinated Content for Your WordPress Blog



HELP US OUT WITH SOME FEEDBACK?

feedback2 Help Us Out With Some FeedBack?

It’s been a whilst given we final asked for a little feedback about who we have been as good as what we consider of a site. If we could gangling dual mins to answer a polls below, it would unequivocally assistance us have Pro Blog Design even better!

There is additionally a prerogative for any a single responding a subject at a end! Absar from ShopHTML is charity 20% off their PSD to HTML services to any a single who does!

On tip of that, we will select a single pointless leader from a list and give them a giveaway pattern review, published here on Pro Blog Design. That equates to we get all a feedback on your website of course, though additionally a great bit of broadside as well!

Poll Questions

Are we a…(answers)

Which topics would we similar to to see some-more of here?(polling)

Would we similar to to see alternative sorts of updates here?(surveys)

Competition Question

ShopHTML to PSD to xHTML conversions, though additionally to systems similar to WordPress as well. To embrace 20% off your subsequent shopHTML order, all we have to do is answer a following question:

“If we could shift a single thing about Pro Blog Design, what would it be?”

Leave your answer in a comment on this post, as good as Absar will get email we shortly with your bonus code! (If you’d rsther than not, only contend in a criticism as good as we won’t pass on a email address).

You’ll additionally be entered in the competition to have your site reviewed here on Pro Blog Design. One leader will get a full pattern critique published here.

Thank we for receiving a time to answer a polls as good as a question. We unequivocally conclude it as good as you’re helping us to set up a most improved website!

 Help Us Out With Some FeedBack?

f6696d95fafeedback2-150x38 Help Us Out With Some FeedBack?

Original post:
Help Us Out With Some FeedBack?


Get Auto Caffeinated Content for Your WordPress Blog



25 HAND PICKED BEST JQUERY BASED WORDPRESS PLUGINS

In this post you’ll find out about extraordinary WordPress plugins formed on jQuery UI. jQuery is a quick as well as obvious JavaScript Library which simplifies HTML request traversing, eventuality handling, animating, as well as Ajax interactions for fast web development

Continued here: 
25 Hand Picked Best jQuery formed Wordpress Plugins


Get Auto Caffeinated Content for Your WordPress Blog



EASIER AND BETTER SOLUTIONS TO GET PICTURES ON YOUR POSTS

WordPress creates it flattering easy to upload design on posts as well as pages. Thereby have been assorted interpretation stored, that can be used.
Again as well as again, we can review tutorials on how to pierce photos to posts, routinely this is a fortitude around a law fields. But there is a opposite as well as simpler solution, we think. The upkeep of law fields is not regularly necessary.
Therefore, we would identical to to uncover a little solutions that are, in my opinion, most improved as well as can be stretched in most ways.

With law fields

In a initial case, a fortitude regulating a law margin to be displayed, whilst a interpretation contingency be confirmed in this margin to a key.

In chronicle 1 we store a worth of a authors to a pass author link, so it’s easy to assimilate a have make make make make make use of of of of of of of a fields. More report about this can be found in a Codex.

Version 1

wp-cf Easier And Better Solutions To Get Pictures On Your Posts
The outlay of a pass is handed over by regulating a template tab get_post_meta(). The duty expects a Id of a post as well as a pass worth as a mandatory, or otherwise we can set if a worth or arrays have been allowed. Put on true as well as it earnings usually a string

/**
 * @param int $post_id Post ID.
 * @param fibre $key The meta pass to retrieve.
 * @param bool $single Whether to lapse a singular value.
 * @return churned Will be an form if $single is false. Will be worth of meta interpretation margin if $single
 *  is true.
 */
function get_post_meta($post_id, $key, $single = false)
<?php $key = 'authorlink'; ?>
<p>Photo of <a href="<?php echo get_post_meta($post->ID, $key, true);?>"></a>.</p>

The subsequent step is fundamentally no different, solely that we right away put a residence in a worth to an additional key, where a design is. This requires a writer to know residence as well as save a URL.
wp-cf2 Easier And Better Solutions To Get Pictures On Your Posts

In chronicle 2, however, we go a single step serve as well as put a duty in to a functions.php, that takes caring of it as well as afterwards we can feed it with data. Again, this is usually an e.g. as well as needs in this chronicle a pass of a law fields, a breadth as well as tallness of a images. These 3 representation values, we afterwards write in a tab to outlay a image.

Version 2

/*Custom Field Images*/
function image_attachment($key, $width, $height) {
	global $post;
 
	$custom_field = get_post_meta($post->ID, $key, true);
	if ($custom_field) {
		echo '<img src="' . $custom_field . '" alt="Post Image" width="' . $width . '" height="' . $height . '" />';
	} else {
		return;
	}
}

The outlay of a template is dynamic by a on top of duty as follows.

<?php
$image_key = 'image';
$myimage = get_post_meta($post->ID, $image_key, true);
if ($myimage) { ?>
	<div class="post-image">
		<?php image_attachment($image_key, 512, 200); ?>
	</div>
<?php } ?>

This unequivocally can have a little pleasing things. Many thesis authors would identical to to usually have a design to a post, that is but delay taken at assorted points. Often this is completed by a on top of solution. However, this requires that a authors need to know a law fields as well as say them, so a pass of a law margin as well as URL to a image.

Not unequivocally comfortable, so we wish to uncover a solution, how we can get a design that was uploaded to a post, that can be found in a Gallery of a post.

wp-images Easier And Better Solutions To Get Pictures On Your Posts

WordPress own functions for images

One of a most options is wp_get_attachment_image(), that represents in my view, a simplest solution. Here is an e.g. of what explains it in some-more detail.

At initial we usually get all pictures, not all a attachments of a posts that has been uploaded but delay to a post. These images, we can but delay display. The syntax contingency regularly be in a loop.

<?php
$attachments = get_children( array('post_parent' => get_the_ID(), 'post_type' => 'attachment', 'post_mime_type' => 'image') );
foreach ( $attachments as $attachment_id => $attachment ) {
	echo wp_get_attachment_image($attachment_id);
} ?>

The on top of e.g. loads around a double behind all images as well as arrangement them. We do not take caring about a tangible distance of a image, in default it will arrangement a thumbnail. By environment post_mime_type = image, it usually fetches images as well as not pick attachments of a post.
The duty of WordPress, that outputs a design with HTML, requieres a ID of a attachment, so we have to collect a ID to a post beforehand, we’ll do with get_children().

A couple of difference right away to duty wp_get_attachment_image() of WP to arrangement a images. As already mentioned, there have been multiform functions that all have a identical structure, as well as possibly give behind pick markup or concede pick parameters. For a elementary output, this duty is best. It is additionally described in a Codex.

The duty allows for 3 parameters:

/**
 * Get an HTML img component representing an design attachment
 *
 * @param int $attachment_id Image connection ID.
 * @param fibre $size Optional, default is 'thumbnail'.
 * @param bool $icon Optional, default is false. Whether it is an icon.
 * @return fibre HTML img component or dull fibre on failure.
 */
function wp_get_attachment_image($attachment_id, $size = 'thumbnail', $icon = false)

You get a markup behind for a img-Tag, identical to a following example.

<mg width="150" height="150" src="http://example.com/wp-content/uploads/2009/08/DSC00261-150x150.jpg"; class="attachment-thumbnail2 alt="Image Example" title="Example Image" />

The final of a 3 parameters is not unequivocally engaging in organisation with pictures, given it displays an icon. But a second parameter is there even some-more exciting, since this allows to set a distance of a image. Here we can give possibly a single of a preconfigured sizes, a sizes that we can configure in a settings of WordPress as well as have been combined when we upload regulating a media library. The following options have been available.

  • Default-Values: thumbnail, medium, large oder full
  • Custom sizes around Array: array( width, tallness ) Example: array(100, 100)

If we pass your own values, afterwards WordPress fetches a suitable design in coherence of these values. So if we set, for example, 100×100 as well as a thumbnails have been 150px150px, afterwards these images have been drawn. If we have your own form of 200×200, it will outlay a middle design since a thumbnail is as well small.

<?php
$attachments = get_children( array('post_parent' => get_the_ID(), 'post_type' => 'attachment', 'post_mime_type' =>'image') );
foreach ( $attachments as $attachment_id => $attachment ) {
	echo wp_get_attachment_image( $attachment_id, array(200, 250) );
} ?>

Images with links

Now we will not regularly usually a pictures, though additionally have a design with a couple to a design in strange size. In that box there is a duty wp_get_attachment_link(). Here an example:

<?php
$attachments = get_children( array('post_parent' => get_the_ID(), 'post_type' => 'attachment', 'post_mime_type' =>'image') );
foreach ( $attachments as $attachment_id => $attachment ) {
	echo wp_get_attachment_link( $attachment_id, 'medium' );
} ?>

The HTML looks identical to this.

<a href="http://example.com/wp-content/uploads/2009/08/DSC00261.JPG" title="Example Image"><img src="http://example.com/wp-content/uploads/2009/08/DSC00261-150x150.jpg" class="attachment-thumbnail" alt="Image Example" title="Example Image" height="150" width="150"/></a>

Thus a design in a requested distance is generated, as well as a couple was set to a design in strange size.

Determine distance of a images

Sometimes we wish to know in allege how large is a image. There is a duty that earnings a values as an array. This is an e.g. of a output:

<?php
$attachments = get_children( array('post_parent' => get_the_ID(), 'post_type' => 'attachment', 'post_mime_type' => 'image') );
foreach ( $attachments as $attachment_id => $attachment ) {
	$src = wp_get_attachment_image_src( $attachment_id, 'full' );
	var_dump($src);
} ?>

This elementary double behind to outlay a values earnings an array.

array
  0 => fibre 'http://example.com/wp-content/uploads/2009/08/DSC00261.JPG' (length=63)
  1 => int 1632
  2 => int 1224
  3 => boolean false

The sequence of a form is allocated as follows.

  • $src[0] => url
  • $src[1] => width
  • $src[2] => height
  • $src[3] => icon

Thus, it can conflict to a size, depending on requirements. Alternatively, we can work with a duty image_get_intermediate_size($post_id, $size='thumbnail'), that earnings a little some-more values. A representation of a outlay for ‘medium’:

array
  'file' => fibre 'DSC00261-300x225.jpg' (length=20)
  'width' => fibre '300' (length=3)
  'height' => fibre '225' (length=3)
  'path' => fibre '2009/08/example-300x225.jpg' (length=28)
  'url' => fibre 'http://example.com/wp-content/uploads/2009/08/DSC00261-300x225.jpg' (length=71)

Further functions as well as possibilities

In this context, there have been a couple of pick functions that capacitate a work with attachments or pictures. we do not wish to insist any of them, thus we constribute a tiny double behind for contrast purposes. This covers most possibilities as well as have been self explanatory, we think.

<?php
$attachments = get_children( array('post_parent' => get_the_ID(), 'post_type' => 'attachment', 'post_mime_type' => 'image') );
foreach ( $attachments as $attachment_id => $attachment ) {
	echo '<p>';
	echo 'wp_get_attachment_image: ' . wp_get_attachment_image( $attachment_id, array(200,250) ) . '<br />';
	echo 'wp_get_attachment_link: ' . wp_get_attachment_link( $attachment_id ) . '<br />';
	echo 'wp_get_attachment_url: ' . wp_get_attachment_url( $attachment_id ) . '<br />';
	echo 'wp_get_attachment_thumb_url: ' . wp_get_attachment_thumb_url( $attachment_id ) . '<br />';
	echo 'get_attachment_link: ' . get_attachment_link( $attachment_id ) . '<br />';
	$src = image_get_intermediate_size( $attachment_id, 'medium'	 );
	echo 'image_get_intermediate_size. '; var_dump($src); echo '<br />';
	$src = wp_get_attachment_image_src( $attachment_id, 'full', true );
	echo 'wp_get_attachment_image_src. '; var_dump($src); echo '<br />';
	echo 'Title of attachment: ' . apply_filters( 'the_title', $attachment->post_title ) . '<br />';
	echo 'Link to post: ' . get_permalink($image->post_parent) . '<br />';
	echo '<hr style="clear:both;" /></p>';
} ?>

Remember, a syntax contingency be in a double behind of WordPress.

Only a single design to post

Now we have explained how to get a cinema though in ubiquitous we will substantially not need to post all a pictures, though we wish usually a single picture. This occurs, for example, in repository themes, where a tiny design is displayed to have a post some-more interesting. Through these functions we can give a writer of a particular post a carry out of that picture. Normally we do this in such a approach that it categorically outlay a initial design from a art studio to a post. Thus, a writer can pierce a design in a art studio by boring as well as dropping to a right place.

wp-gallery-reihenfolge Easier And Better Solutions To Get Pictures On Your Posts

This is not an own function, we usually have to feed get_children() accordingly. The outlay of a image, as well as pick values to a design is again as described above.

In a initial e.g. we collect only a initial image from a gallery.

<?php
$attachments = get_children( array(
				'post_parent'    => get_the_ID(),
				'post_type'      => 'attachment',
				'numberposts'    => 1, // uncover all -1
				'post_status'    => 'inherit',
				'post_mime_type' => 'image',
				'order'          => 'ASC',
				'orderby'        => 'menu_order ASC'
				) );
foreach ( $attachments as $attachment_id => $attachment ) {
	echo wp_get_attachment_image( $attachment_id );
} ?&>

Now a writer of a grant can regularly select a initial design of what he wants to use.

Alternatively we can spin a tables as well as get a final design from a Gallery .

<?php
$attachments = get_children( array(
				'post_parent'    => get_the_ID(),
				'post_type'      => 'attachment',
				'numberposts'    => 1, // uncover all -1
				'post_status'    => 'inherit',
				'post_mime_type' => 'image',
				'order'          => 'DESC',
				'orderby'        =>'menu_order ASC'
				) );
foreach ( $attachments as $attachment_id => $attachment ) {
	echo wp_get_attachment_image( $attachment_id );
} ?>

With a assistance of numberposts, we mention how most images have been to be fetched. So we fetch in a following e.g. a first 2 pics as well as after a last 2 pictures.

<?php
$attachments = get_children( array(
				'post_parent'    => get_the_ID(),
				'post_type'      => 'attachment',
				'numberposts'    => 1, // uncover all -1
				'post_status'    => 'inherit',
				'post_mime_type' => 'image',
				'order'          => 'ASC',
				'orderby'        => 'menu_order ASC'
				) );
foreach ( $attachments as $attachment_id => $attachment ) {
	echo wp_get_attachment_image( $attachment_id );
} ?>

Well, a last dual pictures, starting with a final picture.

<?php
$attachments = get_children( array(
				'post_parent'    => get_the_ID(),
				'post_type'      => 'attachment',
				'numberposts'    => 2, // uncover all -1
				'post_status'    => 'inherit',
				'post_mime_type' => 'image',
				'order'          => 'DESC',
				'orderby'        => 'menu_order ASC'
				) );
foreach ( $attachments as $attachment_id => $attachment ) {
	echo wp_get_attachment_image( $attachment_id );
} ?>

Meta-Data of images

WordPress saves assorted meta interpretation to a images. Now as well as afterwards these have been unequivocally useful, as well as because not simply have make make make make make use of of of of of of them.

First an e.g. to get to a data. This we do with a duty wp_get_attachment_metadata(). This duty earnings utterly a lot of interpretation as well as we can entrance a distance of images, their trail as well as additionally entrance a meta data.

<?php
$attachments = get_children( array(
				'post_parent'    => get_the_ID(),
				'post_type'      => 'attachment',
				'numberposts'    => 1, // uncover all -1
				'post_status'    => 'inherit',
				'post_mime_type' => 'image',
				'order'          => 'ASC',
				'orderby'        => 'menu_order ASC'
				) );
foreach ( $attachments as $attachment_id =>; $attachment ) {
	echo wp_get_attachment_image( $attachment_id );
	$imagemeta = wp_get_attachment_metadata( $attachment_id );
	var_dump($imagemeta); // list values in array
 
	$aperture          = $imagemeta['image_meta']['aperture'];
	$credit            = $imagemeta['image_meta']['credit'];
	$camera            = $imagemeta['image_meta']['camera'];
	$caption           = $imagemeta['image_meta']['caption'];
	$created_timestamp = $imagemeta['image_meta']['created_timestamp'];
	$copyright         = $imagemeta['image_meta']['copyright'];
	$focal_length      = $imagemeta['image_meta']['focal_length'];
	$iso               = $imagemeta['image_meta']['iso'];
	$shutter_speed     = $imagemeta['image_meta']['shutter_speed'];
	$title             = $imagemeta['image_meta']['title'];
} ?>

In a on top of formula is a outlay worth of a var_dump() in it. Thus we see unequivocally fast that calm in a form exists as well as where they can be accessed.
All values of a meta data, we have combined in any variable, so that even reduction gifted users should assimilate it.

For a elementary picture, of what would be combined around dungeon phone camera, for example, a form looks identical to this.

array
  'width' => fibre '1632' (length=4)
  'height' => fibre '1224' (length=4)
  'hwstring_small' => fibre 'height='96' width='128'' (length=23)
  'file' => fibre '2009/08/DSC00261.JPG' (length=20)
  'sizes' =>
    array
      'thumbnail' =>
        array
          'file' => fibre 'DSC00261-150x150.jpg' (length=20)
          'width' => fibre '150' (length=3)
          'height' => fibre '150' (length=3)
      'medium' =>
        array
          'file' => fibre 'DSC00261-300x225.jpg' (length=20)
          'width' => fibre '300' (length=3)
          'height' => fibre '225' (length=3)
      'large' =>
        array
          'file' => fibre 'DSC00261-1024x768.jpg' (length=21)
          'width' => fibre '1024' (length=4)
          'height' => fibre '768' (length=3)
  'image_meta' =>
    array
      'aperture' => fibre '2.8' (length=3)
      'credit' => fibre '' (length=0)
      'camera' => fibre 'W800i' (length=5)
      'caption' => fibre '' (length=0)
      'created_timestamp' => fibre '1184253323' (length=10)
      'copyright' => fibre '' (length=0)
      'focal_length' => fibre '0' (length=1)
      'iso' => fibre '100' (length=3)
      'shutter_speed' => fibre '0.0166666666667' (length=15)
      'title' => fibre '' (length=0)

Alternative in WordPress 2.9

Using WordPress chronicle 2.9, there is a template tab usually for this request, so it is simpler as well as some-more understandable. You usually have make make make make make use of of of of of of a the_post_image() as well as we can set a size. Default is thumbnail, it is probable thumbnail, medium, large or full.

the_post_image(); // but parameter -> Thumbnail
the_post_image('thumbnail'); // Thumbnail
the_post_image('medium'); // Medium fortitude - have make make make make make use of of of of of of full,

As a tiny pick is still get_the_post_image() available, since a duty doesn’t have echo, as well as can optionally have a ID of a post.
get_the_post_image( $size = 'thumbnail', $post_id = NULL )

Conclusion

WordPress offers a lot of opposite functions to entrance attachments, either cinema or pick files. Also a partial of meta-data is stored, that can be used. Many approaches can be found in a code, essentially in a wp-includes/media.php. Perhaps we could indicate out a little solutions that in my perspective a improved pick than a have make make make make make use of of of of of of of law fields, or even scanning a content.

d309189dfdwp-cf-150x69 Easier And Better Solutions To Get Pictures On Your Posts

Excerpt from: 
Easier And Better Solutions To Get Pictures On Your Posts


Get Auto Caffeinated Content for Your WordPress Blog



WORDPRESS TIP: CREATE A TWEETMEME “RETWEEET” SHORTCODE

Paste a following formula in your functions.php record in sequence to emanate a shortcode: duty tweetmeme(){ lapse ‘<div class="tweetmeme"><script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script></div>’; } add_shortcode(’tweet’, ‘tweetmeme’); Once done, we can arrangement a Tweetmeme “retweet” symbol anywhere on your posts. In WordPress editor, have certain we have been in HTML mode as well as insert a following: [tweet] When your post will be published, a shortcode will be transposed by a TweetMeme button. Looking for WordPress hosting

Read some-more from a strange source:
WordPress tip: Create a Tweetmeme “Retweeet” shortcode


Get Auto Caffeinated Content for Your WordPress Blog



NEW FEATURE IN WORDPRESS 2.9 – THE_POST_IMAGE()

In WordPress 2.9, there will be a capability to supplement an design to a post, as it’s been well known of repository themes. The design need not be insert in to a post. With a brand brand brand brand brand new underline the_post_image() we can make make use of of a brand brand brand brand brand new underline as well as to illustrate carry out where to display.

The dual screenshots uncover a brand brand brand brand brand new post thumbnail dialog when formulating a brand brand brand brand brand new article. Here we set a picture.

New Dialog Post Thumbnail

Post Thumbnail Dialog

In a template we can make make use of of a duty the_post_image() to place a image. Here’s an example:

<div class="entry">
    <?php the_post_image(); ?>
    <?php the_content('Read a rest of this entrance &raquo;'); ?>
</div>

You can additionally establish what fortitude we wish to display.

the_post_image(); // but parameter -> Thumbnail
the_post_image('thumbnail'); // Thumbnail
the_post_image('medium'); // Medium resolution

Unfortunately, a developers haven’t implemented a approach to enter into a design with a classes alignleft, alignright as well as aligncenter. And this is how it looks similar to with a default thesis of Wordpress:

Example of a brand brand brand brand brand new duty the_post_image

d3b385cb09post-thumbnail-small-150x37 New feature in WordPress 2.9 – the_post_image()

Original post:
New underline in WordPress 2.9 – the_post_image()


Get Auto Caffeinated Content for Your WordPress Blog



AUTOMATIC WORDPRESS THUMBNAIL WITHOUT CUSTOM FIELD

thumbnail-preview Automatic Wordpress Thumbnail Without Custom Field

Let’s contend we wish to uncover thumbnails in your blog’s front page. A lot of blogs do which right away as well as it’s a great approach of creation a page demeanour some-more alive.

The usually complaint yet is which regulating law fields can be complicated as well as time-wasting. This post will uncover we how to have your thesis beget thumbnails automatically, formed on your post’s initial image.

This pretence is finished by blending a little wordpress hacks as well as a php script. The PHP book is Darren Hoyt’s timthumb.php, a penetrate is WpRecipe’s how to get a initial post image.

Together, they’ll squeeze your picture as well as resize it for you! Let’s get started.

1 – Get a TimThumb.php Script

Get a timthumb.php book as well as place it on your thesis directory. You can possibly download it, or emanate a vacant timthumb.php record on your thesis directory, open the book here, copy, pulp it in to your timthumb.php file, afterwards save it.

2 – Edit Functions.php

Open your theme’s functions.php record (Or emanate a record with which name if it doesn’t have one), afterwards pulp a formula next in to it. This will collect a URL for a initial picture in your post. The formula created here is formed on WpRecipe’s strange post.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
// retreives picture from a post
function getImage($num) {
global $more;
$more = 1;
$content = get_the_content();
$count = substr_count($content, '<img');
$start = 0;
for($i=1;$i<=$count;$i++) {
$imgBeg = strpos($content, '<img', $start);
$post = substr($content, $imgBeg);
$imgEnd = strpos($post, '>');
$postOutput = substr($post, 0, $imgEnd+1);
$image[$i] = $postOutput;
$start=$imgEnd+1;
 
$cleanF = strpos($image[$num],'src="')+5;
$cleanB = strpos($image[$num],'"',$cleanF)-$cleanF;
$imgThumb = substr($image[$num],$cleanF,$cleanB);
 
}
if(stristr($image[$num],'<img')) { echo $imgThumb; }
$more = 0;
}
//retreive picture ends
?>

3 – The Thumbnail Code

This is a thumbnail code. This formula has to be created inside the_loop. Since a many usual make use of of thumbnail is to be shown next to a excerpt, in this educational we’ll pulp this formula on top of the_excerpt(); or the_content(); in index.php or home.php file.

1
2
3
4
5
<div class="thumbnail">
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
<img src="<?php bloginfo('template_directory'); ?>/timthumb.php?src=<?php getImage('1'); ?>&w=150&h=150&zc=1">
</a>
</div>

The formula on top of will emanate a 150×150 pixel thumbnail. If we wish to shift a distance of a thumbnail, only shift a ‘w’ as well as ‘h’ parameters. For some-more info, review a timthumb post here.

4 – Add a little CSS Rules

You can character a thumbnail in any approach we like, for example, we competence supplement a following to your style.css file:

1
2
.thumbnail a:link, .thumbnail a:visited {display:block; float:left; padding:5px; background:#e2e2e2; width:150px; height:150px; margin:5px 5px 0 0;}
.thumbnail a:hover, .thumbnail a:active {background:#C4C4C4;}

And a outcome would be something similar to this:

thumbnail-result Automatic Wordpress Thumbnail Without Custom Field

No some-more law fields, no some-more uploading images quite for a thumbnails, no some-more pain. What do we think? Is a time saved value it, or do we cite to qualification your thumbnails some-more carefully?

 Automatic Wordpress Thumbnail Without Custom Field

2716828379thumbnail-preview-150x38 Automatic Wordpress Thumbnail Without Custom Field

Read some-more from a strange source:
Automatic Wordpress Thumbnail Without Custom Field


Get Auto Caffeinated Content for Your WordPress Blog



13 GREAT WORDPRESS PLUGINS TO POWER UP YOUR ADMIN AREA

intro 13 Great Wordpress Plugins To Power Up Your Admin Area

Wordpress plugins have been a great approach to raise as well as optimize your blog. In serve to adding some-more facilities to your tangible blog, there have been additionally a lot of plugins which can give we some-more carry out as well as power over a wordpress admin area.

Using these plugins we can do all from stealing nonessential elements to customizing a demeanour of your admin area.

1. Admin Management Extended:

Traditionally, we would have to open a page/post to revise any properties. This plugin adds sure icons to a Manage post/page perspective so we can make changes though carrying to open a revise screen. You can shift post/page title, revise post knock as well as shift announcement date with a tidy pop-out calendar.

adminextended 13 Great Wordpress Plugins To Power Up Your Admin Area

This plugin additionally allows we to toggle post/page visibility, toggle criticism standing open/close, becoming opposite page sequence with draw towards as well as drop, inline difficulty as well as tab management, stealing breeze posts as well as a lot of alternative functions which would differently need we to go by a series of hierarchical clicks.

Download this plugin here.

2. Pop Menus For WP Admin:

How would we identical to pop-up menus for all a Wordpress admin features? You can get them with this plugin as well as speed up your admin area navigation. It adds a pop-up sub-menu to a categorical WP menu equipment in your left sidebar as well as functions even when a menu is collapsed. So, no need to fall or censor a menu equipment any some-more to save space given a plugin takes caring of which automatically.

This plugin is formed on jQuery as well as CSS as well as can be downloaded here.

Pop-Menus 13 Great Wordpress Plugins To Power Up Your Admin Area

3. Ozh Admin Drop Down Menu:

This plugin creates we super prolific by bringing all a admin links to a tidy drop down menu. No need to go by mixed hierarchies any more, right away we can burst to any admin page by selecting it from a CSS driven dump down menu.

In serve to smoother navigation, this plugin additionally saves we a lot of shade genuine state as well as creates your admin area simpler. You can serve customize this plugin by switching on/off a header, selecting a tone scheme,  display/hide icons in a dump down menus as well as a series of alternative tweaks which would let we emanate a compress admin area.

Download this plugin here.

ozhdropdown 13 Great Wordpress Plugins To Power Up Your Admin Area

4. Simply Tags:

Get some-more out of tags with this plugin. It allows we to mass edit tags for a vast series of posts, offers an auto-completion underline for entering tags as well as displays discerning tags which we can click to select. The plugin additionally offers an auto-tagging underline where a little tags have been automatically entered formed on a keywords in your post.

simpletags1 13 Great Wordpress Plugins To Power Up Your Admin Area

This plugin is specifically utilitarian if we wish to add, rename or undo tags from a vast series of posts. Imagine renaming a tab in hundreds of posts though this plugin, it would literally take hours. Whereas, with Simple Tags it takes reduction than a minute.

Download it here.

simpletags2 13 Great Wordpress Plugins To Power Up Your Admin Area

5. Pre-publish Reminders:

A elementary plugin which displays sign equipment we should cruise prior to publishing. You can put a check-box opposite any object as well as check it off as we complete. These reminders have been displayed on a write post page. Specially utilitarian if we have been regulating a multi-author blog as well as people lend towards to dont think about a singular thing or another. Moreover, we can additionally customize a content tone as well as credentials to have a reminders some-more prominent. All these settings can be rubbed from an administration department row underneath a Manage Posts section.

Download this plugin here.

prepublish 13 Great Wordpress Plugins To Power Up Your Admin Area

6. Wordpress Tweaks Plugin:

A elementary nonetheless absolute plugin to carry out a admin area of your blog. Offers assorted tweaks together with branch off auto-complete for tags, disabling peep uploader, disabling self-pinging , disabling a dashboard as well as environment assorted SEO as well as confidence options to serve optimize your blog . You can additionally have make make use of of of a plugin to carry out a nofollow options for your blog.

Download this plugin here.

wptweaks 13 Great Wordpress Plugins To Power Up Your Admin Area

7. Adminimize:

Adminize lets we get some-more out of a admin area by visually compressing as well as stealing many items. You can censor nonessential equipment from a categorical menu, a underling menu as well as even a dashboard. You can pierce a dashboard to a menu or even mislay it utterly from a back-end. Different settings can be comparison for opposite users formed on a requirements. All submit fields can be corkscrew so we don’t need to have them bigger. The plugin additionally offers assorted facilities for tweaking a write page, a media, links and even a plugins.

It is substantially a singular of a many extensive admin area plugins which give we finish carry out over your blog settings.

You can download this plugin here.

Adminimize 13 Great Wordpress Plugins To Power Up Your Admin Area

8. Wordpress Admin Bar:

Gives we an admin club identical to Wordpress.com. You can entrance a admin facilities of your blog though starting to a dashboard. Simply entrance a preferred underline from any page of your blog, as prolonged as we have been logged in as a admin. You can arrangement or censor any of a menu options to have it some-more productive.

You can get a Admin Bar plugin here.

adminbar 13 Great Wordpress Plugins To Power Up Your Admin Area

9. Easy Admin Color Schemes:

Customize a colors of your admin interface with this plugin. You can switch in between assorted tone schemes though modifying a singular line of CSS. You can even supplement or import your own tone schemes as well as a plugin would beget a stylesheet for it. These tone schemes can additionally be previewed, copied as well as exported to have make make use of of of with a opposite blog.

While formulating a tone scheme, all we have to do is select 4 first colors from a tone draft as well as a CSS would be edited accordingly. If we identical to an existent intrigue though wish to shift a integrate of colors, we can do so by editing a intrigue as well as selecting brand brand brand new colors.

Download this plugin here.

colorscheme 13 Great Wordpress Plugins To Power Up Your Admin Area

10. Wordpress Admin Quick Menu:

This plugin adds discerning menu equipment to your wordpress sidebar. Using this, we can entrance outmost pages identical to analytics as well as selling carts from inside of your admin area. It functions by adding a brand brand brand new menu to a left side of your carry out row where we can supplement links to assorted inner as well as outmost pages.

quickmenu 13 Great Wordpress Plugins To Power Up Your Admin Area

To supplement brand brand brand new item, we simply need to yield a URL of a webpage as well as give it a menu title. You can additionally regulate a confidence turn of any menu choice for opposite user-roles.

quickmenu2 13 Great Wordpress Plugins To Power Up Your Admin Area

Download it here.

11. Admin Expert Mode:

Are we sleepy of a inline support enclosed on a admin pages? If we have been blogging for a whilst we no longer need paragraphs explaining to we what have been Excerpts or TrackBacks. If we have been informed with all a opposite facilities of wordpress, this plugin can mislay a prolix outline as well as content enclosed with opposite fields.

For example, this is how a write post area customarily looks, with inline descriptions for assorted features.

adminexpert1 13 Great Wordpress Plugins To Power Up Your Admin Area

However, regulating this plugin has private all a descriptions as well as spotless up a space.

adminexpert2 13 Great Wordpress Plugins To Power Up Your Admin AreaIt does NOT mislay margin labels, territory headers or anything containing tangible data. Moreover, after we have activated this plugin, any user contingency go to their form to capacitate consultant mode.

Download this plugin here.

12. Wordpress Admin Notepad:

This plugin creates a elementary notepad in your admin area which we can have make make use of of of to save notes. You can hide/show a notepad with a singular symbol as well as have opposite accede settings for any user role. It is a great apparatus to have if we mostly jot down things associated to your blog.

Download a notepad plugin here.

adminnotepad 13 Great Wordpress Plugins To Power Up Your Admin Area

13. Admin Trim Interface:

This plugin allows we to trim a interface by stealing sure elements. You can mislay opposite elements together with a revisit site button, a dashboard link, a “howdy” greeting, a wordpress chronicle from a footer e.t.c. Each component has to be comparison manually in sequence to be removed. However, all these changes have been tellurian as well as would outcome all users.

Download this plugin here.

admintrim 13 Great Wordpress Plugins To Power Up Your Admin Area

Have we used any plugins on your admin area? What about any of a above?

 13 Great Wordpress Plugins To Power Up Your Admin Area

eafa76912fintro-150x38 13 Great Wordpress Plugins To Power Up Your Admin Area

Read a rest here:
13 Great Wordpress Plugins To Power Up Your Admin Area


Get Auto Caffeinated Content for Your WordPress Blog



FREE WORDPRESS THEME FRAMEWORK: BIBLIOTECA

After redesigning WPShout a integrate of months ago, we motionless to supplement a little modernized facilities to a theme, package it up as good as recover it in to a wild. The result? Biblioteca. It’s a brew in between a repository theme, a tech blog theme, a bloggy thesis as good as a thesis horizon – it looks utterly good out a box though has a plain living room of modernized facilities together with an modernized thesis options page, widgets all over a place, in post SEO options, a lot. The facilities list is as follows:

  • A unsentimental thesis horizon which offers a plain starting indicate for any WordPress theme.
  • Plug as good as fool around – functions out of a box, with an endless options page.
  • Awesome SEO. Everyone talks about their thesis carrying ‘awesome SEO’, though Biblioteca doesn’t only let we hold it, it has options for environment a post pretension as good as description.
  • Featured calm art studio – Biblioteca uses Chris Coyier’s jQuery slider.
  • Extensive options page – graphic below, a options page lets we shift a ton of options, from a breadth of a sidebar to a essence of a footer to a ads in a sidebar to your Analytics tracking code.
  • Magazine demeanour – we wish a whim featured calm gallery? Biblioteca has one. Enable/disable it from a opions page.
  • Tech blog demeanour – we wish a integrate of posts featured next a categorical featured calm gallery? Biblioteca has got a single of them; it’s widgetised too.
  • Bloggy demeanour – we only wish a blog? Biblioteca can do which as well. Just set a options in a options panel.
  • Drop down navigation – Biblioteca has a little rsther than good dump down navigation.
  • A ton of widgets – Biblioteca has an ever expanding series of widget ready areas in all sorts of places which concede we to simply cocktail calm only about anywhere.
  • Fancy footer – a 3 mainstay footer here on WPShout is mostly complimented as good as we as good can have a single – Biblioteca has a single which we can enable/disable from a options page.
  • Auto picture resizing – set an picture to arrangement on a homepage as good as it’ll automatically resize itself.
  • Multiple layouts – by a options row we can shift a layout, carrying a skinny categorical calm area, a somewhat incomparable categorical calm area or an even bigger categorical calm area.
  • The list goes on – only download it as good as see for yourself!

When formulating Biblioteca we longed for to have something which would concede me to fast rise destiny themes, something I’ve done. Whether which creates it a ‘framework’ or not we don’t know. What we do know is which if you’re a engineer seeking to emanate an overwhelming WordPress thesis though we don’t wish to begin from scratch, we could do worse than bottom your thesis on Biblioteca. If you’re not a developer, afterwards by no equates to have been we alienated from regulating Biblioteca; a modernized thesis options as good as in-post SEO options have it a good preference for any blog – take a demeanour at WPShout as good as you’ll see; flattering most all I’ve finished is shift a credentials on a theme.

jehdb7 Free WordPress Theme Framework: Biblioteca

As in suitability with WordPress itself, a thesis is GPL, nonetheless offering ‘as is’ with no giveaway support. You can see a thesis live here as good as squeeze a download it here. Enjoy!

 Free WordPress Theme Framework: Biblioteca

You have been celebration of a mass Free WordPress Theme Framework: Biblioteca © 2009 | WordPress Hacks | WordPress Directory | WordPress Forums | WordPress eBook

Enjoy essay about WordPress? Get your blog some-more bearing by fasten a WordPress Hacks essay team!

 Free WordPress Theme Framework: Biblioteca

4ec6f0c388jehdb7-150x139 Free WordPress Theme Framework: Biblioteca

Here is a strange post: 
Free WordPress Theme Framework: Biblioteca


Get Auto Caffeinated Content for Your WordPress Blog



STYLING DIFFERENT POSTS IN DIFFERENT WAYS WITH POST_CLASS

Leader Post Class

With WordPress 2.7 came a post_class function. This gives a set of CSS classes to a post, depending on what’s in a post (e.g. formed on what difficulty it is in).

The formula which we make make make make make make make use of of of of of of of in your template to make make make make make make make use of of of of of of of this is simply similar to this:

1
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

While this is a illusory duty for becoming opposite a post’s display, a classes which it outputs have been essentially utterly limited. Luckily, we can supplement a own, as well as we can additionally supplement a own energetic classes.

Basically what we meant by this is which by regulating a small additional lines of PHP, we can supplement a own classes in to a post_class duty depending on a small alternative post information.

The default classes which have been outlay are:

  • post-id, where id is a post’s id
  • post type, which by default have been post, page as well as attachment
  • sticky, for posts noted as gummy on a post write panel
  • hentry, for hAtom compliance
  • category-category-name, so if your difficulty was wordpress, it would be category-wordpress
  • tag-tag-name, so if your tab was php, it would be tag-php

NB. This post uses a small functions usually introduced in WordPress 2.8.

Author Styling

A lot of blogs character their authors’ comments otherwise to visitors’ comments, so because not character a single author’s posts otherwise to another’s?

First of all, to get a writer of a post, supplement this line prior to a begin of your loop.

1
<?php $author = get_the_author_meta('display_name'); ?>
  1. This creates a brand new non-static called $author…
  2. And assigns a worth of get_the_author_meta to it, privately a author’s arrangement name.

If we instruct to make make make make make make make use of of of of of of of alternative aspects of a author’s meta, take a demeanour at a get_the_author_meta entrance in a codex.

And afterwards to supplement which as a category to post_class, supplement this line:

1
<?php post_class('box ' . $author); ?>
  1. As an e.g. of a immobile category in as well as with this energetic class, I’ve combined a capricious ‘box’ class.
  2. Note a space prior to a shutting apostrophe; this ensures which there is a space in between it as well as a energetic class.
  3. We concatenate a writer non-static to outlay a name of a writer as a class.

We can right away character any post depending on a author. Just as an example, we’ll shift a limit colour.

1
2
3
4
5
6
.Alex {
border: 1px solid #0066CC;
}
.Martin {
border: 1px dashed #CC0000;
}

Author Post Class

Show Post Popularity with CSS

This is a small some-more complicated, though ultimately, we’re starting to make make make make make make make use of of of of of of of a volume of comments on a post to furnish a opposite category accordingly.

You might instruct to shift these numbers to fit a normal series of comments we get on a post to establish what is some-more popular, though a judgment stays a same.

To get a volume of comments we need to supplement a following code, this time inside a loop.

1
2
3
4
5
6
7
8
9
10
11
12
<?php
	$postid = get_the_ID();
	$total_comment_count = wp_count_comments($postid);
		$my_comment_count = $total_comment_count->approved;
	if ($my_comment_count <10) {
		$my_comment_count = 'new';
	} elseif ($my_comment_count >= 10 && $my_comment_count <20) {
		$my_comment_count = 'ermerging';
	} elseif ($my_comment_count >= 20) {
		$my_comment_count = 'popular';
	}
?>
  1. We emanate a initial non-static as well as set a post’s ID as a value.
  2. Using which non-static we can entrance a criticism equate for which post regulating wp_count_comments, assigning which to an additional variable.
  3. That duty gets all comments, either spam, available mediation or approved, though luckily we can contend to usually get a authorized equate regulating ->approved.
  4. Now we can exam a worth of a $my_comment_count non-static regulating php operators.

Now for any category we have created, we supplement a CSS rule. Because a indicate of this is to uncover an article’s recognition visually, it creates clarity to make make make make make make make use of of of of of of of a small kind of spectrum, I’m regulating yellow to red.

1
2
3
4
5
6
7
8
9
.new {
border: 1px solid #FFFF00;
}
.emerging {
border: 1px dashed #FF9933;
}
.popular {
border: 1px dashed #CC0000;
}

Popularity Post Class

Custom Fields

To get a idealisation carry out over a post’s arrangement we can spin to custom fields.

First of all we supplement a law margin worth as well as pass span to a post:

Custom Field Post Class

So in this case, we supplement dual classes, arrangement my mood when we wrote a post, as well as what a continue was doing. Just to uncover how which can be used, we can supplement a small CSS to uncover a credentials for a weather.

1
2
3
.raining {
background: transparent url('images/raining.jpg') no-repeat right bottom;
}

We can make make make make make make make use of of of of of of of a following formula to get a law field:

1
<?php $custom_values = get_post_meta($post->ID, 'post-class'); ?>

Remembering to supplement a $custom_values non-static to a post_class function.

Custom Field Output Post Class

Taking a thought further

Some alternative ways we can make make make make make make make use of of of of of of of post_class boldly have been with the_time, checking for differences in the_time as well as the_modified_time or even with word count. See what engaging ways we can come up with to shift a post’s arrangement depending on a small of a energetic aspects.

 Styling Different Posts in Different Ways With Post_Class

b9375f06f1leader-post-class-150x38 Styling Different Posts in Different Ways With Post_Class

See a strange post: 
Styling Different Posts in Different Ways With Post_Class


Get Auto Caffeinated Content for Your WordPress Blog

Pages