This file contains 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
#301 Redirects for .htaccess | |
#Redirect a single page: | |
Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
#Redirect an entire site: | |
Redirect 301 / http://www.domain.com/ | |
#Redirect an entire site to a sub folder | |
Redirect 301 / http://www.domain.com/subfolder/ |
This file contains 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
<link rel='stylesheet' id='wp-block-library-css' href='https://spitzrestaurant.com/wp-includes/css/dist/block-library/style.min.css' type='text/css' media='all' /> | |
<link rel='stylesheet' id='wp-block-library-theme-css' href='https://spitzrestaurant.com/wp-includes/css/dist/block-library/theme.min.css' type='text/css' media='all' /> | |
<link rel='stylesheet' id='jquery-ui-theme-css' href='https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.min.css' type='text/css' media='all' /> | |
<link rel='stylesheet' id='sb-font-awesome-css' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css' type='text/css' media='all' /> | |
<link rel='stylesheet' id='twentyseventeen-style-css' href='https://spitzrestaurant.com/wp-content/themes/spitz-twentyseventeen/assets/css/twentyseventeen_style.css' type='text/css' media='all' /> | |
<link rel='stylesheet' id='spitz-twentyseventeen-style-css' href='https://spitzrestaurant.com/wp-content/themes/spitz-twentyseventeen/assets/css/them |
This file contains 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
<link rel='stylesheet' id='wp-block-library-css' href='https://spitzrestaurant.com/wp-includes/css/dist/block-library/style.min.css' type='text/css' media='all' /> | |
<link rel='stylesheet' id='wp-block-library-theme-css' href='https://spitzrestaurant.com/wp-includes/css/dist/block-library/theme.min.css' type='text/css' media='all' /> | |
<link rel='stylesheet' id='jquery-ui-theme-css' href='https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.min.css' type='text/css' media='all' /> | |
<link rel='stylesheet' id='sb-font-awesome-css' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css' type='text/css' media='all' /> | |
<link rel='stylesheet' id='twentyseventeen-style-css' href='https://spitzrestaurant.com/wp-content/themes/spitz-twentyseventeen/assets/css/twentyseventeen_style.css' type='text/css' media='all' /> | |
<link rel='stylesheet' id='spitz-twentyseventeen-style-css' href='https://spitzrestaurant.com/wp-content/themes/spitz-twentyseventeen/assets/css/them |
This file contains 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
<link rel='stylesheet' id='wp-block-library-css' href='https://spitzrestaurant.com/wp-includes/css/dist/block-library/style.min.css' type='text/css' media='all' /> | |
<link rel='stylesheet' id='wp-block-library-theme-css' href='https://spitzrestaurant.com/wp-includes/css/dist/block-library/theme.min.css' type='text/css' media='all' /> | |
<link rel='stylesheet' id='jquery-ui-theme-css' href='https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.min.css' type='text/css' media='all' /> | |
<link rel='stylesheet' id='sb-font-awesome-css' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css' type='text/css' media='all' /> | |
<link rel='stylesheet' id='twentyseventeen-style-css' href='https://spitzrestaurant.com/wp-content/themes/spitz-twentyseventeen/assets/css/twentyseventeen_style.css' type='text/css' media='all' /> | |
<link rel='stylesheet' id='spitz-twentyseventeen-style-css' href='https://spitzrestaurant.com/wp-content/themes/spitz-twentyseventeen/assets/css/them |
This file contains 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
<link rel='stylesheet' id='wp-block-library-css' href='https://spitzrestaurant.com/wp-includes/css/dist/block-library/style.min.css' type='text/css' media='all' /> | |
<link rel='stylesheet' id='wp-block-library-theme-css' href='https://spitzrestaurant.com/wp-includes/css/dist/block-library/theme.min.css' type='text/css' media='all' /> | |
<link rel='stylesheet' id='jquery-ui-theme-css' href='https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.min.css' type='text/css' media='all' /> | |
<link rel='stylesheet' id='sb-font-awesome-css' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css' type='text/css' media='all' /> | |
<link rel='stylesheet' id='twentyseventeen-style-css' href='https://spitzrestaurant.com/wp-content/themes/spitz-twentyseventeen/assets/css/twentyseventeen_style.css' type='text/css' media='all' /> | |
<link rel='stylesheet' id='spitz-twentyseventeen-style-css' href='https://spitzrestaurant.com/wp-content/themes/spitz-twentyseventeen/assets/css/them |
This file contains 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
//events - a super-basic Javascript (publish subscribe) pattern | |
var events = { | |
events: {}, | |
on: function (eventName, fn) { | |
this.events[eventName] = this.events[eventName] || []; | |
this.events[eventName].push(fn); | |
}, | |
off: function(eventName, fn) { | |
if (this.events[eventName]) { |