Skip to content

Instantly share code, notes, and snippets.

Oksana Romaniv OksanaRomaniv

Block or report user

Report or block OksanaRomaniv

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
OksanaRomaniv / filter-front-page.php
Created Sep 27, 2018
Filter / Bypass front-page.php template to use custom template as static page (WordPress)
View filter-front-page.php
// Add this snippet to your funstions.php to use any custom template as you static front page if your theme has front-page.php // that overwrites custom template. This also supports page templates created with a page builder.
add_filter( 'frontpage_template', 'mc_filter_front_page_template' );
* Bypass font-page.php.
* @param string $template Custom Template Slug.
* @return string
OksanaRomaniv / settings.json
Last active May 10, 2018
postcssSorting.config using SMACSS properties order. Object can be used in package.json, VS Code settings.json etc.
View settings.json
"postcssSorting.config": {
"order": [
You can’t perform that action at this time.