Category - Genel

Oops, we could not find what you were looking for...

// Themeoptions $velocity_themeoptions = velocity_getThemeOptions(); /* Default Background */ $velocity_default_bgimage = empty($velocity_themeoptions['velocity_img_bgdefault']) ? "" : $velocity_themeoptions['velocity_img_bgdefault']; /* Theme Layout */ $velocity_themelayout = $velocity_themeoptions['velocity_themelayout']; if($velocity_themelayout=="Full-Width"){ $velocity_wideclass = "wide"; } else { $velocity_wideclass = ""; } $velocity_bgimage = ""; $velocity_post_id = get_the_ID(); if (isset($velocity_post_id)){ $velocity_pagecustoms = velocity_getOptions($velocity_post_id); //Custom Background if(isset($velocity_pagecustoms["velocity_custom_background"])){ $velocity_image = wp_get_attachment_image_src($velocity_pagecustoms["velocity_custom_background"], 'full'); $velocity_image = $velocity_image[0]; $velocity_themeoptions['velocity_img_bgdefault'] = $velocity_image; $velocity_themeoptions['velocity_img_bgtype'] = $velocity_pagecustoms["velocity_custom_background_type"]; } } $velocity_backstretch = $velocity_themeoptions['velocity_img_bgdefault']; $velocity_themelayout = $velocity_themeoptions['velocity_themelayout']; $velocity_bgtype = $velocity_themeoptions['velocity_img_bgtype']; //Cutomizer Start $getpreview = isset($_COOKIE['velocitypreview']) && $_COOKIE['velocitypreview']!='' ? $_COOKIE['velocitypreview'] : "velocity1.css"; switch ($getpreview) { case "velocity_blue_widedark.css": $velocity_wideclass = "wide"; break; case "velocity_blue_boxeddark.css": $velocity_wideclass = ""; break; case "velocity_brown.css": $velocity_wideclass = ""; break; case "velocity_green.css": $velocity_wideclass = ""; $velocity_backstretch = "http://themepunch.com/velocity/wp-content/uploads/2014/01/bg_green2.jpg"; $velocity_themelayout = "Boxed"; $velocity_bgtype = "full"; break; case "velocity_orange.css": $velocity_wideclass = "wide"; break; case "velocity_smoked.css": $velocity_wideclass = "wide"; break; default: break; } //Cutomizer END ?>