This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Contact Form 7 for pipes USA states list select | |
"Alabama|AL" | |
"Alaska|AK" | |
"Arizona|AZ" | |
"Arkansas|AR" | |
"California|CA" | |
"Colorado|CO" | |
"Connecticut|CT" | |
"Delaware|DE" | |
"District of Columbia|DC" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://sass-lang.com/guide | |
https://sass-scss.ru/guide/ | |
/*** Setup watcher in IDE ***/ | |
/usr/local/bin/scss | |
--no-cache | |
--update | |
--sourcemap=none | |
$FileName$:$ProjectFileDir$/css/$FileNameWithoutExtension$.css |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Books to read | |
https://exploringjs.com/impatient-js/ | |
// Defines that JavaScript code should be executed in "strict mode". | |
'use strict'; | |
// Need to study, in order: | |
https://www.digitalocean.com/community/tutorials/understanding-variables-scope-hoisting-in-javascript | |
https://www.digitalocean.com/community/tutorials/understanding-syntax-and-code-structure-in-javascript |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Custom templates, Overrade template | |
https://docs.woocommerce.com/document/template-structure/ | |
// Get order info on thankyou page | |
https://businessbloomer.com/woocommerce-easily-get-order-info-total-items-etc-from-order-object/ | |
// Get Order ID | |
$order->get_id(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Settings PHP | |
https://in.godaddy.com/help/what-filename-does-my-php-initialization-file-need-to-use-8913 | |
https://www.godaddy.com/help/php-upload-limits-on-shared-hosting-1475 | |
Managed WordPress .user.ini /html (one per website) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Remove Dashboard Meta Boxes | |
Plugin URI: http://pmg.co/category/wordpress | |
Description: Removes the default dashboard widgets from the WordPress admin. | |
Author: Christopher Davis | |
Author URI: http://pmg.co/people/chris | |
License: GPL2 | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/************ user system ************/ | |
https://wordpress.stackexchange.com/questions/61353/how-to-check-username-password-without-signing-in-the-user | |
// Authenticate a user, confirming the username and password are valid. | |
wp_authenticate_username_password( $user, $username, $password ); | |
username_exists( $username); | |
https://developer.wordpress.org/reference/functions/get_userdata/ | |
get_userdata(int $user_id) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// ppl ipn, test paypal | |
// sitename.com/?action=ipn_handler | |
add_action( 'init', 'paypal_ipn' ); | |
// Custom IPN |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://githowto.com/ | |
https://training.github.com/ | |
https://www.godaddy.com/help/use-git-to-manage-your-site-12067 | |
https://www.nobledesktop.com/learn/git/git-branches | |
// conventions | |
https://dev.to/varbsan/a-simplified-convention-for-naming-branches-and-commits-in-git-il4 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
https://wp-kama.ru/id_2018/ajax-v-wordpress.html | |
https://codex.wordpress.org/AJAX_in_Plugins | |
// Additional good resources | |
https://premium.wpmudev.org/blog/load-posts-ajax/ | |
ajaxurl // variabila care este declarata global pe toate paginile de administrator, | |
// deobicei are valoare /wp-admin/admin-ajax.php | |
// aceasta variabila nu este declarata in template (thema) site-ului |