This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
/** | |
* Repeatable Custom Fields in a Metabox | |
* Author: Helen Hou-Sandi | |
* | |
* From a bespoke system, so currently not modular - will fix soon | |
* Note that this particular metadata is saved as one multidimensional array (serialized) | |
*/ | |
function hhs_get_sample_options() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* WordPress Chosen Taxonomy Metabox | |
* Author: Helen Hou-Sandi | |
* | |
* Use Chosen for a replacement taxonomy metabox in WordPress | |
* Useful for taxonomies that aren't changed much on the fly and are | |
* non-hierarchical in nature, as Chosen is for flat selection only. | |
* You can always use the taxonomy admin screen to add/edit taxonomy terms. | |
* Categories need slightly different treatment from the rest in order to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* f(x) Page Builder Base Admin JS | |
* License: GPLv2 or later | |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt | |
* | |
* @link https://shellcreeper.com/wp-page-builder-plugin-from-scratch/ | |
* @author David Chandra Purnama <[email protected]> | |
* @copyright Copyright (c) 2016, Genbu Media | |
**/ | |
jQuery( document ).ready( function( $ ){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @author Nivo Themes | |
* @since 1.0 | |
* @package nivoshop | |
* @snippet Brand Metas | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$lpa_az_args = array( | |
'posts_per_page' => -1, | |
'post_type' => 'urunler', | |
'orderby' => 'title', | |
'order' => 'ASC' | |
); | |
$lpa_az_posts = get_posts( $lpa_az_args ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class dd_slider_meta { | |
public function __construct() { | |
if ( is_admin() ) { | |
add_action( 'load-post.php', array( $this, 'init_metabox' ) ); | |
add_action( 'load-post-new.php', array( $this, 'init_metabox' ) ); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Admin Menu | |
Description: Admin paneli ve mneü özelleştirme | |
Version: 0.1 | |
License: GPL | |
Author: Bülent Sakarya | |
Author URI: http://www.nivothemes.com | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sc_draw_calendar( $month, $year ){ | |
//start draw table | |
$calendar = '<table cellpadding="0" cellspacing="0" class="calendar">'; | |
$day_names = array( | |
0 => __('Pazar', 'pippin_sc'), | |
1 => __('Pazartesi', 'pippin_sc'), | |
2 => __('Salı', 'pippin_sc'), | |
3 => __('Çarşamba', 'pippin_sc'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function cariyazdir($id) | |
{ | |
$cari = Cari::where('musteriler_id', '=', $id)->orderBy('id', 'DESC')->get(); | |
$borc = Cari::where('musteriler_id', '=', $id)->sum('borc'); | |
$alacak = Cari::where('musteriler_id', '=', $id)->sum('alacak'); | |
$durum = $borc - $alacak; | |
$durum = number_format($durum,2,",","."); | |
$musteri = Musteriler::find($id); | |
$html = '<html lang="tr-TR"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>'; |