Below is code to redirect User to a custom page after registration Thanks TheDeadMedic for the tip!
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.
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. […]
Move the wordpress wp-content is for wordpress security if you move this to an unexpected location any hackers looking to target this area won’t be able to find it, or it will make it more difficult to find. To change the location of the wp-content is quite simple as the location of this folder can be configured […]
Here is wordpress php function code to Disable the WordPress Update Notice from wordpress backend. Simply add that to your functions.php file and click save and the notices will disappear. :) Source: wp-snippets.com
Here is useful wordpress code snippet to disable file edition in WordPress admin Just paste the following (or only the needed line) in your wp-config.php file. This file is located at the root of your WordPress install. Thanks to Paulund for this useful code snippet!
Here is way to set featured image automatically in WordPress.. Have a look at below code block, function which you can place in your function.php of active wordpress theme and its done. So simplly follow is the steps which I have coded in this wordpress function: Select all posts Get first attached images of the […]
This is a great little snippet that will let you return the ID of the parent page if the page has a parent in wordpress. Just add this snippet to the functions.php of your wordpress theme and your ready to get wordpress the parent page ID. Incoming search terms:web developer AND your CV to AND […]
This is a great little wordpress snippet that will let you return the ID of the parent page if the page has a parent in wordpress
Paste the code below into a new file. Name it db-error.php and save it on your wp-content directory. In case of a database error, WordPress will automatically use this file. Simple, yes, but more effective than the default error page at facilitating a rapid response. Again, because this is a regular PHP file, we can […]
Here is code to Remove/ disable the top wordpress admin bar from front end in WordPress. The admin bar on the frontend can be a bit of a pain if your using absolute / fixed positioning, or maybe you just hate it? Let’s get rid of it. Copy paste code in Function.php of your theme […]
To apply the hack, just paste the code below into your functions.php file to add automatically body class to body tag based on sidebar active.
If you are an owner of a WordPress blog, then most probably you might be facing some WordPress trackback related spam in your blog and if your blog has some good amount of blog posts then this problem escalates and it’s quite difficult to control the problem.
how to add WordPress pagination without plugins
Posted on April 9, 2012 Posted Under Wordpress Tip and Tricks
Comments Off on how to add WordPress pagination without plugins
Simply paste the following code where you want to display your pagination enjoy…
A blog is a great way to express your thoughts, create a web presence for your company and provide content to Internet users. If you’re planning to create a blog, but don’t wish to get into the hassles of hosting, developing and deploying it yourself, consider creating a blog at any of the free blogging […]
Simply paste the following code anywhere in your theme files, where you want the tweets to be displayed.