Greg’s Sandbox

Notes on Front-End Web Development

26 Feb modified: 3 years ago

Copyright date (year) in footer

grav

graphic copyright assemblygraphic copyright assembly

A common design device for most websites is to include a copyright notice at the bottom of the web page in the footer area. The jury is out as to whether this copyright date has any legal purpose, but clients' seem to love it. However, a copyright line that is out of date can be a bad reflection on…

Continue reading Copyright date (year) in footer ...

22 Feb modified: 3 years ago

Shortcode UI Plugin -- Tabs

grav plugin shortcode Peppe Ragusa | unsplash

Shortcodes seem like they have tremendous potential to incorporate "chunks" of html, css, javaScript into a page. An example of this would be the ui-tabs shortcode demonstrated below.

The tabs shortcode is included in the shortcode-ui plugin. This plugin, in turn, is dependent upon shortcode-core plugin.

It is my intention to study the coding that is shipped with these plugins in order to reverse engineer an understanding of how a shortcode can be built. My first attempt will be to convert the figure hack that I have already put together.

Continue reading Shortcode UI Plugin -- Tabs ...

16 Feb modified: 3 years ago

Figure with Figcaption on a Page

graphics html Photographer Unknown | Google Images

The article below has been depricated. I've since built a shortcode that will allow direct insertion of a figure with source attribution and caption text.

Photo captions are hard! Best case scenario would be for someone to write a shortcode plugin for the html figure element.

However there…

Continue reading Figure with Figcaption on a Page ...