Wednesday 30 May 2012

How to get current page id title slug in wordpress

$post_obj = $wp_query->get_queried_object();
echo $post_ID = $post_obj->ID;
echo $post_title = $post_obj->post_title;
echo $post_obj->post_name;

If you want to get more information about current page,use print_r like this
print_r($post_obj)

Hope this helps you.

How to make PHP apps scale

The most popular language for Web apps, PHP tends to buckle under heavy loads -- unless you opt for cloud scaling and a NoSQL back end

See more http://www.infoworld.com/d/application-development/how-make-php-apps-scale-194176?source=IFWNLE_nlt_openenterprise_2012-05-30

Saturday 26 May 2012

How to get currently loggedin user details in Wordpress

You can use the following code snippet to get currently loggedin user details

<?php
    wp_get_current_user();
    /**
     * @example Safe usage: $current_user = wp_get_current_user();
     * if ( !($current_user instanceof WP_User) )
     *     return;
     */
    echo 'Username: ' . $current_user->user_login . '<br />';
    echo 'User email: ' . $current_user->user_email . '<br />';
    echo 'User level: ' . $current_user->user_level . '<br />';
    echo 'User first name: ' . $current_user->user_firstname . '<br />';
    echo 'User last name: ' . $current_user->user_lastname . '<br />';
    echo 'User display name: ' . $current_user->display_name . '<br />';
    echo 'User ID: ' . $current_user->ID . '<br />';
?>

For further, please reply this post  ....... Have fun  !!!!!

Thursday 24 May 2012

SocialEngine 4.2.4 Released - Upgrade Time!

Ready your server for the 4.2.4 release.  Download it now from your account here!   Of course, 4.2.4 is free for our clients, or you can order a license: http://www.socialengine.net/buy-social-engine.

Release includes:
  • Two New Themes:  Kandy (4 color variations) and Grid (8 color variations)
  • Improved the RSS widget
  • Improved language phrases and descriptions
  • Improvements to the "Email All Members"
  • Bug fixes.
  • View our changelog for more!

Tuesday 22 May 2012

NAB Australian Payment Gateway for Magento 1.5 1.6 Free

NAB Australian Payment Gateway for Magento 1.5 & 1.6. It is absolute free. Please, feel free to contact me for the zip package.

Monday 21 May 2012

Free necessary Magento Extensions

Featured Products 

http://www.magentocommerce.com/magento-connect/featured-products-4605.html

CueBlocks Zoom

http://www.magentocommerce.com/magento-connect/cueblocks-zoom.html

Bestsellers module

http://www.magentocommerce.com/magento-connect/bestsellers-module.html

 

 

All PHP Developers& Designers are welcome to this blog

All PHP Developers & Designers are welcome to this blog.This is a discussion board specially for Magento and Wordpress. Please, share all problem & solution  ............