Wordpress'te işe yarayan metalardan biri
SORUN ÇÖZÜLEMİYOR | Title kısmında Türkçe karakter sorunu |
15 Mesajlar | 3.385 Okunma |
global $settings, $rbistaSettings;
if (zwin_is_ajax()) :
header('Zwin-Page-Title:' . wp_title('|', false, 'right'));
header('Zwin-Menu-ID:' . zwin_current_menu_item_id('primary'));
else :
?>
>
<script> less = {env: 'production'};</script>
>
header('Zwin-Page-Title:' . wp_title('|', false, 'right'));
else {
$.ajax({
url: zwinUri.toString(),
data: {'zwin-ajax-nonce': 1},
beforeSend: function () {
ajaxTimer.animate({width: "100%"}, 1000);
$(ajaxLoaders).css({overflow: 'initial', position: 'relative'});
$(ajaxLoaders).addClass('ajax-in-action');
},
success: function (html, textStatus, request) {
if (request.getResponseHeader('Zwin-Page-Title') !== null) {
document.title = request.getResponseHeader('Zwin-Page-Title');
}
var loaded = false;
if (self.currentZwinUri.pageChange(zwinUri)) {
loaded = self.partialLoad(zwinUri, html, request);
}
if (!loaded) {
loaded = self.sectionLoad(zwinUri, html, request);
}
}