Archive page for tag → wordpress

Two useful login/logout WordPress functions

If you’re running a WordPress E-commerce site and you have the need for customer login but don’t want your customers accessing the admin area you can add this code to your functions.php file and the top admin bar will not be displayed. You may also want to redirect your customers to a specific page after […]

Read More...

Canvas Scrolling Text Examples

scolling_text

Background image, Text Scroll Speed = 6.2, Pause on Hover Foreground image, Text Scroll Speed = 3.6, Delay before Scrolling = 1.5s, Pause on Hover Foreground image, Text Scroll Speed = 2.6, Delay before Scrolling = 1.5s, Pause on Hover

Read More...

Simple WPEC Stats

logo

The Simple WPEC Stats plugin is a plugin for administrators already using the WP-Ecommerce plugin and shows a breakdown of prices, postage costs, products, customers and orders within a range of customised dates.There is also a simple interface to send coupon codes and an interface to add blacklisted customers. Shortcode Display a message with either […]

Read More...

Hangman javascript game

hangman

A hangman game made with javascript. Select from three genres: movies, music or general (bottom left) or to play with a friend write your own (see icon bottom right). Guess the letter or the complete word or phrase. Type in textbox and click submit. The game will reset on window resize.

Read More...

MLR Audio WP plugin

mlr_audio

This page demonstrates the default settings for the MLR Audio plugin. The default shortcode shows all media elements from all categories but there is also a category parameter for displaying selected tracks from categories. See the readme.txt file within the plugin directory for more information.For the moment no more than one player is allowed per […]

Read More...

MLR Timeline WP plugin

banner-772x250

This page demonstrates the WP horizontal timeline plugin in action taking all the posts from the site and displaying them in horizontal format. The default shortcode shows all posts but there is also a category parameter for displaying selected posts from categories. See the readme.txt file within the plugin directory for more information. Options for […]

Read More...

Internationalise your WordPress theme

internationalisation

Make a languages folder in your theme directory to place your translation files. To include translation files in your wordpress theme add the load_theme_textdomain function to your functions.php file preferably in ‘after_setup_theme’. The First parameter of the load_theme_textdomain function, in this case ‘ML’, is the theme domain name which should also be included in each […]

Read More...

Customising ‘read more…’ of the post excerpt

read_more_large

To customise the link to the post from the excerpt you will need to make a function and then hook it to ‘the_excerpt’ filter tag. The function: The $output variable which is returned contains the information which will be displayed as the ‘read more..’ part of the excerpt. I have added a book icon before […]

Read More...

Filter P-tags on wordpress images

p_img

Although good for separating the flow of your wordpress pages into neat chunks, wordpress’s habit of wrapping images in p-tags can also be restrictive. Here is a code snippet I came across which strips the P-tags from wordpress images leaving you free to float your text and images left or right as you see fit. […]

Read More...