How to add extra language packs to WordPress

I’ve got a multisite which I installed in Dutch. Therefore English and Dutch are available in the general settings tab. But I need to add German and French. I can’t select any other language from the drop down. And if I add a language in the wp-config.php it just gives a notice without any direction. Of course I googled but I can’t seem to find anything useful. How can I active an other language and download the .PO/.MO files? http://codex.wordpress.org/WordPress_Localization http://codex.wordpress.org/Installing_WordPress_in_Your_Language Source: https://wordpress.stackexchange.com/feeds

Custom post type archive pagination with HTML5Blank theme?

Can’t get the pagination to work. Here’s my archive-work.php: <?php get_header(); ?> <main role= »main »> <!– section –> <section> <h1><?php _e( ‘Work’, ‘html5blank’ ); ?></h1> <?php get_template_part(‘loop’, ‘work’); ?> <?php get_template_part(‘pagination’); ?> </section> <!– /section –> </main> <?php get_sidebar(); ?> <?php get_footer(); ?> loop-work.php: <?php $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1; $work = array( ‘post_type’ => ‘work’ ,’numberposts’ => -1 ,’posts_per_page’ => 2 ,’paged’ => $paged ); $loop = new WP_Query( $work ); if ($loop->have_posts()): while ($loop->have_posts()) : $loop->the_post(); ?> <!– article –> <article id= »post-<?php the_ID(); ?> » <?php post_class(); ?>>…

Web Design Weekly #160

Headlines Axiomatic CSS and Lobotomized Owls Heydon Pickering introduces the lobotomized owl selector (* + *) which sounds pretty crazy at first but this article gives it a lot more context and is a good reminder that we should all try and experiment when we get a chance. (alistapart.com) First public draft of the Resource Hints specification (w3.org) 28 Premium WordPress Themes – only $37! Get access to a total of 28 premium WordPress themes with this 1-year subscription to Zappy Themes. (mightydeals.com) Sponsor Web Design Weekly and reach over…

Changes only show when logged in?

Changes I’ve made to my site only show when i’m logged in. According to various other threads it seems to be a problem with cache, however, i’ve completely deactivated my W3 cache plugin, and the problem still isn’t resolved. Any ideas? Source: https://wordpress.stackexchange.com/feeds

TinyMCE HTML Encode Backslash

so my question is similar to the one found here, following the example there i am trying to force Tiny MCE to encode backslashes…… currently all i am doing to test this is setting a break point on the page for the following line tinymce.init( init ); then i run the following in the console init.entities += « ,92,#92 »; init.entity_encoding = « named »; I see the values update in the init object but my is not converted…. not really sure what i am missing…… Source: https://wordpress.stackexchange.com/feeds

Optimizing SVG for the Web

So you have an amazing vector and you’re about ready to send it out for the world to see, but you notice it’s XML (the stuff that makes up an SVG) is a bit bulky. We’ll take a look at a command line tool that can help us clean that up a bit called SVGO. It’s a Node based, open-source (free) project hosted on GitHub that helps cleanse verbose SVG files and output a well optimized one. Installation I use SVGO religiously making it my favorite out of all the…

Web Design Weekly #159

Headlines Celebrating CSS Cascading Style Sheets turned 20 years old and Jeremy Keith has come to the party with a great post. (adactio.com) Smashing Bundle – only $19! With this Usability and UX bundle of eBooks from Smashing Magazine, you’ll be fully armed to best tailor your website for users. Each eBook is provided in three file formats so you can enjoy reading them on any device. (mightydeals.com) Sponsor Web Design Weekly and reach over 21,402 Developers Articles JavaScript Beyond the Web in 2014 Patrick Catanzariti dives into how JavaScript…

Localhost WordPress Uploading of Images Issue

I’m a bit stuck here. My Mac (running Mavericks) died on me last week, and I spent the weekend getting a new computer and restoring the backup of my old (thank God for backups people. If you haven’t made one, go do it.) The new computer runs Yosemite. I had a pretty great system set up on my old computer that I was REALLY happy with for running local installs of WordPress via a single installation without using WPMU. I have Apache, phpMyAdmin, and MySQL set up here on the…

Enqueue Scripts / Styles when shortcode is present

What is the idea way to register/enqueue scripts and/or styles for use in plugins? I recently made a plugin simple plugin to add the user avatar/gravatar with a shortcode. I have different style options for displaying the avatar (square, round, etc.) and decided to put the css directly in the shortcode itself. However, I realize now this isn’t a good approach since it will repeat the css every time the shortcode is used on a page. I’ve seen several other approaches on this site and the wp codex even has…