Skip to content

Instantly share code, notes, and snippets.

@laxmariappan
laxmariappan / custom-table-meta.php
Created December 4, 2024 09:55
Example of custom tables for storing post meta data in WordPress
<?php
/**
* Plugin Name: Books Custom Post Type V1.1
* Plugin URI:
* Description: A plugin to create a custom post type for books.
* Version: 1.1
* Text Domain: lwp-books
*/
if ( ! defined( 'ABSPATH' ) ) {
@sergiu-radu
sergiu-radu / gist:07e5bebd9aab57c7b33d544680bd7135
Created April 9, 2021 17:23
Blocksy beta change log (09.04.2021)
--------------------
1. Blocksy theme
--------------------
- New: Implement dynamic JavaScript chunks
- New: Open account modal when clicking on Login to leave a reply
- New: Responsive options for boxed/wide layout
- New: WooCommerce support for WooCommerce Additional Variation Images
- New: Global button border option
- New: Scroll to top new icons
- New: Add scroll smooth behavior
@webseo-onilne
webseo-onilne / flatsome3-custom-post-type-support.php
Last active March 6, 2024 15:58
Integrate custom post types into Flatsome 3 page builder application using a child theme; providing: (1.) Page Builder Editor support for custom post types, and (2.) Integration with page builder post element components.
<?php
/**
* Integrate custom post types into Flatsome 3 page builder application using a child theme.
*
* This will provide:
*
* 1. Page Builder Editor support for custom post types
* 2. Integration with page builder post element components
**/
@coco-napky
coco-napky / hyper.js
Created March 8, 2017 23:21
Hyper config for git bash in Windows
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',
@rhwilr
rhwilr / Awesome-PHP-Development-Environment-on-Arch.md
Last active March 18, 2025 08:51
This is my awesome php development environment

Introduction

The following steps are required for a typical web developer stack for php and some front-end development. This is for a developer machine and not for a live environment!

Installation stack

@gokulkrishh
gokulkrishh / media-query.css
Last active May 7, 2025 06:24
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
/* CSS */