Read below about related content about view+last+comment+wordpress, You can contact us to improve our contents and site quality

Read below about related content about view+last+comment+wordpress, You can contact us to improve our contents and site quality

Automatically Shorten your Permalink using Bit.ly services

June 5th, 2010 By WP Tricks Posted in Tricks

WordPress Beginner show nicely tutorial about How To Automatically Shorten your Permalink using Bit.ly services. Why we need to shorten our URL? Shorten URL is good to share on many social web, social news, social media and social network such as Twitter, Facebook, Digg and many more..

Shorten your Permalink using Bit.ly - Marie Digby Photo

Shorten your Permalink using Bit.ly - Marie Digby Photo


Read the rest of this entry »

Amazing Touch

How To Save Space on Your WordPress Blog Server

February 13th, 2010 By WP Tricks Posted in Tricks

Right now, many blogger uses WordPress for their Publishing platform, I will give some tips how to save space on your WordPress blog server. We will added little bit php code in our functions.php theme files. This code is Automatically uses resized images instead the originals size.

Write code to Automatically uses resized images insteaad the originals below

function replace_uploaded_image($image_data) {
    // if there is no large image : return
    if (!isset($image_data['sizes']['large'])) return $image_data;

    // paths to the uploaded image and the large image
    $upload_dir = wp_upload_dir();
    $uploaded_image_location = $upload_dir['basedir'] . '/' .$image_data['file'];
    $large_image_location = $upload_dir['path'] . '/'.$image_data['sizes']['large']['file'];

    // delete the uploaded image
    unlink($uploaded_image_location);

    // rename the large image
    rename($large_image_location,$uploaded_image_location);

    // update image metadata and return them
    $image_data['width'] = $image_data['sizes']['large']['width'];
    $image_data['height'] = $image_data['sizes']['large']['height'];
    unset($image_data['sizes']['large']);

    return $image_data;
}
add_filter('wp_generate_attachment_metadata','replace_uploaded_image');

This code is doing automatically, so you didn’t needed any command anymore. Thanks for Serge Rauber for tricks about Save Space in WordPress blog server.

Amazing Touch

The Right Way Highlight Author Comments in WordPress

March 27th, 2010 By WP Tricks Posted in Tricks

This Tricks original written by AEXT.net and we only share and to make it more clearly, especially for me. How To Highlight Author Comments in WordPress in the right way.

Highlight Author Comments in WordPress

Highlight Author Comments in WordPress

This code is better for the future and better for scalability such as, if you has more than one author in your WordPress site.

Write down Highlight Author Comments Code below

<li class="comment-container
    <?php
        $authID=get_the_author_meta('ID');
        if($authID == $comment->user_id)
            $oddcomment = 'authcomment';
        echo $oddcomment;
    ?>"  id="comment-<?php comment_ID(); ?>">
        ...

</li>

Read the rest of this entry »

Amazing Touch

Change Editor Style In WordPress 3.0

May 26th, 2010 By WP Tricks Posted in Tricks

WordPress 3.0 introducing another nicely featured. This what we really want it a long time ago. Custom Style on Content Editor.

Change Editor Style In WordPress 3.0 - Nika Lauratis

Change Editor Style In WordPress 3.0 - Nika Lauratis

Why this featured important? with this featured, we can show and live preview our content will be in the live site. The content before we publish will be show up exactly like on the front page.
Read the rest of this entry »

Amazing Touch

How to Fix readfile Problem on TimThumb

February 6th, 2010 By WP Tricks Posted in Tips

TimThumb is my favorite Auto Generated Thumbnail code ever seen, simple to use and work great in almost server. But there are readfile function problem on some server in TimThumb auto resized imaged on the fly, this script development by Darren Hoyt and Tweak by Ben Gillbanks, The problem that I currently have is readfile function that disabled by Hosting Server Administrator, they said disabled this function for security reason. So I googling to find out how to fix this problem.
Read the rest of this entry »

Amazing Touch