Skip to content

Instantly share code, notes, and snippets.

S. Ali Mihandoost AliMD

View GitHub Profile
@AliMD
AliMD / nexus-ota-updates-2016-02-01.md
Created February 7, 2016 10:45 — forked from jduck/nexus-ota-updates-2016-02-01.md
February 2016 Nexus OTA Updates - Security Level 2016-02-01
@AliMD
AliMD / ThemeForest Total Sale Calculator.md
Last active December 14, 2015 15:39
ThemeForest Total Sale and Sale/Month Calculator and Convert to Iranian Rial ;)

ThemeForest Total Sale Calculator

Create a bookmark in your broser and copy pase calc.min.js content in url.
Now you can go to the a themeforest page and click on that bookmark.
You can set window.dollarInToman=5000 in js console.
If you want to make money in themeforest like us cotact me ;)

@AliMD
AliMD / gist:3932317
Created October 22, 2012 16:16 — forked from billerickson/gist:1325991
Menu With Description class
// Customizing WordPress Menu With Descriptions
class Menu_With_Description extends Walker_Nav_Menu {
function start_el(&$output, $item, $depth, $args) {
global $wp_query;
$indent = ( $depth ) ? str_repeat( "\t", $depth ) : '';
$class_names = $value = '';
$classes = empty( $item->classes ) ? array() : (array) $item->classes;