Getting started:
Related tutorials:
- MySQL-CLI: https://www.youtube.com/playlist?list=PLfdtiltiRHWEw4-kRrh1ZZy_3OcQxTn7P
- Analyzing Business Metrics: https://www.codecademy.com/learn/sql-analyzing-business-metrics
Getting started:
Related tutorials:
I can't test it on safari/mac but Safari and Google Chrome uses WebKit rendering engine so it is very likely that every hack works in Safari. | |
Google Chrome is rather new player but it rapidly increases and there is a need for using specific styles only for that browser. Thats why i am looking for hack for Google Chrome. | |
Hack 1: @media and -webkit-min-device-pixel-ratio | |
Testsuite: This text is red in Google Chrome. | |
This hack uses webkit specific feature. | |
/* will be red only in google chrome */ |
<?php | |
//* Do NOT include opening php tag | |
//* Remove Genesis hmlt5 shiv and add Modernizr instead | |
remove_action( 'wp_head', 'genesis_html5_ie_fix' ); | |
add_action( 'wp_head', 'add_mondernizr' ); | |
function add_mondernizr() { | |
if ( ! genesis_html5() ) | |
return; |
<?php | |
//* Remove .site-inner - All Site | |
add_filter( 'genesis_markup_site-inner', '__return_null' ); | |
add_filter( 'genesis_markup_content-sidebar-wrap_output', '__return_false' ); | |
add_filter( 'genesis_markup_content', '__return_null' ); | |
//* Remove .site-inner - Only Home Page | |
function thmeprefix_remove_homepage_content() { | |
if ( is_front_page() ) { | |
add_filter( 'genesis_markup_site-inner', '__return_null' ); |
<?php | |
//* Do NOT include the opening php tag | |
//* Remove the site footer | |
remove_action( 'genesis_footer', 'genesis_footer_markup_open', 5 ); | |
remove_action( 'genesis_footer', 'genesis_do_footer' ); | |
remove_action( 'genesis_footer', 'genesis_footer_markup_close', 15 ); | |
//* Customize the site footer | |
add_action( 'genesis_footer', 'bg_custom_footer' ); |
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
/***********basic************/ | |
/*Form width*/ | |
.wpcf7 { | |
text-align: left; | |
width: 40%; | |
} | |
/*Input Field widths*/ | |
.wpcf7-text, .wpcf7-textarea { |
<?php | |
// Add to existing functions.php file | |
// Disable support for comments and trackbacks in post types | |
function df_disable_comments_post_types_support() { | |
$post_types = get_post_types(); | |
foreach ($post_types as $post_type) { | |
if(post_type_supports($post_type, 'comments')) { | |
remove_post_type_support($post_type, 'comments'); |
custom-search-form.php | |
============================================ | |
<div class="content-search"> | |
<form role="search" method="get" id="searchform" class="searchform" action="<?php echo get_site_url(); ?>"> | |
<div> | |
<label class="screen-reader-text" for="s">Search for:</label> | |
<input type="text" value="<?php the_search_query(); ?>" name="s" id="s" /> | |
<?php wp_dropdown_categories( array( |