This file contains hidden or 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
| <!doctype html> | |
| <!-- Declaring the ng-app --> | |
| <html ng-app="parking"> | |
| <head> | |
| <title>Parking</title> | |
| <!-- Importing the angular.js script --> | |
| <script src="angular.js"></script> | |
| <script> | |
| // Creating the module called parking | |
| var parking = angular.module("parking", []); |
This file contains hidden or 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 | |
| RewriteCond %{REQUEST_METHOD} POST | |
| RewriteCond %{REQUEST_URI} .wp-comments-post.php* | |
| RewriteCond %{HTTP_REFERER} !.*yourdomainname.* [OR] | |
| RewriteCond %{HTTP_USER_AGENT} ^$ | |
| RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L] | |
| </ifmodule> |
This file contains hidden or 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
| add_filter(‘widget_tag_cloud_args’,’style_tags’); | |
| function style_tags($args) { | |
| $args = array( | |
| ‘largest’ => ’10’, | |
| ‘smallest’ => ’10’, | |
| ‘format’ => ‘list’, | |
| ); | |
| return $args; |
This file contains hidden or 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 | |
| $pq = 'post_status=future&order=DESC&showposts=5'; | |
| $prox = new WP_Query($pq); | |
| if ($prox->have_posts()) { ?> | |
| <ul> | |
| <?php | |
| while ($prox->have_posts()) : $prox->the_post(); | |
| $unico = $post->ID; | |
| ?> | |
| <li><?php the_title(); ?> (<?php the_time('j F Y'); ?>)</li> |
This file contains hidden or 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
| define('WP_POST_REVISIONS', '3'); // To limit the number of revisions to 3 (you can set any number of revisions). |
This file contains hidden or 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
| define(‘WP_POST_REVISIONS’, true); // To keep revisions active. |
This file contains hidden or 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
| define('WP_POST_REVISIONS', false); // To completely disable revisions. |
This file contains hidden or 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 | |
| /* | |
| Template Name: Login Page | |
| */ | |
| ?> | |
| <?php get_header(); ?> | |
| <div id=”login-form”> | |
| <h2><?php the_title(); ?></h2> | |
| <form name=”loginform” id=”loginform” action=”<?php echo get_option(‘home’); ?>/wp-login.php” method=”post”> |
This file contains hidden or 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 | |
| /* | |
| Template Name: Login Page | |
| */ | |
| ?> | |
| <?php get_header(); ?> | |
| <div id=”login-form”> | |
| <!– qui il vostro codice per il login-form–> | |
| </div> | |
| <?php get_sidebar(); ?> |
This file contains hidden or 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 | |
| /* | |
| Template Name: Login Page | |
| */ | |
| ?> |
NewerOlder