Dieses Plugin ist nicht mit den jüngsten 3 Hauptversionen von WordPress getestet worden. Es wird möglicherweise nicht mehr gewartet oder unterstützt und kann Kompatibilitätsprobleme haben, wenn es mit neueren Versionen von WordPress verwendet wird.

News Quiz Shortcode

Beschreibung

This shortcode allows you to embed a news quiz created in accordance with Mother Jones‘ news quiz library.

Installation

  1. In the WordPress Dashboard go to Plugins, then click the Add Plugins button and search the WordPress Plugins Directory for News Quiz Shortcode. Alternatively, you can download the zip file from this Github repo and upload it manually to your WordPress site.
  2. Activate the plugin through the ‚Plugins‘ screen in WordPress
  3. Create a Google Spreadsheet following Mother Jones‘ instructions
  4. Place the ID of the Google Spreadsheet in the shortcode:

    [quiz key="0AvfAWkLLRik_dGtjRVNUamJwbE1wRWxtVVRURG1UU0E" align="alignright"]

FAQ

What are the shortcode’s attributes?
  • key: (required) A link to a publicly published google doc from which to pull the quiz content from.
  • title: (optional. default: blank) Give your quiz a title.
  • lede: (optional. default: blank) A subhead for the quiz.
  • align: (optional. default: alignnone) Align the quiz with alignleft,alignright or alignnone.
  • layout: (optional. default: sidebar) The values either fullwidth or sidebar.
  • answerstyle: (optional. default: bullet) Choose between alpha,bullets,roman, or numbers.
  • byline: (optional. default: blank) Give an author byline at the bottom.
  • source: (optional. default: blank) Attribute a datasource.
How do I style the quiz?

The quiz comes with a very limited default stylesheet. You can style the quiz by editing your theme’s stylesheet.

Mitwirkende & Entwickler

„News Quiz Shortcode“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

Übersetze „News Quiz Shortcode“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

0.2

  • rename CSS classes from .largo-interactive- to .news-quiz-
  • rename PHP function prefix from largo_interactive_quiz_ to news_quiz_

0.1

  • Initial release