https://www.md5hashgenerator.com/
https://wordpress.org/support/article/brute-force-attacks/#limit-access-to-wp-login-php-by-ip
# Block access to wp-login.php.
<?php | |
// WP fun-functions | |
/* | |
* Custom favicon | |
*/ | |
function my_favicon() | |
{ ?> | |
<link rel="shortcut icon" href="https://www.---.com/your-custom-image.jpg" > | |
<?php } |
<?php | |
// General catch-all WP functions | |
Access token works | |
?> |
<?php | |
/** | |
* Adds Google Tag Manager (GTM) code in <head> | |
*/ | |
add_action( 'wp_head', 'sb_google_tag_manager',100 ); | |
function sb_google_tag_manager() { ?> | |
<!-- Google Tag Manager --> | |
<script>code here ...</script> |
https://www.md5hashgenerator.com/
https://wordpress.org/support/article/brute-force-attacks/#limit-access-to-wp-login-php-by-ip
# Block access to wp-login.php.
<?php | |
// Shortcodes | |
// sitebuilderone.com | |
// https://codex.wordpress.org/Shortcode_API | |
// Shortcodes are supposed to return your html, not echo it. | |
// types: https://speckyboy.com/getting-started-with-wordpress-shortcodes-examples/ | |
function sb1_current_mo_yr() { | |
wp core download
https://www.hongkiat.com/blog/wordpress-custom-upload-dir/
// https://www.hongkiat.com/blog/wordpress-custom-upload-dir/
django_commands.md | |
#django version - on MAC using version 3 | |
python3 -m django --version | |
#Create a project | |
django-admin.py startproject antonblog | |
# run project | |
python3 manage.py runserver |
/* https://stackoverflow.com/questions/49547/how-to-control-web-page-caching-across-all-browsers */
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
// display category terms for CPT3 | |
$terms = get_the_terms( $post->ID , 'website_tools_category' ); | |
foreach ( $terms as $term ) { | |
$term_link = get_term_link( $term, 'website_tools_category' ); | |
if( is_wp_error( $term_link ) ) | |
continue; | |
echo '<a href="' . $term_link . '">' . $term->name . '</a>'; | |
} | |
/* | |
SiteBuilderOne WHMCS Customization | |
templates>six>css>custom.css | |
*/ | |
@import "https://fonts.googleapis.com/css?family=Oxygen"; |