I AM LISTENING TO
|
WHAT I LIKE
  • English
  • German


BLOG FILTER



Responsive social sharing buttons.

Github

readmore
15. July 2015

WPLMS Extras Addon

I am working on an Addon for WPLMS to automate some of the manual tasks. Will extend the list, as things progress.

  1. Quizes
    – list all
    – show enlisted students + result
    – action: reset auto-evaluation / remove evaluation / change marks
  2. Improved redirects
  3. Extend account menu
  4. Maintenance
  5. Secure languages

readmore

 

readmore

The new WOFF 2.0 webfont format is coming to chrome.

“The new WOFF 2.0 Web Font compression format offers a 30% average gain over WOFF 1.0 (up to 50%+ in some cases).”

CONVERSION OPTIONS

http://www.fontsquirrel.com/tools/webfont-generator
http://everythingfonts.com/ttf-to-woff2

EMBED WITH FALLBACK

BROWSER SUPPORT

  • Google Chrome 36
  • Opera 23
  • Firefox 35 (disabled by default)

Enjoy coding …

readmore

Sometimes you might like to store all language files in your own central location, so that translators have one easy place to access all language files.

Put the above into the functions.php and add textdomain handling for those you want to centralize.

Most current plugins should include the option to store language files to the global WordPress language folder, but that is sometimes just not enough  :) Its all about options ;)

Enjoy coding …

readmore

Make sure that the viewbox, width and height are defined within the SVG.

Many older browsers misbehave, if those are defined in the image source tag only and not in the image file itself.

Enjoy coding …

readmore

WPLMS is a Learning Management System for WordPress. Translation files in WPLMS are located in

  1. /wp-content/themes/wplms/languages/
  2. /wp-content/plugins/vibe-course-module/languages/
  3. /wp-content/plugins/vibe-customtypes/languages/
  4. /wp-content/plugins/vibe-shortcodes/languages/
  5. /wp-content/plugins/wplms-assignments/languages/
  6. /wp-content/plugins/wplms-dashboard/languages/
  7. /wp-content/plugins/wplms-events/languages/
  8. /wp-content/plugins/wplms-front-end/languages/

These language files will be overwritten with new files on every update, destroying any custom translation changes.

THE THEME

Move your theme into a child theme and translate your theme there (/wp-content/themes/your-child-theme/languages/).

Make sure that language files are loaded from your child theme. Add the following action to your functions.php and use “vibe” as the domain, not the actual theme name.

THE PLUGINS

Use the global language folder for the WPLMS plugin translations. The WPLMS plugin loader checks, if a global language file actually exists :)

  1. /wp-content/languages/plugins/vibe-de_DE.mo
  2. /wp-content/languages/plugins/vibe-customtypes-de_DE.mo
  3. /wp-content/languages/plugins/wplms-assignments-de_DE.mo
  4. /wp-content/languages/plugins/wplms-dashboard-de_DE.mo
  5. /wp-content/languages/plugins/wplms-events-de_DE.mo
  6. /wp-content/languages/plugins/wplms-front-end-de_DE.mo
  7. +++

POEDIT

I suggest using Poedit, as it allows you to do the translation on the Desktop. It also offers options to update your file with an updated WPLMS language file, allowing you to add new translation strings if needed :)

PREPARE

A. Create the structure for the update and download new PO files from WPLMS

  1. /wp-content/themes/wplms/languages/
  2. /wp-content/plugins/vibe-course-module/languages/
  3. /wp-content/plugins/vibe-customtypes/languages/
  4. /wp-content/plugins/vibe-shortcodes/languages/
  5. /wp-content/plugins/wplms-assignments/languages/
  6. /wp-content/plugins/wplms-dashboard/languages/
  7. /wp-content/plugins/wplms-events/languages/
  8. /wp-content/plugins/wplms-front-end/languages/

B. The target structure / your current language files

  1. /wp-content/themes/your-child-theme/languages/de_DE.mo /.po
  2. /wp-content/languages/plugins/vibe-de_DE.mo /.po
  3. /wp-content/languages/plugins/vibe-customtypes-de_DE.mo /.po
  4. /wp-content/languages/plugins/wplms-assignments-de_DE.mo /.po
  5. /wp-content/languages/plugins/wplms-dashboard-de_DE.mo /.po
  6. /wp-content/languages/plugins/wplms-events-de_DE.mo /.po
  7. /wp-content/languages/plugins/wplms-front-end-de_DE.mo /.po
  8. +++

C. Open your current .PO file from target structure

wplms_trans_1

D. Update with new and matching .PO file from A. (Catalog -> Update from POT file)

This will check for new or obsolete strings and update your language file.

wplms_trans_2

wplms_trans_ 20.13.19

E. New strings added

wplms_trans_4

F. Obsolete strings removed

wplms_trans_3

G. Save and upload updated .PO + .MO files from target structure to server.

Again, make sure to use the global language folder and the child theme languages folder !

Panic time after updates is over :)

Enjoy coding ….

readmore

“Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind.”

Supported languages
Prism

readmore

Twital is a small addon for the Twig template engine, it adds shortcuts and makes Twig’s syntax more suitable for HTML based (XML, HTML5, XHTML, SGML) templates.

Should be also no problem to integrate it with Timber, currently looking into that ;)

Twital

readmore

  • Fully responsive. Scales with its container.
  • Separate settings per breakpoint
  • Uses CSS3 when available. Fully functional when not.
  • Swipe enabled. Or disabled, if you prefer.
  • Desktop mouse dragging
  • Infinite looping.
  • Fully accessible with arrow key navigation
  • Add, remove, filter & unfilter slides
  • Autoplay, dots, arrows, callbacks, etc…

slick

readmore