Skip to content

Instantly share code, notes, and snippets.

View flyingwebie's full-sized avatar
:octocat:
Coding coding coding...bug

Flying Web Solutions flyingwebie

:octocat:
Coding coding coding...bug
  • flyingwebsolutions
  • Cork
View GitHub Profile
@flyingwebie
flyingwebie / README.md
Created January 7, 2022 12:36 — forked from AidasK/HowToDeleteAllCloudflareRecors.md
Cloudflare delete all DNS records. Just go to cloudflare dns zones, open your browers developer console and paste this javascript code.

image

@AidasK
AidasK / HowToDeleteAllCloudflareRecors.md
Last active November 5, 2024 17:22
Cloudflare delete all DNS records. Just go to cloudflare dns zones, open your browers developer console and paste this javascript code.

image

Real developers are not used to clicking, it's allways easier to write a script to do it for you.
@flyingwebie
flyingwebie / custom_wp_query_repeater.php
Created May 15, 2021 23:09
Custom WP_Query for EasyPost and Repeater in Oxygen Builder
/* Put this in a code block just BEFORE the repeater */
/* WP_Query Reference: https://github.com/luetkemj/wp-query-ref */
<?php
add_action( 'pre_get_posts', 'custom_query_name' );
function custom_query_name( $query ) {
$cpt_id = get_queried_object_id();
@flyingwebie
flyingwebie / Website_Project_Workflow.md
Last active January 21, 2021 16:48
Website Project Workflow

Website Workflow

(1) Proposal & Agreement

  • Create and send the Proposal
  • Create and send the Agreement

(2) Create Wireframe

  • Ask for the Logo (Important)
    • THIS IS IMPORTANT BECAUSE WE HAVE TO FIND THE RIGHT FONT AND THE RIGHT COLOR PALETTE
  • Create Wireframe with Figma
@aleua
aleua / oxygen-repeater-dynamic-query.php
Created June 11, 2020 09:00 — forked from yankiara/oxygen-repeater-dynamic-query.php
Use dynamic queries with Oxygen's repeater
/*
* Example of related posts repeater for any CPT with taxonomy:
* - Filter query to prevent altering queries inside the repeater items,
* - Retrieve post category slug : I have only one for each post, so I just take first element.
* (You might need to add error tests, of course, if you don't accept empty results,
* for instance if you forgot to set post category.)
* - Set tax_query arg with category slug
* - Set random order
* - Exclude current post
* - Deactivate pagination
@yankiara
yankiara / oxygen-repeater-dynamic-query.php
Last active July 15, 2024 15:17
Use dynamic queries with Oxygen's repeater
/* I'll put here different examples of dynamic query for Oxygen repeater :
* - Use one of the following repeater_dynamic_query definitions
* in code block just BEFORE the repeater
* - Set the repeater custom query settings : post type, number of posts, order...
* - Add the remove_action in a code block AFTER the repeater
*/
/****************************************************************************************************
* Display related posts for any CPT with taxonomy:
@bradtraversy
bradtraversy / mongodb_cheat_sheet.md
Last active November 15, 2024 10:00
MongoDB Cheat Sheet

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

@giovanni-d
giovanni-d / allinonemigration.md
Last active November 4, 2024 06:29
All-in-One WP Migration - Restore From Server (without PRO version) - Restore

All-in-One WP Migration Restore From Server (without pro version)

If you don't want to pay for the PRO version of this plugin, and you want to use the "Restore from Server" functionally that was present in the version 6.77, follow the instructions below:

  1. Open the js file: wp-content/plugins/all-in-one-wp-migration/lib/view/assets/javascript/backups.min.js
  2. On line 1208, replace the code below:
$('.ai1wm-backup-restore').click(function (e) {
@cartpauj
cartpauj / memberpress-footer-tracking-script-thank-you-page.php
Created May 1, 2019 19:23
MemberPress footer tracking scripts on the thank you page