Archive for 'Wordpress' Category
How To Display Error Messages in WordPress
One question we get a lot at WebDevnet is what to do when you receive the dreaded WordPress White Screen . WordPress by default hides all error messages from displaying. This is for security reasons as error messages can actually help hackers penetrate your website. So how do you display error messages in WordPress? Easy! [...]
How to Add Javasctipt on a WordPress Widget
WordPress has a lot of Plug-ins which you can stick into the Sidebar with WordPress’s Appearance ‘s Widget feature. You can use the Widgets to insert a list of your links, categories, archives, and other plug-ins into the Sidebar, footer, or other widget area. However, there is also a widget called “Text” which is used [...]
How To Insert Tables Into WordPress Posts / Pages
I just realized it’s a bit tricky when it comes to including tables in wordpress posts or pages. If you are not a technical personal and if you do not have experience handling html then you might find yourself fumbling when you have have to insert a table in a wordpress post or page. Solution [...]
Add a button to change font color in WYSIWYG in WordPress
By default the WordPress WYSIWYG editor is very basic. In my opinion, the average WordPress user is probably one that does not know or care to learn a lot about html, in other words they juat want to Blog. In which case most people that use WordPress are likely to use the WYSIWYG visual editor [...]
Complex loop with in_category()
Magazine themes often use the WP_Query() function to display a specified number of posts, excerpts, titles etc, on the magazine-style home page. If, like many WordPress users, you assign posts to more than one category, here’s an elegant way of displaying the latest post which belongs to two (or more) specific categories. This method uses [...]
How to set HTML editor as the default in WordPress
In WordPress dashboard, the default editor is the “Visual Editor”. It is probably the editor that most people enjoy, but personally I prefer using the HTML editor. If you’re like me you’ll probably like this tip which will make the HTML editor as the default. Simply paste the following code on your functions.php file, save [...]
Prevent password reset hacking on your WordPress blog
a new security loophole has just been discovered and it allow anyone to be able to reset your blog admin password. The “hacker” will not get your password (it will be emailed to you) but this can be pretty annoying. Open the wp-login.php file (It is located in WordPress root directory) and go to line [...]
Facebook intergration for WordPress Plugins
1. Add to Facebook Once you install this plugin on your WordPress blog, you can see a footer link at the bottom of each blog post. By clicking on this link, user can add the current post to their Facebook mini-Feed. You can choose either a text link “Share on Facebook” or a Facebook button [...]
Prevent Spam on your wordpress blog
If there is one plugin which saves your time and energy when using WordPress from day 1 of your blogging is Akismet. The default plugin in the packaged WordPress installation is truly a life saver. Akismet Kismet is its actual name, since it is from Automattic (from WordPress) it’s known as Akismet. Akismet is completely [...]
’500 Internal Server Error’ in WordPress Solved
If you receive that error when trying to access your WordPress installation, follow these steps: 1. Check your WordPress files for permissions above 755. My servers run in SuExec mode so the maximum allowed permissions are 755, all permissions above 755 will result in Internal Server Error. You can find which files exactly give the [...]