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



WORDPRESS HACK: AUTOMATICALLY INSERT AUTHOR BIO ON EACH POST

Open your functions.php record as well as pulp a following code.

See a strange post here:
WordPress hack: Automatically insert writer bio on any post


Get Auto Caffeinated Content for Your WordPress Blog



DISPLAY REGISTERED USERS COMMENT COUNT ON YOUR WORDPRESS BLOG

Simply pulp a following formula where you’d similar to a equate to be displayed. Re-arrange a formula as desired. <?php tellurian $wpdb; $where = ‘WHERE comment_approved = 1 AND user_id <> 0′; $comment_counts = (array) $wpdb->get_results(" SELECT user_id, COUNT( * ) AS sum FROM {$wpdb->comments} {$where} GROUP BY user_id ", object); foreach ( $comment_counts as $count ) { $user = get_userdata($count->user_id); relate ‘User ‘

Original post:
Display purebred users criticism equate on your WordPress blog


Get Auto Caffeinated Content for Your WordPress Blog



WORDPRESS TRICK: FUNCTION TO GET TAGS RELATED TO CATEGORY

First, here is a duty we have to pulp in your function.php file: duty get_category_tags($args) { tellurian $wpdb; $tags = $wpdb->get_results (" SELECT DISTINCT terms2.term_id as tag_id, terms2.name as tag_name, nothing as tag_link FROM wp_posts as p1 LEFT JOIN wp_term_relationships as r1 ON p1.ID = r1.object_ID LEFT JOIN wp_term_taxonomy as t1 ON r1.term_taxonomy_id = t1.term_taxonomy_id LEFT JOIN wp_terms as terms1 ON t1.term_id = terms1.term_id, wp_posts as p2 LEFT JOIN wp_term_relationships as r2 ON p2.ID = r2.object_ID LEFT JOIN wp_term_taxonomy as t2 ON r2.term_taxonomy_id = t2.term_taxonomy_id LEFT JOIN wp_terms as terms2 ON t2.term_id = terms2.term_id WHERE t1.taxonomy = ‘category’ AND p1.post_status = ‘publish’ AND terms1.term_id IN (".$args['categories'].") AND t2.taxonomy = ‘post_tag’ AND p2.post_status = ‘publish’ AND p1.ID = p2.ID ORDER by tag_name "); $count = 0; foreach ($tags as $tag) { $tags[$count]->tag_link = get_tag_link($tag->tag_id); $count++; } lapse $tags; } Once we have pasted a function, we can make use of it in your theme: $args = array(’categories’ => ‘12,13,14′); $tags = get_category_tags($args); Credits: WordPress Codex Looking for WordPress hosting? Try WP Web Host .

Original post: 
WordPress trick: duty to get tags associated to category


Get Auto Caffeinated Content for Your WordPress Blog



WORDPRESS TIP: SAY GOODBYE TO PINGBACKS

First of it all, login to your phpmyadmin as well as name your WordPress database. Once done, click on a sql symbol to open a sql authority window. Paste a following sql authority in a sql window: UPDATE `wp_posts` SET ping_status=”closed”; That’s all! Now, pingbacks will not worry we anymore! Thanks to Ozh for this simple, though really engaging tip

5a615f3fb9wordpress-phpmyadmin-150x44 WordPress tip: Say goodbye to pingbacks

More here:
WordPress tip: Say goodbye to pingbacks


Get Auto Caffeinated Content for Your WordPress Blog



ALLOW TITLE OVERWRITE ON YOUR WORDPRESS BLOG

Nothing tough with this recipe: Simply pulp th following formula on your single.php as well as page.php , where we wish a post/page pretension to be displayed.

Read a strange post:
Allow pretension overwrite on your WordPress blog


Get Auto Caffeinated Content for Your WordPress Blog



WORDPRESS HACK: CANONICAL LINKS FOR COMMENTS

Simply pulp a following formula on your function.php file: duty canonical_for_comments() { tellurian $cpage, $post; if ( $cpage > 1 ) : relate "n"; relate "<link rel=’canonical’ href=’"; relate get_permalink( $post->ID ); relate "’ />n"; endif; } add_action( ‘wp_head’, ‘canonical_for_comments’ ); Thanks to we similar to WordPress for a utilitarian tip! Looking for WordPress hosting? Try WP Web Host .

Read more: 
WordPress hack: Canonical links for comments


Get Auto Caffeinated Content for Your WordPress Blog



HOW TO INCLUDE JQUERY ON YOUR WORDPRESS THEME

The initial thing you have to know is that WordPress already have JQuery (It is used in a dashboard) so you do not need to download a brand new duplicate of JQuery to your WordPress server. Then, you only have to make use of a wp_enqueue_script() function, that automatically enqueue a Javascript record in your thesis header

Read more:
How to embody JQuery on your WordPress theme


Get Auto Caffeinated Content for Your WordPress Blog



GET TAGS SPECIFIC TO A PARTICULAR CATEGORY ON YOUR WORDPRESS BLOG

Just pulp this formula wherever we need to arrangement a list of tags which have been specific to a sold category. Don’t dont think about to reinstate a difficulty name on line 2.

View strange post here:
Get tags specific to a sold difficulty on your WordPress blog


Get Auto Caffeinated Content for Your WordPress Blog



LIST ALL HOOKED WORDPRESS FUNCTIONS

The initial thing to do is to pulp a following duty in your functions.php file: duty list_hooked_functions($tag=false){ tellurian $wp_filter; if ($tag) { $hook[$tag]=$wp_filter[$tag]; if (!is_array($hook[$tag])) { trigger_error("Nothing found for ‘$tag’ hook", E_USER_WARNING); return; } } else { $hook=$wp_filter; ksort($hook); } relate ‘<pre>’; foreach($hook as $tag => $priority){ relate "<br />&gt;&gt;&gt;&gt;&gt;t<strong>$tag</strong><br />"; ksort($priority); foreach($priority as $priority => $function){ relate $priority; foreach($function as $name => $properties) relate "t$name<br />"; } } relate ‘</pre>’; return; } Once done, simply call a list_hooked_functions() duty to imitation on a shade all bending WordPress functions. Please note which this duty is for debugging purposes only. list_hooked_functions() Thanks to Rarst for contributing to WpRecipes with this really utilitarian function! If you’d similar to to minister to WpRecipes, do not demur to hit me .

Read some-more from a strange source:
List all bending WordPress functions


Get Auto Caffeinated Content for Your WordPress Blog

Pages