Monthly Shaarli
December, 2016
certainlyakey starred Hube2/acf-post2post
certainlyakey starred PhilippBaschke/acf-pro-installer
certainlyakey starred fxbenard/Blank-WordPress-Pot
One of the items that’s long been on my personal wishlist for Sketch is the ability to work natively with responsive layouts, and the next Sketch release, version 3.9, (currently in beta) will finally introduce that via the new Group Resizing feature. Auto Layout-style functionality has been available since Sketch 3.3 via the excellent Sketch Constraints plugin, but being able to work this type of layout magic without third-party plugins will be a major plus.
Actually, you might be in luck! If you want to style a tab according to the domain, the TAB element has an attribute called IMAGE which is the URL for the Favicon it displays. If the website has a favicon then you can do this:
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
tab[image*="example.com"] {background:red !important;}
We have been loving learning Drupal 8’s theming system over the last year. Drupal 8 core now uses the Twig template engine, which is a fast, flexible, and secure system that allows use to create the markup needed for the modern web.
What you can do with Drupal core’s Twig is pretty great, but the Drupal community always brings so much more to the table after real world use. We don’t use them all, all of the time, but have used many as our design and development needed. Here are our favorite modules to help build out your Drupal themes.
Sometimes it’s handy to hide pages in the WordPress admin from certain users. For example, when using WordPress as a CMS, where you define a static front page and a Posts page for all the posts, you might not want users trying to edit the Posts page since their edits won’t show up on the site anyway. A common scenario I see is users trying to edit the dummy “News” page assigned as the Posts page, or trying to change the front page of the site by editing the dummy “Home” page.
That sounds really convenient, but there is a problem. The $_SERVER['HTTP_HOST'] and $_SERVER['SERVER_NAME'] variables can be changed by sending a different Host header when accessing the site. Doing that, any URLs that used $_SERVER['HTTP_HOST'] or $_SERVER['SERVER_NAME'] would use notyourdomain.com.
Drupal project codebase can and should be managed with Composer, as it provides better and more reliable results when building codebase. Drupal Console is replacing Drush -based workflows fast.
the Wordpress password hasher implements the Portable PHP password hashing framework, which is used in content management systems like Wordpress and Drupal. Here you can convert a password to the required hashsum, which can be used to set a new password directly in the database.
certainlyakey starred studio24/wordpress-multi-env-config
certainlyakey starred nystudio107/disqus
certainlyakey starred farmstudio/slugcharmap
Here is a quick tip to remove the piece of code added by WordPress 4.2 in the header of your pages about emoji icons.
certainlyakey starred timber/starter-theme
This tutorial will cover the concept and code for creating a bidirectional relationship between posts using only the Advanced Custom Fields plugin.
This tutorial uses a Relationship field to select posts, however a Post Object field with multiple selections enabled would work just the same as both field types save data as an array of post ID’s.
A next-generation* WordPress theme built with the Rest API and Angular
CSS can be used to style and animate scalable vector graphics, much like it is used to style and animate HTML elements. via Pocket
One of the most common use cases for SVG graphics is icon systems, and one of the most commonly-used SVG spriting techniques is one that uses the SVG element to “instantiate” the icons anywhere they are needed in a document. via Pocket
Your job is to stop the incoming enemies from getting past your defenses. Unlike other tower defense games, you must position your towers using CSS!
ElkArte is a modern, powerful community building forum software. It is completely free to use and is licensed with an open source BSD-3 clause license.
For the purpose of validating the technical concepts behind distributed content service Teletext.io, here is a series of experiments to see what gets indexed and what doesn't if javascript and Google Tag Manager are used to inject content and JSON-LD in your page.