How Separate First post from Other in wordpress loop
As wordpress freelancer i found way to first post from Other in wordpress loop. Below is php code for same.
As wordpress freelancer i found way to first post from Other in wordpress loop. Below is php code for same.
Here is jquery code to third/ specific level of element
Here is code which will show you wordpress bbpress topic author ID and wordpress current user id.
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:
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
Here is code to check post or page has an attachment in wordpress. You have to in wordpress loop.
Here is code to check the_content is or not empty in wordpress.
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 […]
Below is code to redirect User to a custom page after registration Thanks TheDeadMedic for the tip!
Here is code to extract number only for php variable
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. […]
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 […]
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, […]
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.
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 […]
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