Skip to content

Instantly share code, notes, and snippets.

// url support start // /?layout=threecolumn
if(isset($_GET['layout'])){
$consulti_blog_layout_opts = $_GET['layout'];
}else{
$consulti_blog_layout_opts = $consulti_blog_layout_opts;
}
// url support end
<?php
//another page another header style
$menu_style_meatbox = get_post_meta(get_the_id(),'_ThemeName_page_menu_style',true);
$menu_style_theme_option = $ThemeName_opt ['ThemeName_header_layout'];
if( $menu_style_meatbox!='none'){
$menu_style_theme_option = $menu_style_meatbox;
}
switch( $menu_style_theme_option ){
case 2:
@eleyasbd
eleyasbd / add_new_user.php
Created November 8, 2017 09:27 — forked from HelloAlberuni/add_new_user.php
new user add for hgapp
<?php include 'config.php'; ?>
<?php
if (isset($_POST['form_referer_add'])) {
try{
$refer_name = $_POST['refer_name'];
if (empty($refer_name)) {
throw new Exception("Referance name can't be empty");
}
@eleyasbd
eleyasbd / SUBLIME TEXT LICENCE KEY 2017
Last active September 30, 2017 04:33
Sublime Text 3 Serial key build is 3143
## Sublime Text 3 Serial key build is 3103
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
B085E65E 2F5F5360 8489D422 FB8FC1AA