My Personal Junkyard

Category: Snippets

WordPress class to update meta key

Expected usage


WordPress REST endpoint to accept special characters

WordPress REST endpoint to accept special Issue: unrecognized character in URL

Expected Usage


WordPress register custom REST API

Structuring CSS for HTML Components. Separation of concerns.

Structuing CSS/HTML (Separation of concerns) First, I will divice CSS into categories: Settings

Color Scheme

General (eg. *, body, Scrollbar, etc.)

Rows (or wrapper components)

Layout (or grid components)

Content components A default content-default style Different types of content eg. content-title, content-description

Spacing components

Individual components

Quick VUE workflow for a HTML/CSS Template.

My quick VUE workflow for a HTML/CSS template. Create a project vue create hello-world Using Pre-Processors yarn add sass-loader node-sass Add scripts on mounted Expected Usage


WordPress Custom Fields Plugin Snippet

A little snippetto show how customer fields works in WordPress Expected Usage


MySQL function to remove HTML entities

Back to top