Skip to content

Instantly share code, notes, and snippets.

View crazyyy's full-sized avatar

Vitalii Antoniuk crazyyy

View GitHub Profile
@Ruzgfpegk
Ruzgfpegk / wp-gutenblock.md
Created March 12, 2021 08:27
WordPress: Migrating to Gutenberg (WIP)

WordPress: Migrating to Gutenberg (WIP)

Introduction

One of the tasks that will happen more and more with time will be to convert existing WordPress websites that are based on third-party builders (Elementor, Divi, ...) to the new native builder of WordPress: Gutenberg.

The benefits are cost (if you paid for a full license of a builder), support (you won't risk compatibility issues by updating WordPress) and performance (most if not all contents of the pages are computed once on-save, instead as once on every load as with builders).

However, the switch is not easy at all from a developer perspective. The user experience can also be way worse, and some blocks required for the conversion may not exist.

@kingkool68
kingkool68 / examples.php
Created June 23, 2022 20:45
Helper functions to make generating WordPress post type labels and taxonomy labels easier
<?php
// Register a Book post type
$args = array(
'labels' => generate_post_type_labels( 'book', 'books' ),
'public' => true,
'publicly_queryable' => true,
'show_ui' => true,
'show_in_menu' => true,
'query_var' => true,
@tsmarvin
tsmarvin / !README.MD
Last active May 17, 2025 11:44
TM-ProfileUtility

TM-ProfileUtility Module

Introduction

TM-ProfileUtility is a PowerShell module designed to provide various profile-related utility functions. Specifically this module is designed for use with my PowerShell Profile.

This module is part of a suite of tools designed to improve and streamline the PowerShell commandline and scripting experience.
Check out the rest of the modules by visiting my page on the PowerShell Gallery.

Features