bioneural.net site preferences

Accessibility

Toggle width/ text size:

style

Default/Alternate

Suits visual impairment, mobile devices

Styling

Change the theme:

layout

NB: may reduce functionality

Link behaviour

Links with an icon are off-site:

links

Right-click any link to optionally open in a new window or tab


Tag archive for 'wordpress'

Customizing WordPress feed content

When I last looked at customizing feeds in WordPress, it was all to do with being able to offer a summary and full text feed simultaneously—making use of WordPress' flexible feed URL syntax and a .htaccess file. In this post I look at modifying the actual contents of the feed using a functions.php file (which may already exist as part of your current theme).
Continue reading 'Customizing WordPress feed content'

Pages and searching in WordPress 2.5

WordPress 2.5 lets you search across pages (non-blog entries) as well as posts. This is undoubtedly a good thing, but if your pages are liable to turn up in site searches you might want to make a couple of changes to stop page content from swamping your results screen and improve appearances if you use category icons.
Continue reading 'Pages and searching in WordPress 2.5'

bioneural.net site preference panel revisited

The first version of my site preference panel for WordPress needed lots of JavaScript for the toggle (Proto.aculo.us), more JavaScript to switch styles, and still more JavaScript to change text size. Version 2 still uses JavaScript for the toggle effect—but no additional load—since jQuery is already utilised by K2. The rest is accomplished using server-side PHP, and the revised 3-column panel layout makes use of more recent CSS know-how. I've tried to modularize the preferences panel as much as possible, but some simple template editing is still required (at 4 points). It is optimised for K2 (tested using RC3 and RC4) and although I haven't tested it with other themes (that's your job!) I don't see why it couldn't be used (*Some tweaking may be required. Batteries not included.)
Continue reading 'bioneural.net site preference panel revisited'

Stop WordPress character replacements

Is WordPress altering your punctuation behind your back e.g. converting typewriter quotes (") to smart quotes (“ & ”)? It's down to the on-by-default wptexturize function. You can disable this by adding the following to your theme's functions.php file: remove_filter('the_content', 'wptexturize'); (for posts) and remove_filter('comment_text', 'wptexturize'); (for comments). Or, use a plugin.

Spring clean your WordPress options

Having cleaned up your head, you might also like to de-clutter you WordPress options table. Sure, it won't alter the look or performance of your site—but it's what's on the inside that counts right? Unfortunately deactivating a plugin or deleting it from wp-content/plugins will most often not clear out the data it saved to wp-options.
Continue reading 'Spring clean your WordPress options'