Easily Customize WordPress Default Functionality. Advertisement The absolute best thing about WordPress is how flexible it is.
Don’t like the theme? Just change it. Need added functionality? There is probably a plugin you can download or buy. Change The Default Source Of jQuery Link Another great thing about WordPress is that it comes locked and loaded with all kinds of JavaScript libraries, including jQuery. Let’s say we want to relieve our server of some stress by switching WordPress’ version of jQuery for a hosted solution (or CDN version). Three things are going on here. One thing to note here is that we’re using add_action(), not add_filter(), to add our scripts. Add Image Sizes Link We know that WordPress sets a few different sizes for the images we upload. Add_theme_support( 'post-thumbnails' );add_image_size( 'post-header', 760, 300, true ); The first function, add_theme_support(), tells WordPress to allow not just for thumbnails, but for featured images and images of new sizes.
Registering a sidebar doesn’t take much. Done! (al) Random Redirection in WordPress. If you run an online magazine, most of your readers will never go through your archive, even if you design a neat archive page.
It’s not you; it’s just that going through archives is not very popular these days. So, how do you actually make readers dig in without forcing them? How do you invite them to (re)read in a way that’s not boring? How do you make your WordPress magazine more interactive? Have you tried random redirection? Call it recycling if you like, but random redirection doesn’t have to be about retreading familiar territory. The concept really is simple. WordPress supports random redirection out of the box, but it’s not very obvious. To implement random redirection in WordPress, you will usually need to work with the following three things: A page to process the redirection,A query to pick a post from the database,Some sort of mechanism to initiate the redirection.
Of course, many of you might want to use a plugin. The Simple Solution Link Using WP_Query Instead Link (al) Inside The WordPress Toolbar. The WordPress Admin Bar, first introduced in version 3.11, debuted to mixed reactions.
A Google search for “wordpress admin bar2” returns multiple articles about how to disable or remove it. Version 3.23 of WordPress introduced new features and functionality, and version 3.34 has not only further enhanced it but integrated the header of the admin section into the bar itself. Since this feature is not going anywhere and it figures largely in WordPress’ plan to implement front-end editing, I think we would all benefit from looking at where its features come from and how best to make this sometimes controversial feature work for us. In addition to the explanations of how to get rid of the Admin Bar, you will also find on the Web no shortage of techniques and tips for customization5, as well as a multitude of plugins6 that make working with the Admin Bar a little more enjoyable.
Genesis Link In the beginning, the Admin Bar didn’t do a whole lot. 7The Admin Bar in WordPress 3.1 Boring! (al) How To Use Custom Post Types To Organize Online Marketing Campaigns - Smashing WordPress. Advertisement Custom post types add a level of flexibility to WordPress that makes this open-source Web development platform more useful on many levels.
Whenever I have been faced with a Web-based task, especially one that involves organizing information, the first thing I do is examine WordPress to determine if it can handle the job. It usually can. Image Source1 As an Internet marketer and analyst, I need to be able to organize online marketing campaigns in a way that is trackable in Google Analytics. In this article, we’ll explain how to create a WordPress plugin that enables you to organize Internet marketing campaigns using trackable URLs, shortened versions of those URLs, and trackable QR codes that you can also use for offline marketing activities.
We’ll show you how to create this plugin in a way that maximizes ease of use and functionality. Here are the criteria for our custom post type plugin: The File Structure This plugin will use three files. The Plugin File <? The Template File. WordPress Permalinks 101: How, When and Why to Use Them. WordPress Basix Article!
Most major WordPress blogs nowadays are using permalinks (otherwise known as "pretty" URLs); WordPress gives us a few great tools for setting them up quickly and easily... but what do you really know about them? That's what we'll be exploring today. WordPress offers a bunch of options to "beautify" your permalinks from the standard question mark-prefixed number to a feigned path-style URL.