
İndirilecek dosyaların linkleri
https://github.com/alicinaroglu/bostema
https://github.com/jemes888/Arlo---Personal-Portfolio-Resume-Template
https://tr.wordpress.org/download/
https://sourceforge.net/projects/wampserver/files/
//İçerik Tipleri
function icerik_tipleri() {
$labels = array(
'name' => __( 'Hizmetlerim' ),
'singular_name' => __( 'Hizmetlerim'),
'menu_name' => __( 'Hizmetlerim' ),
'parent_item_colon' => __( 'Hizmetlerim' ),
'all_items' => __( 'Tüm Hizmetlerim' ),
'view_item' => __( 'Hizmetlerimi Gör' ),
'add_new_item' => __( 'Yeni Hizmet Ekle' ),
'add_new' => __( 'Yeni Hizmet Ekle' ),
'edit_item' => __( 'Hizmet Düzenle' ),
'update_item' => __( 'Hizmet Güncelle' ),
'search_items' => __( 'Hizmet Ara' ),
'not_found' => __( 'Bulunamadı' ),
'not_found_in_trash' => __( 'Çöpte Bulunamadı' ),
);
$args = array(
'label' => __( 'hizmet' ),
'description' => __( 'Hizmet' ),
'labels' => $labels,
'supports' => array( 'title', 'editor', 'thumbnail','comments','excerpt' ),
'hierarchical' => false,
'public' => true,
'show_ui' => true,
'show_in_menu' => true,
'show_in_rest' => true,
'rest_base' => 'at',
'show_in_nav_menus' => true,
'show_in_admin_bar' => true,
'menu_position' => 5,
"menu_icon" => "dashicons-welcome-learn-more",
'can_export' => true,
'has_archive' => true,
'exclude_from_search' => false,
'publicly_queryable' => true,
'capability_type' => 'post',
);
register_post_type( 'hizmet', $args );
$labels = array(
'name' => __( 'Portfolyo' ),
'singular_name' => __( 'Portfolyo'),
'menu_name' => __( 'Portfolyo' ),
'parent_item_colon' => __( 'Portfolyo' ),
'all_items' => __( 'Tüm Portfolyo' ),
'view_item' => __( 'Portfolyo Gör' ),
'add_new_item' => __( 'Yeni Portfolyo Ekle' ),
'add_new' => __( 'Yeni Portfolyo Ekle' ),
'edit_item' => __( 'Portfolyo Düzenle' ),
'update_item' => __( 'Portfolyo Güncelle' ),
'search_items' => __( 'Portfolyo Ara' ),
'not_found' => __( 'Bulunamadı' ),
'not_found_in_trash' => __( 'Çöpte Bulunamadı' ),
);
$args = array(
'label' => __( 'portfolyo' ),
'description' => __( 'Portfolyo' ),
'labels' => $labels,
'supports' => array( 'title', 'editor', 'thumbnail','comments','excerpt' ),
'hierarchical' => false,
'public' => true,
'show_ui' => true,
'show_in_menu' => true,
'show_in_rest' => true,
'rest_base' => 'at',
'show_in_nav_menus' => true,
'show_in_admin_bar' => true,
'menu_position' => 5,
"menu_icon" => "dashicons-admin-customizer",
'can_export' => true,
'has_archive' => true,
'exclude_from_search' => false,
'publicly_queryable' => true,
'capability_type' => 'post',
);
register_post_type( 'portfolyo', $args );
$labels = array(
'name' => __( 'Referanslar' ),
'singular_name' => __( 'Referanslar'),
'menu_name' => __( 'Referanslar' ),
'parent_item_colon' => __( 'Referanslar' ),
'all_items' => __( 'Tüm Referanslar' ),
'view_item' => __( 'Referans Gör' ),
'add_new_item' => __( 'Yeni Referans Ekle' ),
'add_new' => __( 'Yeni Referans Ekle' ),
'edit_item' => __( 'Referans Düzenle' ),
'update_item' => __( 'Referans Güncelle' ),
'search_items' => __( 'Referans Ara' ),
'not_found' => __( 'Bulunamadı' ),
'not_found_in_trash' => __( 'Çöpte Bulunamadı' ),
);
$args = array(
'label' => __( 'referans' ),
'description' => __( 'Referans' ),
'labels' => $labels,
'supports' => array( 'title', 'editor', 'thumbnail','comments','excerpt' ),
'hierarchical' => false,
'public' => true,
'show_ui' => true,
'show_in_menu' => true,
'show_in_rest' => true,
'rest_base' => 'at',
'show_in_nav_menus' => true,
'show_in_admin_bar' => true,
'menu_position' => 5,
"menu_icon" => "dashicons-admin-users",
'can_export' => true,
'has_archive' => true,
'exclude_from_search' => false,
'publicly_queryable' => true,
'capability_type' => 'post',
);
register_post_type( 'referans', $args );
}
add_action( 'init', 'icerik_tipleri', 0 );
//İçerik Tipi Kategorileri/
function taksonomiler() {
$labels = array(
"name" => __( 'Portfolyo Kategori', '' ),
"singular_name" => __( 'Portfolyo Kategori', '' ),
"menu_name" => __( 'Portfolyo Kategori', '' ),
"all_items" => __( 'Tüm Portfolyo Kategorileri', '' ),
"edit_item" => __( 'Portfolyo Kategorisi Düzenle', '' ),
"view_item" => __( 'Portfolyo Kategorisi Gör', '' ),
"update_item" => __( 'Portfolyo Kategorisi Güncelle', '' ),
"add_new_item" => __( 'Yeni Portfolyo Kategorisi Ekle', '' ),
"new_item_name" => __( 'Yeni Portfolyo Kategorisi Ekle', '' ),
);
$args = array(
"label" => __( 'Portfolyo Kategori', '' ),
"labels" => $labels,
"public" => true,
"hierarchical" => true,
"label" => "Portfolyo Kategori",
"show_ui" => true,
"query_var" => true,
"rewrite" => array( 'slug' => 'portfolyo-kategori', 'with_front' => true, 'hierarchical' => true ),
"show_admin_column" => true,
"show_in_rest" => true,
"rest_base" => "",
"show_in_quick_edit" => true,
);
register_taxonomy( "portfolyo-kategori", array( "portfolyo" ), $args );
}
add_action( 'init', 'taksonomiler' );
.alignleft {float: left;margin: 15px;}
.alignright {float: right;margin: 15px;}
.aligncenter {display:block;margin-top:15px;margin-bottom: 15px;margin-left: auto;margin-right: auto;}
.aligncenter,.alignleft,.alignright {padding: 15px;border:1px solid #dedede;}
.gallery:after {content:"";display:table;clear:both;}
img.aligncenter, div.aligncenter, figure.aligncenter, img.wp-post-image {display:block; margin:1em auto;}
img.alignright, div.alignright, figure.alignright {float:right; margin:1em 0 1em 2em;}
img.alignleft, div.alignleft, figure.alignleft, img.wp-post-image.attachment-thumb {float:left; margin:1em 1em 2em 0;}
figure {max-width: 100%; height: auto; margin:1em 0;}
p img.alignright, p img.alignleft {margin-top:0;}
.gallery {margin-top: 1em;}
.gallery figure img {max-width:100%; height:auto; margin:0 auto; display:block;}
.gallery figure {float:left; margin:0 2% 1em 0;}
.gallery.gallery-columns-1 figure {width:100%; margin:0 0 1em 0; float:none;}
.gallery.gallery-columns-2 figure {width:49%;}
.gallery.gallery-columns-2 figure:nth-of-type(even) {margin-right:0;}
.gallery.gallery-columns-2 figure:nth-of-type(odd) {clear:left;}
.gallery.gallery-columns-3 figure {width:32%;}
.gallery.gallery-columns-3 figure:nth-of-type(3n+3) {margin-right:0;}
.gallery.gallery-columns-3 figure:nth-of-type(3n+4) {clear:left;}
.gallery.gallery-columns-4 figure {width:23.25%;}
.gallery.gallery-columns-4 figure:nth-of-type(4n+4) {margin-right:0;}
.gallery.gallery-columns-4 figure:nth-of-type(4n+5) {clear:left;}
.gallery.gallery-columns-5 figure {width:18%;}
.gallery.gallery-columns-5 figure:nth-of-type(5n+5) {margin-right:0;}
.gallery.gallery-columns-5 figure:nth-of-type(5n+6) {clear:left;}
.gallery.gallery-columns-6 figure {width:14.2%;}
.gallery.gallery-columns-6 figure:nth-of-type(6n+6) {margin-right:0;}
.gallery.gallery-columns-6 figure:nth-of-type(6n+7) {clear:left;}
.gallery.gallery-columns-7 figure {width:12%;}
.gallery.gallery-columns-7 figure:nth-of-type(7n+7) {margin-right:0;}
.gallery.gallery-columns-7 figure:nth-of-type(7n+8) {clear:left;}
.gallery.gallery-columns-8 figure {width:10.2%;}
.gallery.gallery-columns-8 figure:nth-of-type(8n+8) {margin-right:0;}
.gallery.gallery-columns-8 figure:nth-of-type(8n+9) {clear:left;}
.gallery.gallery-columns-9 figure {width:8.85%;}
.gallery.gallery-columns-9 figure:nth-of-type(9n+9) {margin-right:0;}
.gallery.gallery-columns-9 figure:nth-of-type(9n+10) {clear:left;}
@media (max-width:767px) {
img.alignright, div.alignright, figure.alignright, img.alignleft, div.alignleft, figure.alignleft, img.wp-post-image.attachment-thumb {display:block; margin:1em auto; float:none;}
.gallery.gallery-columns-4 figure, .gallery.gallery-columns-5 figure, .gallery.gallery-columns-6 figure, .gallery.gallery-columns-7 figure, .gallery.gallery-columns-8 figure, .gallery.gallery-columns-9 figure {width:100%; margin:0 0 1em 0; float:none;}
}
<?php $haberler = new WP_Query(array(
'post_type' => 'post',
'posts_per_page' => 3,
)); ?>
<?php while ( $haberler->have_posts() ) : $haberler->the_post();
$haberler_kapak = wp_get_attachment_image_src( get_post_thumbnail_id($haberler->ID), 'thumbnail-full' );
?>
<?php endwhile; ?>
<?php wp_reset_postdata(); ?>
//Panel Özelleştirmeleri
add_action('admin_head', 'admin_style');
function admin_style() {
include ("style-admin.php");
}
add_filter('admin_title', 'my_admin_title', 10, 2);
function my_admin_title($admin_title, $title)
{
return get_bloginfo('name').' • '.$title;
}
function login_style() {
include ("style-login.php");
}
add_action( 'login_enqueue_scripts', 'login_style' );
function login_url() {
return home_url();
}
add_filter( 'login_headerurl', 'login_url' );
function login_url_title() {
return get_bloginfo('name').' - Yönetim Paneli';
}
add_filter( 'login_headertext', 'login_url_title' );
//Favicon
function add_favicon() {
echo '<link rel="shortcut icon" href="'.get_template_directory_uri().'/inc/img/logo/favicon.png" type="image/x-icon"/>';
}
add_action('login_head', 'add_favicon');
add_action('admin_head', 'add_favicon');
add_action('wp_head', 'add_favicon');
Hosting linki
https://www.turhost.com/r/115961/hosting
Wordpress'in sonsuz seçenekli dünyasına dalıp "Bir başka Wordpress Sitesi"nden fazlasını yapmak istiyorsanız doğru adrestesiniz.
Merhaba, ben Ali Çınaroğlu, Web geliştirici ve WordPress Uzmanıyım. 2007 yılından bu yana çeşitli tasarım ve web projelerinde yer aldım. Ayrıca Udemy'de eğitmenlik yapıyorum. Bu eğtimin haricinde 4 adet eğitim ve toplamda 1.615 öğrenci ile tekrar karşınızdayım.
Bu eğitimde kişisel yeteneklerinizi, çalışmalarınızı ve sunduğunuz hizmetleri sergileyebileceğiniz bir tema yapacağız. Bu temayı hazırlarken hazır bir html temadan yararlanacağız, böylece dersin ana konularından olan html'den Wordpress'e entegrasyonun nasıl yapıldığını da öğrenmiş olacaksınız.
Temamızın mobil cihazlarla uyumu (responsive) bulunduğu için günün sonunda mobil uyumlu bir Wordpress temasına sahip olacaksınız.
Temel Wordpress sorgularının yanı sıra, admin paneli özelleştirme, giriş alanı özelleştirme, optimizasyon ve taşıma gibi bu konunun olmazsa olmazlarına da değineceğiz.
Web geliştirme konusunda Wordpress kod yapısını anlamak, öğrenmek ve pratiğe geçirmek istiyorsanız bu kurs tam sizin için.
Sıfırdan Wordpress Kişisel Portfolyo Tema Yapımı eğitimi içerisinde;
Kursun sonunda yapacağınız temanın canlı görünümü
İhtiyacınız olan dosyalar & programlar ve kurulumları
Localde Wordpress kurulumu
Entegre edeceğimiz html temanın tanıtımı
Boş temanın entegrasyonu
Html temanın entegrasyonu
Header bölümü entegrasyonu
Footer Bölümü Entegrasyonu
Ana Sayfa Entegrasyonu
Giriş bölümü entegrasyonu
Hakkımda bölümü entegrasyonu
Yeteneklerim bölümü entegrasyonu
Hizmetlerim bölümü entegrasyonu
Hizmetlerim detay sayfası
Portfolyo bölümü entegrasyonu
Portfolyo detay sayfası
Referanslar bölümü entegrasyonu
Rakamlar bölümü entegrasyonu
Haberler bölümü entegrasyonu
İletişim bölümü entegrasyonu
Mobil kontroller
Admin Paneli ve Giriş Sayfası Özelleştirmeleri
SEO ayarları
Localde yaptığımız çalışmanın sunucuya taşınması
konularına değineceğiz.