Skip to content

Instantly share code, notes, and snippets.

View marcofrasson's full-sized avatar
馃彔
Reading a book while my AI agents vibe coding.

Marco Frasson marcofrasson

馃彔
Reading a book while my AI agents vibe coding.
View GitHub Profile
@thiagosf
thiagosf / svn-wp-plugin.md
Last active July 10, 2019 17:55
Procedimento para atualizar reposit贸rio SVN com plugin WordPress

Procedimento para atualizar reposit贸rio SVN com plugin WordPress

Os comandos abaixo foram utilizados no Ubuntu. Todas informa莽玫es abaixo foram retiradas do site oficial do WordPress https://wordpress.org/plugins/about/svn/

Puxe as atualiza莽玫es do reposit贸rio remoto

svn up

Adicione ou altere os arquivos dentro do diret贸rio trunk

@claudiosanches
claudiosanches / add-to-cart.php
Last active September 7, 2025 21:00
WooCommerce - Template add-to-cart.php with quantity and Ajax!
<?php
/**
* Custom Loop Add to Cart.
*
* Template with quantity and ajax.
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly.
global $product;
<?php
/*
Description: Adds a taxonomy filter in the admin list page for a custom post type.
Written for: http://wordpress.stackexchange.com/posts/582/
By: Mike Schinkel - http://mikeschinkel.com/custom-workpress-plugins
Instructions: Put this code in your theme's functions.php file or inside your own plugin. Edit to suite your post types and taxonomies. Hope this helps...
*/
add_filter('manage_listing_posts_columns', 'add_businesses_column_to_listing_list');
function add_businesses_column_to_listing_list( $posts_columns ) {
if (!isset($posts_columns['author'])) {