-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle.php
223 lines (145 loc) · 10.9 KB
/
single.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
<?php get_header(); ?>
<!--page-title area-->
<section class="page-title-area">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="breadcrumb-inner">
<ul class="page-list">
<li><a href="<?php bloginfo("home"); ?>">Anasayfa</a></li>
<li><a href="<?php bloginfo( "url" ) ?>/<?php $cc = get_the_category(); if ( ! empty( $cc ) ) { echo esc_html( $cc[0]->slug ); } ?>">
<?php $categories = get_the_category(); if ( ! empty( $categories ) ) { echo esc_html( $categories[0]->name ); } ?>
</a></li>
<li style="padding-left:10px"> <?php the_title(); ?></li>
</ul>
</div>
</div>
</div>
</div>
</section>
<!--page-title area end-->
<div class="blog-page-area pd-bottom-80">
<div class="container">
<div class="row">
<div class="col-lg-9 pd-top-50">
<div class="blog-details-page-inner">
<div class="single-blog-inner m-0">
<?php while ( have_posts() ) : the_post(); ?>
<div class="single-post-top-image ">
<div class="details ">
<h5 class="title "><?php the_title(); ?></h5>
<div class="post-meta-single ">
<ul>
<li><a class="tag-base tag-blue" href="<?php bloginfo( "url" ) ?>/<?php $cc = get_the_category(); if ( ! empty( $cc ) ) { echo esc_html( $cc[0]->slug ); } ?>">
<?php $categories = get_the_category(); if ( ! empty( $categories ) ) { echo esc_html( $categories[0]->name ); } ?></a></li>
<li title="<?php $my_date = the_date( 'd-m-Y', '', '', false ); echo $my_date; ?>" datetime="<?php echo $my_date; ?>"><p><i class="fa fa-clock-o"></i><?php echo esc_html( human_time_diff( get_the_time('U'), current_time('timestamp') ) ) . ' önce'; ?></p></li>
<li class="comments">
<i class="fa fa-comments"></i>
<?php printf( _nx( '1 Yorum', '%1$s Yorum', get_comments_number(), 'comments title', 'textdomain' ), number_format_i18n( get_comments_number() ) ); ?></li>
</ul>
</div>
</div>
<a href="https://www.atarikafa.com/core3" target="_blank" style=" display:none ">
<img src="https://www.atarikafa.com/wp-content/uploads/2021/05/core-i2.jpg" style="width:100%" />
</a><br><br>
<div class="atari-thumb">
<?php the_post_thumbnail( "large" ); ?>
</div>
<br><br>
</div>
<span class="atari-single-p">
<?php the_content(); ?>
</span>
<?php endwhile; ?>
<?php
$terms = get_the_term_list( $post->ID, 'indirme_linki' ); $strip_terms = strip_tags( $terms );
if(in_category(4) and in_category(6) ){ } else{
if(!empty($strip_terms)){
// echo $strip_terms
/*
<a class="wp-block-button__link has-background has-vivid-red-background-color"
href="http://download.atarikafa.com/serve/sitelinks/?id=516125&url=https://www.atarikafa.com/download/?download=<?php the_ID(); ?>"
style="border-radius:6px" target="_blank" rel="noreferrer noopener">
<a class="wp-block-button__link has-background has-vivid-red-background-color"
href="<?php echo $strip_terms; ?>"
style="border-radius:6px" target="_blank" rel="noreferrer noopener">
*/
?>
<br><br>
<div class="wp-block-button" >
<a class="wp-block-button__link has-background has-vivid-red-background-color"
href="<?php echo $strip_terms; ?>"
style="border-radius:6px" target="_blank" rel="noreferrer noopener">
İNDİR – <?php the_title(); ?></a>
</div>
<?php }
}
?>
<?php if(in_category(237)){ ?>
<br>
<p style="color:gray; font-size:14px; line-height: 17px; ">
MultiMC uygulaması açık kaynak geliştirilen çoklu profil oyun ve modding uygulamasıdır. <br>
Minecraft oyuncuları MultiMC ile profiller oluşturabilir, haritalar paylaşabilir, modlar kurabilir ve mod paketleri kurabilirler.<br>
MultiMC geliştiricleri arasında Mojang/Minecraft çalışanları bile <a href="https://github.com/MultiMC/MultiMC5/graphs/contributors" title="archive.is/EZ6Tv" style="color:red" target="blank" rel="nofollow">bulunmaktadır</a>.
<br>
<a href="https://multimc.org/" title="archive.is/bNXbM" style="color:red" target="blank" rel="nofollow">MultiMC.org</a>
<br><br>
MultiMC is a free, open source launcher for Minecraft. It allows you to have multiple, cleanly
separated instances of Minecraft (each with their own mods, texture packs, saves, etc) and helps
you manage them and their associated options with a simple and powerful interface.
Some of the developers of MultiMC client have <a href="https://github.com/MultiMC/MultiMC5/graphs/contributors" title="archive.is/EZ6Tv" style="color:red" target="blank" rel="nofollow">Mojang/Minecraft employees</a>.
Minecraft communities can create profiles, share maps, install mods and mods packs with MultiMC.<br>
<a href="https://multimc.org/" title="archive.is/bNXbM" style="color:red" target="blank" rel="nofollow">MultiMC.org</a>
</p>
<?php } ?>
<?php if(in_category(4)){ ?>
<br>
<p style="color:red">
Haritayı nasıl kuracağınızı bilmiyorsanız aşağıdaki videoyu izleyip öğrenebilirsiniz. <br>
</p>
<figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio">
<div class="wp-block-embed__wrapper">
<iframe title="Harita Kurulum ve MultiMC X Kullanım" width="500" height="281" src="https://www.youtube.com/embed/bqQLUzrnKvE?feature=oembed"
frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="">
</iframe>
</div>
</figure>
<?php } ?>
<?php if(in_category(6)){ ?>
<br>
<p style="color:red">
Bu Mod Paketini nasıl kuracağınızı bilmiyorsanız aşağıdaki videoyu izleyip öğrenebilirsiniz. <br>
<strong>Mod listesi</strong> için .zip'i indirin içindeki modlist.html de tam mod listesi var.
</p>
<figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio">
<div class="wp-block-embed__wrapper">
<iframe title="Modpack Kurulumu ve MultiMC X Kullanım" width="500" height="281" src="https://www.youtube.com/embed/6yB9LQJbFSc?feature=oembed"
frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="">
</iframe>
</div>
</figure>
<?php } ?>
<br><br>
<div class="article-author-block">
<?php echo get_avatar( get_the_author_meta( 'ID') , 50); ?>
<div class="article-body">
Yazar: <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) );?>"><?php the_author(); ?></a><br>
<?php echo get_the_author_meta( 'description' );?>
</div>
</div>
<br><br>
<?php comments_template('/comments.php'); ?>
</div>
</div>
</div>
<div class="col-lg-3 pd-top-50">
<?php include("kategoriler.php"); ?>
<ul class="widgets-atarikafa">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar_Single') ) : ?>
<?php endif; ?>
</ul>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>