Just had an email from my web hosting provider telling me that my server had been shut down due to very high resource usage. It turns out that my VPS had been utilizing about 8 cores of cpu and I only pay for a hosting plan that allows me to use 2 cores. My server […]
These are posts about blogging and web development. Here I share knowledge on various web technologies like HTML, CSS, PHP, JS, MySQL and other things I learned from the web or simply stumbled on my own. Most of these posts are WordPress Tutorials for both developers and simple users.
By default, bbPress pagination only shows a few page numbers. You could navigate and search for forum topics easily if more page numbers are shown. See image below. Show All Page Numbers If you want to show all of the available page numbers, you’ll have to add the code below on your theme’s functions.php. Showing […]
bbPress breadcrumbs not displaying correctly? or maybe it doesn’t blend nicely with your particular theme’s design. Here’s a simple function that easily removes the breadcrumbs. Add this on your theme’s functions.php (preferably on a child theme)
Want to remove the URL or website textbox field on your WordPress comment form? Or maybe just hide the website links? This is usually done to discourage spammers from dropping their obviously fake comments just to add their worthless links. You have two options. One approach is to prevent visitors from inputting their links by […]
AddThis is a popular social media sharing tool. But if you’re using this tool on a WordPress theme that uses the border-box sizing model, you will notice that the right side of the counter bubble is cut off. The entire image is not shown because AddThis’s CSS instructs the container of the image to use […]
There are some cases where you might want to add your own language files to have your theme translated in your target language. One instance is if your language isn’t present among those that are provided by the theme developer. Another case is if the theme doesn’t package any language files at all. Examples of […]