Skip to content

Instantly share code, notes, and snippets.

Daniel Pataki danielpataki

Block or report user

Report or block danielpataki

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
danielpataki / list.html
Last active May 4, 2017
Vanilla Javascript
View list.html
<ul id="myList">
<li>List Item One</li>
<li>List Item Two</li>
danielpataki / link.css
Last active May 15, 2017
View link.css
danielpataki / Buttons.html
Last active Mar 20, 2017
Customizing Video Headers
View Buttons.html
<button type="button" id="wp-custom-header-video-button" class="wp-custom-header-video-button wp-custom-header-video-play">Pause</button>
<button type="button" id="wp-custom-header-video-button" class="wp-custom-header-video-button wp-custom-header-video-pause">Play</button>
wp core download
wp core config --dbname=$1 --dbuser=root --dbpass=root --dbhost=localhost --extra-php <<PHP
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
wp db create
wp core install --url=http://$ --title=$1 --admin_user=admin --admin_password=password --admin_email=admin@$
danielpataki / add-section.php
Last active Jun 4, 2019
Customizer Tutorial
View add-section.php
$wp_customize->add_section( 'cd_colors' , array(
'title' => 'Colors',
'priority' => 30,
) );
danielpataki / footer.php
Created Jan 10, 2017
Simple theme for customizer project
View footer.php
danielpataki / custom-header.css
Last active Jul 13, 2018
Custom post type templates
View custom-header.css
.site-content-contain {
position: static;
#review-head {
position: absolute;
View return-types.php
function getNumber(): int {
return 6;
// Returns an integer so all is well
function getNumber(): int {
return 'six';
wp @all plugin update-all
View add-3.js
var cleanCSS = require('gulp-clean-css');
var autoprefixer = require('gulp-autoprefixer');
var sass = require('gulp-sass');
You can’t perform that action at this time.