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.
Below is code to redirect User to a custom page after registration Thanks TheDeadMedic for the tip!
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. […]
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 […]
Gang of web designers and developers teamed up to explore how the modern version of wordpress look like. * Smple, uncluttered design; free of excessive decoration and focused on your content. * use beautiful webfonts, legible typography that’s consistent in every browser. * Responsive design that’s tailored to PCs, tablets and mobile smartphones devices * […]
I’ve done quite a few posts about SEO, but i wanted to write one more about the difference between on and offsite SEO. Firstly, SEO stands for Search Engine Optimization. If you have no idea what it is, than this probably isn’t the post for you since it’s not really relevant. However if you have […]
Here is code which show you that how to Use jQuery CDN Media Template file in wordpress website. Just copy and Paste below code to your theme function.php file.
Typekit is a useful service which allow you to use countless different fonts on your website or blog. They do provide a WordPress plugin to easily add their fonts to your WordPress site, but there’s no built-in solution for integrating Typekit fonts directly to your theme. Here’s a code to do it.
WordPress 3.5 was released yesterday and it includes many usability updates – especially for the media manager. Although there were no significant security updates mentioned we do recommend that you update as soon as possible. However this is a major release, so it could potentially break a few things. Especially plugins and themes might require […]
It’s the most wonderful time of the year: a new WordPress release is available and chock-full of goodies to delight bloggers and developers alike. This one “Elvin” in honor of drummer Elvin Jones, who played with John Coltrane in addition to many others. Today WordPress has released it’s next big version…Wordpress 3.5 is on the shelves and ready to be […]
Here are some time Super useful wordpress Plugins & Tools for WordPress Developers Below are some growing collection of WordPress plugins, and discovered some great resources for my WP “developer toolbox.” These are some super-useful plugins and tools for debugging, logging data, working with translation files, analyzing performance, and making otherwise difficult tasks efficient and manageable. […]
Here is wordpress snipped code to Show “Pending Review” post to frontend logged-In users. Other Normal users which are not logged into wordpress website cant see “pending review “post in post list.