👋 Oi, mga repapips, Brian Dys here! I love music, photography, and creative stuff like UX design and art. This is a place where I collect my thoughts and works. Apart all these, I’m Jaycelle’s better half and Bryce’s dad. 🥰
Branching out from HopScotch, I am reformulating mostly the front-end of the theme. Here comes Applicator – which I plan to submit to WordPress Free Themes.
Currently, I am building components one by one – starting from the Masthead constructor.
- > functions
- style and scripts
Components of Masthead Constructor
- Web Product Name
- Primary Menu
- Accessible Names
- Sub-Navigation Toggle Action
- comp – Component
- notice – Message
- accessible_name – Labels for Accessibility
- axn – Actions
- State – the state of the UI
- functions – Functions
- css – Stylesheets
- img – Images
- Always escape text strings (e.g., <?php _e( ‘Label’, ‘domain’ ); ?>)
Found in functions > setup.php. It replaces the default “no-js” class name that is added by default in <html>
HTML5 Shiv – for IE 8 and below
Located in js > html5.js
To avoid console errors in browsers without a console
Located in js > plugins.js
Makes “skip to content” link work correctly in IE9, Chrome, and Opera for better accessibility
Located in js > skip-link-focus-fix.js
Source: Twenty Fifteen WordPress Theme
- HTML5 Boilerplate
Coming straight from H5BP, these stylesheets modify the default browser stylesheet for the better. It is considered “default CSS on steroids”.
It adds usability to Active Elements and other elements that can be interacted with.
Anything visual concerning spacings and dimensions goes here.
Dealing with the CSS font properties. But if there’s a usability issue with the default font-size of an element, it goes to Usability.
A touch of color for usability and visual design.
- Vector Assets
located in img > vector-assets.php
called from header.php
Contains SVG markup of basic utility icons to enable color customization
Adds classes into <html>
simply adds the class “html” so that CSS doesn’t need to use the element selector
- masthead-aside–active / masthead-aside–inactive
class if Masthead Aside is active or inactive
- view–front / view–inner
class if on the front page or inner page
- browser–chrome / browser–gecko / browser–safari / browser–opera / browser–lynx / browser–ns4 / browser–ie / browser–unlisted
class depending on the browser user agent
- device–mobile / device–not-mobile
based on wp_is_mobile()
- theme–parent / theme–child
class if using a parent or child theme
There’s an old writing adage that advises writers, whenever possible, to “show, don’t tell” when bringing characters to life. The goal is to reveal the story through the character’s own experiences instead of the author’s.
Since day 1, I drive all the way from Cavite to UP, Diliman. It’s a 46km-drive and given the traffic condition in Manila, it takes me almost 3 hours each way, every day.
It’s like going to work and to school at the same time – I have my laptop for work and I participate in discussions and exercises.
With a little bit of effort, I am hoping to be an accredited contributor to the design and development of GWT. Eventually, with more training, I could go into training and assisting government branches that need help transitioning their websites to GWT.
While being stuck in traffic, I realized something. We, as the people, tend to complain about subpar quality of services the government provides for us. In some areas, we are sure that we deserve better. In some, we know that we can do better. In general, we exactly know how to solve all the problems our city is facing.
But what are we doing exactly aside from paying our taxes? Our professions are devoted to the private sector – I know, it puts more food on the table but we’ve got to do something towards a direct solution to the same problems that are bugging us.
This is my own way of contributing towards a direct solution to the problems that we are facing when accessing government websites. Now I can complain all I want and shut myself up.
The biggest risk of creating a product is ‘making something no one wants.’
We’re actually using the Government Web Template – fitting in the content of a typical government agency. It sure has a lot of bugs – that’s why we’re here to help as contributors to the repo.