WordPress Bits

Hacking WordPress. Keeping the bits together.

Not here anymore. But there…

Posted by Leonid Mamchenkov on April 10, 2014

I should have written this years ago, but as they say – it’s better late than never. I am not maintaining this blog for a while now. If you want to follow my WordPress related posts, here is where you can find them:

Blog of Leonid Mamchenkov: Technology / WordPress

Thank you for being the greatest audience ever.

Posted in WordPress | Leave a Comment »

Tip #9 : Use trackback auto-discovery

Posted by Leonid Mamchenkov on December 18, 2007

When building WordPress themes from scratch it is easy to forget about things that “just work”.  One of such things, often forgotten by newcomers to WordPress theme development, is trackback auto-discovery – a really tiny bit of code, which is not visible to a naked eye (an eye without HTML source that is).  Trackback auto-discovery provides a specially formatted HTML code for other content management systems to find a trackback URL in your post.  Gladly, there is a Codex page that covers trackback_rdf() function.

Posted in Documentation, Themes, WordPress, WordPress Tips | 24 Comments »

Tip #8 : Read WordPress Digest

Posted by Leonid Mamchenkov on December 3, 2007

If you don’t have a lot of time to follow WordPress development news, just read to this one blog – WordPress weekly digest.  One short post per week, with a summary list of what changes went into trunk.  Occasionally, there are also brief explanations like this one:

 The last change means that the next time you login the value stored in the database will change – this means that if you do upgrade passed this point reverting back to an old version will invalidate all users passwords and they will need reseting. Therefore it is a good idea to backup up your users table before updating to the latest trunk.

Posted in WordPress, WordPress Tips | 12 Comments »

Tip #7 : WordPress constants

Posted by Leonid Mamchenkov on October 5, 2007

ABSPATH is one of the most known WordPress constants. It holds filesystem path to WordPress installation and is often used to construct filesystem paths relative to WordPress. But what other constants are there in WordPress? The answer is easy to get than it might seem. You can see a full list here.

(Thanks to Benedict Eastaugh over at wp-hackers mailing list for the above link)

Posted in WordPress Tips | 12 Comments »

Tip #6 : Enhancing WordPress administration

Posted by Karthik Kastury on September 26, 2007

This tip has been written by Karthik Kastury from dailyApps.net. dailyApps showcases the best of the Apps for different platforms and is a must read for all you software junkies out there. You can also find a host of tips to improve your productivity with review of various services and apps.

If you are a long time WordPress user like me, you surely know the obvious limitations that the WordPress backend has. There are far too many distractions in the Compose Section where you write the posts. Presence of Controls that you never use could become a nightmare to manage so it would be best if you would just remove them and use a stripped down version of the Compose Screen to manage your workflow better.

  • Get Rid of the Clutter

As I mentioned before there are far too many items in the compose screen that I normally don’t use. There is stuff like Password Protection, Excerpt, Custom Fields, Discussion Options, Bookmarklets, Author controls etc. which I am sure majority of WordPress Users don’t really use. So if you are one of them go ahead and add Clutter Free to your ever growing list of WordPress plugins.

Once you have activated Clutter Free go the Users Sections and select all the options that you need. Save the settings and “Boom!” as Steve Jobs would say, your Compose screen now loads a tad faster.

  • Disable the Rich Text Editor

When it comes to the Rich Text Editor things are definitely easy for the average to publish a new post. But in case you are a power user like me then you would want to Disable the Rich Text Editor Screen that has a few annoyances, such as being slow and standing in the way of embedding code provided by Youtube and other services.

I would put my money on the Simple Text Editor that is extremely powerful in terms of what it can do. To disable the Rich Text Editor follow these steps. Go to the Users Section in your admin. Scroll to the bottom and uncheck the option that Says “Use the visual rich editor when writing”. The only Downside is that you will have to learn some basic HTML before you can use the Rich Text Editor.

  • Make QuickTags Smarter

If you are long time WordPress user you will know how useful Quicktags really are (Quicktags are those buttons with tags at the top of the editor). Just about anything is possible with Quicktags. The default WordPress install comes with a few quick tags like <strong>, <li>, <ul> etc. But you might want to add a few more tags to this list so that you don’t have to type them over and over again while you are writing your post. I have some more tags in my Write screen like <span> which I regularly use.

If all the talk above sounded a little too geekish for you. Here is the simplified version of what you have to do. Just download the WP-AddQuickTag plugin and install it. Select Add Quicktags under the Options menu and add all the tags that you wish to include. Note that you need to have Rich Text Editor disabled to make Quicktags work for you.

  • Install Greasemonkey

If you are a Firefox User you definately should install Greasemonkey. There are many scripts that can improve your workflow. One of the scripts that I am using is Akismet Auntie Spam which changes the skin of the Akismet spambox page for WordPress admins and allows to download all spam at once, compress spam to make it more scanable and completely compresses obvious spam. Turns checking spam into a 10 minute per week activity.

  • Install WP-Admin Tiger 3.0

The default layout of the WordPress Admin can be confusing at times. It shows all signs of being extremely cluttered. You have to click through a maze of buttons to do something, and the most important thing surely is that it is not really good to look at. In case you are one of those who have got bored of the default layout for WordPress Admin then its time for you to download WP-Admin Tiger 3 that completely changes the look and feel of the WordPress admin.

If you like this post please consider subscribing to the dailyApps feed. You will find dailyApps an enjoyable read. And yeah make sure you tell me if these tips have helped you or not..

Posted in Menu, Options, Plugins, Themes, WordPress, WordPress Tips | 33 Comments »

Tip #5 : Taxonomy in WordPress 2.3

Posted by Leonid Mamchenkov on August 27, 2007

The upcoming release of WordPress 2.3 introduces a new way of tagging and categorizing posts and links.   It replaces the old way of categories and should provide enough flexibility to replace a whole bunch of plugins.  Or, at least, make those plugins much simpler.

This new feature required a few changes in the WordPress database scheme. Gladly, Ryan Boren has posted the description of changes in the database structure.

Posted in Database, WordPress, WordPress Tips | 15 Comments »

Tip #4 : WordPress cheat sheets

Posted by Leonid Mamchenkov on August 22, 2007

There is an excellent collection of WordPress cheat sheets at Kahi’s WordPress notes.  Cheat sheets provide a simple way of getting an overview picture of one specific topic, as well as to quickly find a name of a function or a variable.  The best thing about cheat sheets is that you can print them out, fold, and put on your table, so that a quick reference is just a look away.

If this type of documentation appeals to you, Lorelle has a whole bunch of cheat sheets for all things related to WordPress development – HTML, CSS, PHP, SQL, etc.

Posted in Documentation, WordPress, WordPress Tips | 12 Comments »

Making WordPress themes III : template hierarchy

Posted by Leonid Mamchenkov on August 22, 2007

(This is the third post in “Making WordPress themes” series. If you missed the previous two, here are the links: “Making WordPress themes I : static basics” and “Making WordPress themes II : The Loop” ).

In this post we’ll see which filenames WordPress recognizes in the theme directory, and how it knows which posts to show to the visitor based on where the visitor is.

Read the rest of this entry »

Posted in Documentation, Themes, WordPress | 38 Comments »

More WordPress theming at WPDesigner.com

Posted by Leonid Mamchenkov on August 21, 2007

I came across an excellent resource about WordPress theming – WPDesigner.com .  There are theme reviews, forum and few other bits worth checking out.  But the best part of the web site, in my opinion, are the Tutorials.  They are so good in fact that I decided to add the RSS feed to WPDesigner.com tutorials to the sidebar of WordPress Bits (see it on the left, below Archives).  Really cool stuff!

Posted in Themes, WordPress | 20 Comments »

Making WordPress themes II : The Loop

Posted by Leonid Mamchenkov on August 21, 2007

(This post is a second part of the “Making WordPress themes” series. The first part is “Making WordPress themes I : static basics“)

The Loop is perhaps the most important thing there is to understand in WordPress theme building. It is the heart, the soul and the skeleton of any WordPress theme. It’s been fairly well documented at Codex – see pages “The Loop” and “The Loop in Action” – but no WordPress theme building series could be complete without yet another attempt of making it easier to understand, so here we go…

Read the rest of this entry »

Posted in Themes, WordPress | 15 Comments »