Skip to content

Instantly share code, notes, and snippets.

Jean-Philippe Marchand jpmarchand

Block or report user

Report or block jpmarchand

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jpmarchand / index.html
Last active Aug 20, 2019
Custom Dropshare Landing Page
View index.html
<!-- Dropshare Landing Page HTML -->
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="">
<link href="" rel="stylesheet">
View functions.php
//* Do NOT include the opening php tag
//* Add JS to allow elements to be faux anchors
//* Force links to be opened in a new tab
add_action( 'wp_footer', 'bg_script_clickable' );
function bg_script_clickable() {
echo '<script type="text/javascript">
jQuery(document).ready(function($) {
jpmarchand / style.css
Last active Jul 25, 2019
Dropshare Landing Page CSS
View style.css
/* Dropshare Landing Page CSS - Updated July 2019 */
html {
font-size: 62.5%; /* 10px browser default */
/* Chrome fix */
body > div {
font-size: 2rem;
jpmarchand / enqueue-from-cdn-urls.php
Last active Sep 17, 2016
How to enqueue scripts and styles in a Genesis child theme?
View enqueue-from-cdn-urls.php
//* Enqueue scripts and styles from CDN URLs
function enqueue_scripts_styles_cdn_urls() {
wp_enqueue_script('localScroll', '//');
wp_enqueue_script('scrollTo', '//');
add_action( 'wp_enqueue_scripts', 'enqueue_scripts_styles_cdn_urls' );
jpmarchand / fi.php
Created Sep 15, 2016
FusionInvoice 2016-16 French Translations
View fi.php
* This file is part of FusionInvoice.
* (c) FusionInvoice, LLC <>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
You can’t perform that action at this time.