Category Archives: Web Development

Adding GeSHi/WP-Syntax compatible pre HTML tag button to WordPress Quicktags Javascript editor

Wordpress Logo BlueIf you're anything like me your blog is probably full of code snippets and you're using WordPress Quicktags editor to enter your posts content. You're also using GeSHi compatible syntax highliter like WP-Syntax to make your code snippets more readable.

In this article I'll give you Javascript and PHP code I've created to add GeSHi compatible pre button to my blog's Quicktags editor toolbar on both frontend and backend.

Continue reading

PHP function for adding admin menu separator inside WordPress backend

WordPress admin menu separatorOften your WordPress plugin or theme adds admin submenu inside WordPress admin interface using add_menu_page() functions on admin_menu hook or using WordPress Settings API. When your code adds multiple submenu items wouldn't it be nice to create section on admin menu to reduce clutter? Unfortunately WordPress currently doesn't support adding admin menu separators so you must do it manually by filtering $menu global variable. Here's function for doing that together with an example that should demonstrate it's use.

Continue reading

Fix "Could not reliably determine the server's fully qualified domain name" when starting Apache server on Ubuntu

Apache logoUsing Apache 2 development environment on your Ubuntu machine most likely involves looking at "Could not reliably determine the server's fully qualified domain name, using for ServerName" message each time your machine boots. Here's how to make this irritating message disappear when starting Apache 2 server by specifying ServerName inside Apache 2 configuration files.

Continue reading

How to hide that you are using WordPress aka debranding WordPress

WordPress logo I like WordPress, really I do. I use it whenever possible to make my products path to my clients short and enjoyable. There's just one thing that pokes me in the eye whenever I need to deliver my project. WordPress developers have created greatest CMS ever conceived. They did that free of charge and the community is very grateful for all they've done, but do they really need to stick WordPress name and logo everywhere? Actually I already tried to remedy this situation inside one of my earlier articles. In this article I'll show you a few more tricks to remove some of WordPress branding from WordPress user interface.

Continue reading

Should you install Disqus commenting service on your blog or web site?

Disqus?According to Wikipedia Disqus is an online discussion and commenting service for websites and online communities that uses a networked platform. What this means is that if you have a web site you can let Disqus handle your site commenting features by including their code or plugin for your blogging platform into your site. In this article I will review the idea of using Disqus to power your site discussion forums, but with special emphasis on the blogs and sites writing about open source technologies.

Continue reading