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
// | |
// SmoothScroll for websites v1.3.8 (Balazs Galambosi) | |
// Licensed under the terms of the MIT license. | |
// | |
// You may use it in your theme if you credit me. | |
// It is also free to use on any individual website. | |
// | |
// Exception: | |
// The only restriction would be not to publish any | |
// extension for browsers or native application |
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
How to install SASS on Windows 7 | |
1 - Download the ruby http://rubyinstaller.org/downloads/ | |
2 - Click install and select the option to create environment variables | |
( | |
If you forgot to schedule go to: | |
My Computer> Properties> Advanced Options> Environment Variables | |
Look for path and put in the path of the ruby bin installed, eg: C:\Ruby193\bin; | |
) | |
3 - Open cmd and download the gem of the SASS, typing: gem install sass |
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
//How to edit a user profile on the front end? | |
//http://wordpress.stackexchange.com/questions/9775/how-to-edit-a-user-profile-on-the-front-end | |
//Forcing nickname as display_name in custom edit profile template | |
//http://wordpress.stackexchange.com/questions/35403/forcing-nickname-as-display-name-in-custom-edit-profile-template | |
/////// | |
<?php |
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
//http://designgala.com/how-to-change-wordpress-theme-directly-from-database/ | |
UPDATE wp_options SET option_value = 'default' WHERE option_name = 'template'; | |
UPDATE wp_options SET option_value = 'default' WHERE option_name = 'stylesheet'; | |
UPDATE wp_options SET option_value = 'default' WHERE option_name = 'current_theme'; |
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
http://wordpress.stackexchange.com/questions/120060/frontend-image-upload?rq=1 | |
http://wordpress.stackexchange.com/questions/19064/frontend-image-uploading-from-edit-profile-page-goldenapples?rq=1 | |
http://wordpress.stackexchange.com/questions/24902/frontend-simple-local-avatar-upload?rq=1 | |
http://wordpress.stackexchange.com/questions/54044/wordpress-user-profile-upload-if-page-is-saved-file-reset?rq=1 | |
http://wordpress.stackexchange.com/questions/25635/uploading-avatar-from-the-frontend?rq=1 | |
http://wordpress.org/support/topic/plugin-simple-local-avatars-using-this-plugin-in-a-front-end-page | |
http://www.trottyzone.com/integrating-profile-builder-simple-local-avatars-with-php-code-for-post/ | |
http://www.wordpress-fr.net/support/viewtopic.php?id=80521 | |
http://wordpress.org/support/topic/front-side-support | |
http://www.trottyzone.com/upload-a-photo-via-front-end/ |
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
<body> | |
<br /> | |
<br /> | |
<br /> | |
<style type='text/css'> | |
a.link{margin:0;padding:0;border:none !important;text-decoration:none !important;} | |
table,tr,td,a,span{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;} | |
</style> | |
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8' /> | |
<meta name='format-detection' content='telephone=no' /> |
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
<style> | |
#collections-listing ul { | |
list-style-type: none; | |
list-style-position: outside; | |
overflow: hidden; | |
} | |
#collections-listing ul li { | |
float: left; |
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
/** | |
* Forces all PDF links to download automatically, if the browser supports it. | |
* Otherwise, open the link in a new browser window or tab. | |
*/ | |
jQuery(document).ready(function($) { | |
$('a[href$=".pdf"]') | |
.attr('download', '') | |
.attr('target', '_blank'); | |
}); |
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
import {render} from 'react-dom'; | |
import DataActions from 'flux/actions/DataActions.js'; | |
import Home from 'components/Home.js'; | |
import About from 'components/About.js'; | |
import Header from 'components/Header.js'; | |
import { | |
BrowserRouter as Router, | |
Route, |
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 | |
// Load WordPress | |
require_once 'path/to/www/wp-load.php'; | |
require_once ABSPATH . '/wp-admin/includes/taxonomy.php'; | |
// Set the timezone so times are calculated correctly | |
date_default_timezone_set('Europe/London'); | |
// Create post |
OlderNewer