Skip to content

Instantly share code, notes, and snippets.

View vicso-name's full-sized avatar
🦖
I may be slow to respond.

Victor vicso-name

🦖
I may be slow to respond.
View GitHub Profile
@Gori4ka
Gori4ka / example-ajax-enqueue.php
Last active September 10, 2020 16:32
Simple WordPress Ajax Example
<?php
function example_ajax_enqueue() {
// Enqueue javascript on the frontend.
wp_enqueue_script(
'example-ajax-script',
get_template_directory_uri() . '/js/simple-ajax-example.js',
array('jquery','wp-util')
);
@ZeRRoCull
ZeRRoCull / carousel_nav_trigger.js
Last active May 13, 2023 19:22
Owl Carousel: переназначаем кнопки по умолчанию
@jamesmacwhite
jamesmacwhite / hiding-content-outlook-webmail.html
Last active October 12, 2023 11:05
Hiding content with mso-hide:all; to be more friendly with Outlook.com
<!--
Example 1: Using IF ELSE logic
Works with Outlook (Desktop)?: Yes
Works with Outlook.com?: No
When using IF ELSE logic, Outlook.com will remove content in both conditionals, which is problematic.
-->
<!--[if mso]>
<table border="0" cellpadding="0" cellspacing="0" width="100%">