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
https://font-display.glitch.me/ |
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
Anyone affected by Google Chrome stopping .dev URLs from working: as a quick fix do this | |
Create an overwriting google-chrome executable at: | |
sudo nano /usr/local/bin/google-chrome | |
Make the content this: | |
#!/bin/bash |
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
anyway, commands should be as follows: | |
nano ~/bin/deploy | |
then paste the following into the file and save it: | |
#!/bin/bash | |
dep --file=./deployment/development/deploy.php deploy develop | |
CTRL+X, then Y, then ENTER (to save and quit nano) |
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
##### Setting Up Foundation ##### | |
--------------------------------- | |
1)Download foundation at: | |
http://320press.com/wp-foundation/v2-0-foundation-wordpress-theme/ | |
(check downloads for already downloaded version). | |
2)Drop wp-foundation folder into themes file of project | |
3)create style.css in child theme and add the following code: |
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
div { | |
position:relative; | |
} | |
img { | |
bottom:0; | |
margin:auto; | |
position:absolute; | |
top:0; | |
} | |
.image { |
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
http://wordpress.org/plugins/multiple-featured-images/installation/ |
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
http://wordpress.org/plugins/meta-box/ | |
https://github.com/humanmade/Custom-Meta-Boxes |
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
<?php | |
add_action('init', 'create_product_post_type'); | |
function create_product_post_type() { | |
register_post_type('product' , array( | |
'labels' => array( | |
'name' => __('product'), | |
'singular_name' => __('product') | |
), |
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
_The Options Framework Theme has all the code included to build a out a full featured options panel. It’s a bundled version of the Options Framework Plugin for those folks who want to build the options directly into the theme (rather than relying on a plugin). |
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
Zeus redirection can often confuse people as it looks far more complicated than mod_rewrite under Apache. Below I've included some examples of common rewrites that you may find useful. All of these examples just need to be placed into a file named rewrite.script at the root of your website (where the index file is). | |
Redirect to a Different Website | |
If you want to redirect one website to another on the Zeus Web Server platform, simply use the following code : | |
insensitive match URL into $ with ^/(.*) | |
if matched then | |
set OUT:Location = http://www.othersite.com | |
set RESPONSE=301 |
NewerOlder