Thanks to visit codestin.com
Credit goes to gist.github.com

Skip to content

Instantly share code, notes, and snippets.

@maxmanu
maxmanu / autodeploy.md
Last active December 31, 2024 19:46
Automatizar Push a Cpanel

1. Crear carpeta en la raíz .github >> workflows

2. Crear dentro archivo deploy.yml:

name: Deploy to cPanel
on:
  push:
    branches:
      - main # Puedes especificar la rama desde la que quieres desplegar
jobs:
  deploy:
@maxmanu
maxmanu / functions.php
Created June 5, 2024 03:25 — forked from alexander-young/functions.php
WP Basic Cleanup
<?php
// //remove emoji support
remove_action('wp_head', 'print_emoji_detection_script', 7);
remove_action('wp_print_styles', 'print_emoji_styles');
// // Remove rss feed links
remove_action( 'wp_head', 'feed_links_extra', 3 );
remove_action( 'wp_head', 'feed_links', 2 );
@maxmanu
maxmanu / nombre-entradas.php
Created August 9, 2023 17:18 — forked from flabernardez/nombre-entradas.php
#wordpress Cambiar el nombre de las Entradas en el menú
<?php
/*
Plugin Name: Cambiar nombre de las 'entradas'
Author: Flavia Bernárdez
Description: Pasa de 'entradas' a 'programas'
Version: 1.0.0
*/
//Renombrar el nombre de menú post o entradas por Programas
function modificar_post_label() {
@maxmanu
maxmanu / conventional_commit_messages.md
Created February 5, 2023 01:31 — forked from qoomon/conventional-commits-cheatsheet.md
Conventional Commit Messages

Conventional Commit Messages

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default

@maxmanu
maxmanu / css-selectors.md
Created February 19, 2021 23:19 — forked from magicznyleszek/css-selectors.md
CSS Selectors Cheatsheet

CSS Selectors Cheatsheet

Element selectors

Element -- selects all h2 elements on the page

h2 {
    foo: bar;