
Posts mit dem Label tutorial werden angezeigt. Alle Posts anzeigen
Change wp-content folder name in WordPress

wp-content folder contains WordPress themes and plugins, or we just call them extensions, which makes your WordPress different from others.
More or less, we all need to install some to enhance our WordPress system, just like we install softwares on our OS, but it also bring risks. Do not install any unknown extension unless you know exactly what it’s doing.We all heard about viruses and trojans, right? Although WP extensions are open source, people might not take the time to read the code line by line. On the other hand, writing secure code is a skill not every developer learns that well, so it’s possible that a useful plugin becomes a backdoor for hackers. So, be careful when you install something new.
Targeting only Firefox with CSS

Sometimes it is the Gecko engine (Firefox) that misbehaves. What would be best way to target only Firefox with your CSS rules and not a single other browser? That is, not only should Internet Explorer ignore the Firefox-only rules, but also WebKit and Opera should.
1. Target all versions of Firefox
@-moz-document url-prefix() {
.content {
color:#000;
}
}2. Target versions of Firefox 3
html>/**/body .content, x:-moz-any-link, x:default {
color:#000;
}3. Target versions of Firefox 2
html>/**/body .content, x:-moz-any-link {
color:#000;
}
Create simple contact form in Laravel 4
Remove margin from last item in row
Remove margin from last item in row you can use css nth-child
Here the example
From the script work for every third from the li
Or this for only one li
From the script work only for fifth from the li
Good luck
Here the example
ul li:nth-child(3n+3) {
color: #ccc;
}From the script work for every third from the li
Or this for only one li
ul li:nth-child(5) {
color: #ccc;
}From the script work only for fifth from the li
Good luck
Mit jQuery Um Active Menüpunkt zu markieren
Hier ist ein jQuery-Snippet, das die aktuelle Seite URL überprüfen wird und vergleichen sie es mit den URLs im Menü und wenn sie übereinstimmen wird es eine Klasse, um den Menüpunkt hinzuzufügen.
<script type="text/javascript">
jQuery(document).ready(function($){
// Get current url
// Select an a element that has the matching href and apply a class of 'active'. Also prepend a - to the content of the link
var url = window.location.href;
$('.menu a[href="'+url+'"]').addClass('current_page_item');
});
</script>Gambio Seo boost Fehler 500
Heute hatte ich wieder ein nettes Problem mit einer Gambio Installation. Nachdem ich die Installation auf den eigentlichen Server umgezogen hatte, habe ich den Gambio seo boost für alle drei Bereiche
Put qtranslate in the header of the Site Wordpress

All you need to do in order to have the qTranslate widget in your pages header is to add this code to header.php:
1. This will create a text-only widget.
<?php if ( function_exists( 'qtrans_generateLanguageSelectCode' ) ) qtrans_generateLanguageSelectCode( 'text' ) ?>2. This will create an image (flag) only widget.
<?php if ( function_exists( 'qtrans_generateLanguageSelectCode' ) ) qtrans_generateLanguageSelectCode( 'image' ) ?>3. This will create a text and image widget.
<?php if ( function_exists( 'qtrans_generateLanguageSelectCode' ) ) qtrans_generateLanguageSelectCode( 'both' ) ?>4.This will create a dropdown widget(an HTML select element with all available languages).
<?php if ( function_exists( 'qtrans_generateLanguageSelectCode' ) ) qtrans_generateLanguageSelectCode( 'dropdown' ) ?>
WordPress - Wartungsmodus aktivieren

Code kopieren und in function.php einfügen
// Wartungsmodus
function kb_wartungsmodus() {
if ( !current_user_can( 'edit_themes' ) || !is_user_logged_in() ) {
wp_die('
Wir aktualisieren unsere Website
Im Moment arbeiten wir an dieser Website. Bitte schauen Sie in Kürze noch einmal vorbei.
Sie erreichen uns in der Zwischenzeit per E-Mail.
', 'Website im Wartungsmodus');
}}
add_action('get_header', 'kb_wartungsmodus');Für deaktieren Wartungsmodus, löscht es einfach...
Das war......
Disabling Wordpress wpautop
To disable Wordpress wpautop put this code in function.php
And you have done, simple and easy.
remove_filter( 'the_content', 'wpautop' );
remove_filter( 'the_excerpt', 'wpautop' );And you have done, simple and easy.
Remove grey background on link clicked in ios safari
Fixed the menu to the top of the page on scroll down
Add blogger body class
Blogger Pagination

Blogger Pagination macht schöner dein Blog, wie zum Beispiel in mein Blog wiyono05.blogspot.com
Es geht sehr einfach zum Blogger Pagination hinzufügen, wenn du kennst CSS und HTML das ist gut, dann kannst du ändern den Style.
Beginnen wir!









