This file contains 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 preventHomepageTips($query) { | |
if($query->is_home() && $query->is_main_query()){ | |
$query->set('cat', '-8 -18');}} | |
add_action('pre_get_posts', 'preventHomepageTips'); |
This file contains 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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteRule ^(.*)/amp/$ $1/ [R=301,L] | |
RewriteRule ^(.*)/amp$ $1/ [R=301,L] | |
</IfModule> |
This file contains 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
$menuParameters = array( | |
'container' => false, | |
'echo' => false, | |
'items_wrap' => '%3$s', | |
'depth' => 0, | |
); | |
echo strip_tags(wp_nav_menu( $menuParameters ), '<a>' ); |
This file contains 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
border-radius: 10px; /* Standart Özellik: CSS 3 standart yazılışı*/ | |
-moz-border-radius: 10px; /* Mozilla Firefox için özellik*/ | |
-webkit-border-radius: 10px; /* Safari ve Chrome için kullanılan yazılış.*/ |
This file contains 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 | |
$adres=$_GET['url']; | |
preg_match('@^(?:http://)?([^/]+)@i', $_SERVER['HTTP_REFERER'], $matches); | |
$ref = $matches[1]; | |
if($adres=='' || $ref!= 'baykusgrup.com') | |
$adres = '//baykusgrup.com'; | |
if( !(preg_match('|^(//)|', $adres) || preg_match('|^(http://)|', $adres) || preg_match('|^(https://)|', $adres)) ) | |
$adres = '//'.$adres; | |
?> | |
<!DOCTYPE html> |
This file contains 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 get_comment_author_link |
This file contains 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
remove_action('wp_head', 'wp_generator'); |
This file contains 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
<script type="text/javascript" src="http://bilgiotu.com/_/dosya/snowstorm.js"></script> |
This file contains 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
<input type="text" id="s" name="s" /> |
This file contains 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
<a href="#">Yukarı</a> |
NewerOlder