Skip to content

Instantly share code, notes, and snippets.

View klaylton's full-sized avatar
💭
Resolvendo problemas desde 1988.

Klaylton Fernando klaylton

💭
Resolvendo problemas desde 1988.
  • Montagem de Fotos
  • Codo - Maranhão
  • X @bboyguil
View GitHub Profile
/* To disable the Gutenberg’s CSS loading on the front-end */
function tw_unload_files() {
wp_dequeue_style ( 'wp-block-library' );
wp_dequeue_style ( 'wp-block-library-theme' );
}
add_action( 'wp_enqueue_scripts', 'tw_unload_files', 100 );
/* To disable Elementor’s Google font */
@klaylton
klaylton / class-wp-cpt-plugin-base-singleton.php
Created October 26, 2021 02:31 — forked from leocaseiro/class-wp-cpt-plugin-base-singleton.php
WordPress Plugin with Custom Post and Metabox using Singleton
<?php
if ( !class_exists('Primped_Base_Singleton') ):
abstract class Primped_Base_Singleton {
/**
* Parsed options for module
*
* @var array
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
body {
margin: 0px;
padding: 0px;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
canvas{
border: 1px solid red;
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
canvas{
width: 400px;
height: 600px;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">