Skip to content

Instantly share code, notes, and snippets.

View ashrafbd1496's full-sized avatar

Md Ashraf Uddin ashrafbd1496

View GitHub Profile
first step setup
--------------
1. ruby -v
2. gem install sass
3. gem source -a http://rubygems.org/
2nd step (sass and css integrated )
-----------------
<?php
//save theme active time
function my_theme_activation_init() {
// Check if already saved the activation date & time
// to prevent over-writing if user deactive & active theme
// multiple time
if(!get_option('mytheme_activation_time', false)){