July 2011

You are currently browsing the monthly archive for July 2011.

Copy the code below into a new php template file inside the Twenty Eleven theme, then create a blank page using this template. Accesing the page will list the latest posts from all WPMS network sites except the main site.

Tags: ,

Here is a simple shortcode that can be put in the functions.php file from the active WordPress theme. In the shortcode arguments you can specify starting time, ending time, title and title tag as well as the background colour and padding values for the div element that envelopes the announcment content.

Of course you are free to modify anything as needed.

Usage examples (remove the * character for the shortcode to work):

Read the rest of this entry »

Tags: ,

I wrote a WordPress plugin to handle in a different way the sticky posts, i.e. as recommended stories with links into a jQuery animated box.

Installation can be done using: WordPress.org plugin repository.

Admins can select four parameters:

  1. the *percent of vertical scroll* where the animated box appears
  2. the *number* of recent sticky posts to list
  3. if the posts have thumbnail there is an option to turn on / turn off the *thumbnail theme capability*
  4. since the sticky posts are presented this way, maybe there is no need to keep them on the front page anymore, so the third option allows to *disable the sticky property of posts in the main loops*

Other features

  1. when displaying a post that is sticky, the corresponding link is eliminated from the animated box
  2. if the sticky posts list remains empty, the animated box is not displayed anymore

== Installation ==

  1. Upload recstory.zip to the /wp-content/plugins/ directory
  2. Unzip the archive
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

== Frequently Asked Questions ==

The animated box is not animated, it just appears at all times
This is most probable a jQuery conflict with the theme or with another plugin. Try to switch to the default theme and / or disable other plugins.

== Changelog ==
= 0.1.3 =
Added admin options to display only on single pages, search pages, archives, category pages, tag pages, front page, author pages
Added admin options to display only for logged in users

= 0.1.2 =
Added metabox to remove recommended stories from specific posts, pages or custom posts id’s
Fixed some minor bugs that triggered javascript errors in certain conditions

= 0.1.1 =
Added option to modify the percent of vertical scroll where the animated box appears

= 0.1 =
Incipient version

Tags:

Acest site folosește cookies, continuarea utilizării sale înseamnă acceptarea folosirii lor... Mai multe informații

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close