Skip to content

Instantly share code, notes, and snippets.

@atsea
atsea / mobile tags for your '<head>'
Created July 24, 2011 21:45 — forked from chuanxshi/mobile tags for your '<head>'
mobile tags for your '<head>'
<!doctype html>
<!-- Helpful things to keep in your <head/>
// Shi Chuan, https://github.com/shichuan/mobile-html5-boilerplate
-->
<head>
<!-- consider using below meta tags if you want to disable format detection by default -->
<meta name="format-detection" content="telephone=no"/>
<meta name="format-detection" content="address=no"/>
<!-- consider using below link tag if the page is duplicate content of a desktop version -->
@atsea
atsea / divi-functions.php
Last active May 5, 2017 14:49 — forked from amElnagdy/divi-functions.php
Enables custom post types in Divi Builder
<?php
/**
ENABLE CUSTOM POST TYPES WITHIN DIVI BUILDER
@author Nagdy at wpcolt.com
@see https://wpcolt.com/enable-divi-visual-builder-on-custom-post-types/
*/
add_filter('et_builder_post_types', 'divicolt_post_types');
add_filter('et_fb_post_types','divicolt_post_types' ); // Enable Divi Visual Builder on the custom post types
function divicolt_post_types($post_types)
@atsea
atsea / add-to-homescreen-test.html
Created September 24, 2020 20:37 — forked from PaulKinlan/add-to-homescreen-test.html
iOS Add to Homescreen => simulate web app manifest
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Add to Homescreen</title>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-title" content="Test name 2">