/* * This theme styles the visual editor to resemble the theme style, * specifically font, colors, icons, and column width. */ //Öne çıkan görsel add_theme_support( 'post-thumbnails' ); //Boyut set_post_thumbnail_size( 160, 160, true ); add_image_size( 'slider-thumb', 500, 9999, true ); //////////////////////////////////////////////// //Site Başlık function minibig_wp_title( $title, $sep ) { global $paged, $page; // if ( is_feed() ) return $title; $title .= get_bloginfo( 'name' ); // $site_description = get_bloginfo( 'description', 'display' ); if ( $site_description && ( is_home() || is_front_page() ) ) $title = "$title $sep $site_description"; // if ( $paged >= 2 || $page >= 2 ) $title = "$title $sep " . sprintf( __( 'Page %s', 'minibig' ), max( $paged, $page ) ); return $title; } add_filter( 'wp_title', 'minibig_wp_title', 10, 2 ); //////////////////////////////////////////////// //Sayfalama function sayfalama($pages = '', $range = 3){ $showitems = ($range * 2)+1; global $paged; if(empty($paged)) $paged = 1; if($pages == '') { global $wp_query; $pages = $wp_query->max_num_pages; if(!$pages) { $pages = 1; } } if(1 != $pages) { echo "
"; echo "".$paged."/".$pages.""; if($paged > 2 && $paged > $range+1 && $showitems < $pages) echo "İlk"; if($paged > 1 && $showitems < $pages) echo "«"; for ($i=1; $i <= $pages; $i++) { if (1 != $pages &&( !($i >= $paged+$range+1 || $i <= $paged-$range-1) || $pages <= $showitems )) { echo ($paged == $i)? "".$i."":"".$i.""; } } if ($paged < $pages && $showitems < $pages) echo "»"; if ($paged < $pages-1 && $paged+$range-1 < $pages && $showitems < $pages) echo "Son"; echo "
"; } } //////////////////////////////////////////////// //Devamını oku function new_excerpt_more( $more ) { return '...'; } add_filter( 'excerpt_more', 'new_excerpt_more' ); function new_excerpt_length($length) { return 30; } add_filter('excerpt_length', 'new_excerpt_length'); //////////////////////////////////////////////// //Menüler register_nav_menus( array( 'ust_menu' => 'Üst Menü', 'alt_menu' => 'Alt Menü', ) ); //////////////////////////////////////////////// //Aktif Menü add_filter('nav_menu_css_class' , 'special_nav_class' , 10 , 2); function special_nav_class($classes, $item){ if( in_array('current-menu-item', $classes) ){ $classes[] = 'aktif'; } return $classes; } //////////////////////////////////////////////// //Sidebar if ( function_exists('register_sidebar') ) register_sidebars(1, array( 'name' => 'Sidebar', 'before_widget' =>'
', 'before_title' => '

', 'after_title' => '

', 'after_widget' =>'
', ) ); //////////////////////////////////////////////// //Tema Paneli if ( STYLESHEETPATH == TEMPLATEPATH ) { define('OF_FILEPATH', TEMPLATEPATH); define('OF_DIRECTORY', get_bloginfo('template_directory')); } else { define('OF_FILEPATH', STYLESHEETPATH); define('OF_DIRECTORY', get_bloginfo('stylesheet_directory')); } require_once (OF_FILEPATH . '/admin/admin-functions.php'); require_once (OF_FILEPATH . '/admin/admin-interface.php'); require_once (OF_FILEPATH . '/admin/theme-options.php'); require_once (OF_FILEPATH . '/admin/theme-functions.php'); //////////////////////////////////////////////// //HTML5 Arama Formu add_theme_support( 'html5', array( 'search-form' ) ); //////////////////////////////////////////////// //Manşet alanı function sgt_function_grid_post_slider(){ global $post; query_posts( array( 'posts_per_page' => 5, 'orderby' => 'meta_value_num', 'order' => 'DESC', 'tag' => 'manşet' ) ); if (have_posts()) : echo '
'; $loop=1; $i=1; while (have_posts()) : the_post(); echo '
'; $feat_image = wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); echo '
'; echo '
'; echo ''; echo '
'; echo '
'; echo ' '; echo esc_html( get_the_date( 'j F Y' ) ) ; echo ''; echo '

'; echo '';echo the_title(); echo '

'; echo '

';the_excerpt();echo '

'; echo '
'; echo '
'; echo '
'; if($loop == 5) { $loop=0; } $loop++; $i++; endwhile; echo '
'; endif; wp_reset_query(); } ?> Gizlilik Sözleşmesi | Tumblr Takipçi

Gizlilik Politikası

Gizlilik Politikası
© Copyrigth 2016 begeniyap.com tüm hakları saklıdır. Kod, haber, resim, röportaj gibi her türlü içeriğinin tüm telif hakları begeniyap.com’a aittir. begeniyap.com sitesinde yer alan bütün yazılar, materyaller, resimler, ses dosyaları, animasyonlar, videolar, dizayn, tasarım ve düzenlemelerimizin telif hakları 5846 numaralı yasa telif hakları korunmaktadır. Bunlar begeniyap.com’un yazılı izni olmaksızın ticari olarak herhangi bir şekilde kopyalanamaz, dağıtılamaz, değiştirilemez, yayınlanamaz. İzinsiz ve kaynak belirtilmeksizin kopyalama ve kullanımı yapılamaz.
begeniyap’daki harici linkler ayrı bir sayfada açılır. Yayınlanan yazı ve yorumlardan yazarları sorumludur. begeniyap’da hiçbir bildirim yapmadan, herhangi bir zaman değişikliğe gidebilir. Bu sitedeki bilgilerden kaynaklı hataların hiçbirinden sorumlu değildir.

Privacy Policy
We will keep your information confidential except where disclosure is required or permitted by law (for example to government bodies and law enforcement agencies). Generally, we will only use your information within the begeniyap.com. However, sometimes the begeniyap.com uses third parties to process your information. begeniyap.com requires these third parties to comply strictly with its instructions and the begeniyap.com requires that they do not use your personal information for their own business purposes, unless you have explicitly consented to the use of your personal information in this way. When you interact with the begeniyap.com we sometimes receive personal information about you. For example, if you write to us or sign up to a newsletter, you might tell us who you are, how we can contact you and what you think of the begeniyap.com and its services. When you use begeniyap.com online services, we use cookies and collect IP addresses. You can find out more about this in the begeniyap.com cookies section of our full Privacy Policy.