★ audiocommander
                  Audio ·· · Media ···· ·  · Space ···· ·  ·   ·    ·     ·      ·       ·        ·          ·
  • Home
  • Exhibitions
  • Portfolio (new!)
  • Projekte/Werke
    • Arts/Kunst
    • Electronics
    • Music
    • Programming
    • Software
    • Teaching
  • Vita
  • Kontakt
  • Impressum
  • Home
  • Exhibitions
  • Portfolio (new!)
  • Projekte/Werke
    • Arts/Kunst
    • Electronics
    • Music
    • Programming
    • Software
    • Teaching
  • Vita
  • Kontakt
  • Impressum
  • Home
  • /
  • Articles in English
  • /
  • Programming
  • /
  • Software

zs_metaimage.plugin for WordPress

Here is a plugin for the blog-software WordPress with which you can add an image to the excerpt view of your postings!
You can see the plugin in action, when you take a look at a category overview on this domain.

Plugin Name: zs_metaimage
Version: 0.3
Requirements: WordPress 2.x
(Maybe it also works with WordPress 1.x, but it has not been tested! Please report your experiences!)

Description:
Adds an <img src=$zs_metaimage class=zs_metaimage …> Tag to your post with an href to the permalink of the post. In other words: kind of a headline image linked to the full article.

Installation:
1. Download the zip-file.
2. Unpack and copy the file named “zs_metaimage.php” to your WordPress directory. Put it in the subfolder “/wp-content/plugins/”.
3. Open your admin-panel, go to “Plugins” and enable the “zs_metaimage” plugin.

Usage:
1. Edit your theme, if not already done. The image does show up _only_ if you call the function”the_excerpt()”. By default “the_excerpt()” returns the “optional excerpt” of the post, if exists. If not, it strips down the post to 120 chars, removes all tags and returns the snippet. zs_metaimage adds your metaimage.
2. Edit an existing post or write a new one: Go to the tab “Custum Fields” and type “zs_metaimage” as “Key”.
Type the full URL of an image (best is to copy and paste) in the “Value” filed. Now press “Add Custom Field”. You can update or delete values anytime.
3. Done! Whenever your page is in excerpt-mode, you can see your metaimage!

Feel free to adapt this script to your needs.
Please report behaviors other than expected along with information on where and how!

Download:
· zs_metaimage_080704_0.3.zip
· zs_metaimage_060327_0.1.zip

 

Posted on 27. March 2006 by audiocommander. This entry was posted in Articles in English, Programming, Software and tagged metaimage, plugin, Software, Wordpress. Bookmark the permalink.
Lichtkunst aus Kunstlicht
Programming Microchips with a Mac

    Search

    Recent Posts

    • Phonorama Leipzig
    • Procoding 3.5 is out!
    • I ❤ NY
    • 2nd price at Mobile HCI 2014 in Toronto
    • Going Mobile

    Archives

    • July 2015
    • November 2014
    • June 2014
    • August 2013
    • March 2013
    • February 2013
    • July 2012
    • April 2012
    • February 2012
    • January 2012
    • October 2011
    • May 2011
    • April 2011
    • March 2011
    • September 2010
    • May 2010
    • March 2010
    • September 2009
    • June 2009
    • April 2009
    • March 2009
    • February 2009
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • May 2008
    • April 2008
    • February 2008
    • November 2007
    • September 2007
    • July 2007
    • June 2007
    • May 2007
    • April 2007
    • March 2007
    • February 2007
    • December 2006
    • November 2006
    • October 2006
    • August 2006
    • July 2006
    • June 2006
    • May 2006
    • April 2006
    • March 2006
    • February 2006
    • December 2005
    • November 2005
    • October 2005
    • July 2005
    • May 2005
    • May 2004
    • February 2003
    • July 2002
    • February 2002
    • February 2001

    Meta

    • Log in
This website uses cookies to improve your browsing experience. We don't use Analytics. We'll assume you're ok with this if you continue to use this website. Accept Privacy Statement / Informationen zum Datenschutz
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT
Powered by