How to get bbpress Topic author id and current user id

Here is code which will show you wordpress bbpress topic author ID and wordpress current user id.

How to Create wordpresss breadcrumb without plugin

Here is code to show how you can create wordpress breadcrumb feature without installing any plugin. Open your functions.php and paste the code below in it: Once done, open header.php and call the function:

How to add Custom field in custom portfolio type post

Here is solution to add custom field in your custom portfolio entries, for this you must activate the “custom fields” manually. Open up portfolio.php OR php function where you registering post type “portfolio. portfolio_register() and search for: Replace it with

How to check post or page has an attachment in wordpress

Here is code to check post or page has an attachment in wordpress. You have to in wordpress loop.

How to Check the_content is empty in wordpress

Here is code to check the_content is or not empty in wordpress.

How to Get a Custom URL for Your Facebook Page in Five Easy Steps

Does your Facebook page’s URL look something like this? www.facebook.com/My-Facebook-Page/303188632181849 By default, your Facebook page’s URL is made up of your page’s name plus a long number. If you want to put the URL on your business card, or spell it out over the phone, this is obviously not ideal. The good news is that […]

How to Redirect User to a custom page after registration

Below is code to redirect User to a custom page after registration Thanks TheDeadMedic for the tip!

how to extract number only for php variable

Here is code to extract number only for php variable

How to stop showing wordpress Update notification message

Here is code to stop showing wordpress Update notification message. Want to remove the nagging update notice from your WordPress site? Sometimes this can be helpful if you built the site for someone else and don’t want them upgrading it. Perhaps there are plugins running on the site that won’t be compatible with the update. […]

Google Analytics for Android mobile

Here is Google Analytics Android mobile version for Web designer & web developer. Access all of your Google Analytics web and app reporting profiles from your mobile device. The app has an all-new look and feel that’s optimized for phones and tablets, so you can easily get your Analytics data anytime, anywhere in mobile. What’s New […]

Latest New WordPress 3.6 Features

WordPress co-founder Matt Mullenweg announced the release of the latest version WordPress 3.6 which has beed in honor of Canadian jazz pianist Oscar Peterson. Latest New WordPress 3.6 include follwing Features a beautiful new blog-centric theme  Twenty Thirteen theme, bullet-proof autosave and post locking, a revamped revision browser, native support for audio and video embeds, […]

How to Limit the size of the post excerpt in WordPress

Here is code to Limit the size of the post excerpt in WordPress. Add below code into function.php it will set limit 20 charactor.

How to display content to registered users only

Ever wanted to be able to show some content only to registered users in your blog posts? If yes, just read this recipe, which contains an awesome shortcode to do it! here is code to  display content to registered users only Just paste the following code on your functions.php file: Once done, you can add the […]

How to add jQuery Parent and Child Click events

Here is <LI> Tag and inside that there is anchor link tags <A>, so how we can make jQuery click event on both parent and child element. here is code

How to turn off magic_quotes_gpc module in php for joomla 3 setup on godaddy server

Its common problem with godaddy server for installing joomla3. As web designer or Web Developer you may face this issue. Here is steps which show you How to turn off magic_quotes_gpc module in php for joomla 3 setup on godaddy server. created script for phpinfo and saw that magic_quotes_gpc was on (the only one on […]

jQuery 2.0 Released news for Web designer and Web Developer

jQuery Latest version 2.0 has arrived! The arrival of jQuery 2.0 is an epic milestone for Web designer and Web Developer. Reduced size, No more support for IE6/7/8, Custom builds for even smaller files and more.  12 percent smaller than its predecessor. jQuery 2.0 leaves behind the older Internet Explorer 6, 7, and 8 browsers. In return it is smaller, faster, […]