404page – your smart custom 404 error page - Version 1.4

Version Description

(2015-08-07) = * edit the 404 page directly from settings page * Portuguese translation

Download this release

Release Info

Developer smartware.cc
Plugin Icon 128x128 404page – your smart custom 404 error page
Version 1.4
Comparing to
See all releases

Code changes from version 1.3 to 1.4

404page.js ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).ready(function($) {
2
+ jQuery( '#select404page' ).change(function() {
3
+ jQuery( '#edit_404_page' ).prop( 'disabled', !( jQuery( '#select404page' ).val() == jQuery( '#404page_current_value').text() != 0 ) );
4
+ });
5
+ jQuery( '#select404page' ).trigger( 'change' );
6
+ jQuery( '#edit_404_page' ).click(function() {
7
+ window.location.replace( jQuery( '#404page_edit_link' ).text() );
8
+ });
9
+ });
404page.php CHANGED
@@ -2,14 +2,14 @@
2
  /*
3
  Plugin Name: 404page
4
  Plugin URI: http://smartware.cc/free-wordpress-plugins/404page/
5
- Description: Define any of your pages as 404 page
6
- Version: 1.3
7
  Author: smartware.cc
8
  Author URI: http://smartware.cc
9
  License: GPL2
10
  */
11
 
12
- /* Copyright 2013-2014 smartware.cc (email : sw@smartware.cc)
13
 
14
  This program is free software; you can redistribute it and/or modify
15
  it under the terms of the GNU General Public License, version 2, as
@@ -31,12 +31,14 @@ if ( ! defined( 'WPINC' ) ) {
31
 
32
  class Smart404Page {
33
  public $plugin_name;
 
34
  public $version;
35
  public $settings;
36
 
37
  public function __construct() {
38
  $this->plugin_name = '404page';
39
- $this->version = '1.3';
 
40
  $this->get_settings();
41
  $this->init();
42
  }
@@ -94,12 +96,18 @@ class Smart404Page {
94
 
95
  // echo title for settings section
96
  function admin_section_title() {
97
- echo '<p><strong>' . __( 'Settings' ) . ':</strong></p><hr />';
98
  }
99
 
100
  // adds the options page to admin menu
101
  function admin_menu() {
102
- add_options_page( __( '404 Error Page', "404page" ), __( '404 Error Page', '404page' ), 'manage_options', '404pagesettings', array( $this, 'admin_page' ) );
 
 
 
 
 
 
103
  }
104
 
105
  // creates the options page
@@ -128,6 +136,9 @@ class Smart404Page {
128
  do_settings_sections( '404page_settings_section' );
129
  submit_button();
130
  ?>
 
 
 
131
  </div>
132
  </div>
133
  </form>
@@ -168,11 +179,11 @@ class Smart404Page {
168
  <h3><span><?php _e( 'Like this Plugin?', '404page_general' ); ?></span></h3>
169
  <div class="inside">
170
  <ul>
171
- <li><div class="dashicons dashicons-wordpress"></div>&nbsp;&nbsp;<a href="http://wordpress.org/extend/plugins/404page/"><?php _e( 'Please rate the plugin', '404page_general' ); ?></a></li>
172
- <li><div class="dashicons dashicons-admin-home"></div>&nbsp;&nbsp;<a href="http://smartware.cc/free-wordpress-plugins/404page/"><?php _e( 'Plugin homepage', '404page_general'); ?></a></li>
173
  <li><div class="dashicons dashicons-admin-home"></div>&nbsp;&nbsp;<a href="http://smartware.cc/"><?php _e( 'Author homepage', '404page_general' );?></a></li>
174
- <li><div class="dashicons dashicons-googleplus"></div>&nbsp;&nbsp;<a href="https://plus.google.com/+SmartwareCc"><?php _e( 'Authors Google+ Page', '404page_general' ); ?></a></li>
175
- <li><div class="dashicons dashicons-facebook-alt"></div>&nbsp;&nbsp;<a href="https://www.facebook.com/smartware.cc"><?php _e( 'Authors facebook Page', '404page_general' ); ?></a></li>
176
  </ul>
177
  </div>
178
  </div>
@@ -180,8 +191,9 @@ class Smart404Page {
180
  <h3><span><?php _e( 'Need help?', '404page_general' ); ?></span></h3>
181
  <div class="inside">
182
  <ul>
183
- <li><div class="dashicons dashicons-wordpress"></div>&nbsp;&nbsp;<a href="http://wordpress.org/plugins/404page/faq/"><?php _e( 'Take a look at the FAQ section', '404page_general' ); ?></a></li>
184
- <li><div class="dashicons dashicons-wordpress"></div>&nbsp;&nbsp;<a href="http://wordpress.org/support/plugin/404page/"><?php _e( 'Take a look at the Support section', '404page_general'); ?></a></li>
 
185
  <li><div class="dashicons dashicons-admin-comments"></div>&nbsp;&nbsp;<a href="http://smartware.cc/contact/"><?php _e( 'Feel free to contact the Author', '404page_general' ); ?></a></li>
186
  </ul>
187
  </div>
2
  /*
3
  Plugin Name: 404page
4
  Plugin URI: http://smartware.cc/free-wordpress-plugins/404page/
5
+ Description: Custom 404 the easy way! Set any page as custom 404 error page. No coding needed. Works with every Theme.
6
+ Version: 1.4
7
  Author: smartware.cc
8
  Author URI: http://smartware.cc
9
  License: GPL2
10
  */
11
 
12
+ /* Copyright 2013-2015 smartware.cc (email : sw@smartware.cc)
13
 
14
  This program is free software; you can redistribute it and/or modify
15
  it under the terms of the GNU General Public License, version 2, as
31
 
32
  class Smart404Page {
33
  public $plugin_name;
34
+ public $plugin_slug;
35
  public $version;
36
  public $settings;
37
 
38
  public function __construct() {
39
  $this->plugin_name = '404page';
40
+ $this->plugin_slug = '404page';
41
+ $this->version = '1.4';
42
  $this->get_settings();
43
  $this->init();
44
  }
96
 
97
  // echo title for settings section
98
  function admin_section_title() {
99
+ echo '<p><strong>' . __( 'Settings' ) . '</strong>&nbsp;<a class="dashicons dashicons-editor-help" href="http://smartware.cc/docs/404page/"></a></p><hr />';
100
  }
101
 
102
  // adds the options page to admin menu
103
  function admin_menu() {
104
+ $page_handle = add_options_page( __( '404 Error Page', "404page" ), __( '404 Error Page', '404page' ), 'manage_options', '404pagesettings', array( $this, 'admin_page' ) );
105
+ add_action( 'admin_print_scripts-' . $page_handle, array( $this, 'admin_js' ) );
106
+ }
107
+
108
+ // adds javascript to the 404page settings page
109
+ function admin_js() {
110
+ wp_enqueue_script( '404pagejs', plugins_url( '/404page.js', __FILE__ ), 'jquery', $this->version, true );
111
  }
112
 
113
  // creates the options page
136
  do_settings_sections( '404page_settings_section' );
137
  submit_button();
138
  ?>
139
+ <p class="submit"><input type="button" name="edit_404_page" id="edit_404_page" class="button secondary" value="<?php _e( 'Edit Page', '404page' ); ?>"></p>
140
+ <div id="404page_current_value" style="display: none"><?php echo $this->get_404page_id(); ?></div>
141
+ <div id="404page_edit_link" style="display: none"><?php echo get_edit_post_link( $this->get_404page_id() ); ?></div>
142
  </div>
143
  </div>
144
  </form>
179
  <h3><span><?php _e( 'Like this Plugin?', '404page_general' ); ?></span></h3>
180
  <div class="inside">
181
  <ul>
182
+ <li><div class="dashicons dashicons-wordpress"></div>&nbsp;&nbsp;<a href="https://wordpress.org/plugins/<?php echo $this->plugin_slug; ?>/"><?php _e( 'Please rate the plugin', '404page_general' ); ?></a></li>
183
+ <li><div class="dashicons dashicons-admin-home"></div>&nbsp;&nbsp;<a href="http://smartware.cc/free-wordpress-plugins/<?php echo $this->plugin_slug; ?>/"><?php _e( 'Plugin homepage', '404page_general'); ?></a></li>
184
  <li><div class="dashicons dashicons-admin-home"></div>&nbsp;&nbsp;<a href="http://smartware.cc/"><?php _e( 'Author homepage', '404page_general' );?></a></li>
185
+ <li><div class="dashicons dashicons-googleplus"></div>&nbsp;&nbsp;<a href="http://g.smartware.cc/"><?php _e( 'Authors Google+ Page', '404page_general' ); ?></a></li>
186
+ <li><div class="dashicons dashicons-facebook-alt"></div>&nbsp;&nbsp;<a href="http://f.smartware.cc/"><?php _e( 'Authors facebook Page', '404page_general' ); ?></a></li>
187
  </ul>
188
  </div>
189
  </div>
191
  <h3><span><?php _e( 'Need help?', '404page_general' ); ?></span></h3>
192
  <div class="inside">
193
  <ul>
194
+ <li><div class="dashicons dashicons-book-alt"></div>&nbsp;&nbsp;<a href="http://smartware.cc/docs/<?php echo $this->plugin_slug; ?>/"><?php _e( 'Take a look at the Plugin Doc', '404page_general' ); ?></a></li>
195
+ <li><div class="dashicons dashicons-wordpress"></div>&nbsp;&nbsp;<a href="http://wordpress.org/plugins/<?php echo $this->plugin_slug; ?>/faq/"><?php _e( 'Take a look at the FAQ section', '404page_general' ); ?></a></li>
196
+ <li><div class="dashicons dashicons-wordpress"></div>&nbsp;&nbsp;<a href="http://wordpress.org/support/plugin/<?php echo $this->plugin_slug; ?>/"><?php _e( 'Take a look at the Support section', '404page_general'); ?></a></li>
197
  <li><div class="dashicons dashicons-admin-comments"></div>&nbsp;&nbsp;<a href="http://smartware.cc/contact/"><?php _e( 'Feel free to contact the Author', '404page_general' ); ?></a></li>
198
  </ul>
199
  </div>
languages/404page-de_DE.mo CHANGED
Binary file
languages/404page-de_DE.po CHANGED
@@ -2,14 +2,14 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: 404page\n"
4
  "POT-Creation-Date: 2014-05-02 14:12+0100\n"
5
- "PO-Revision-Date: 2015-01-12 16:44+0100\n"
6
  "Last-Translator: smartware.cc <sw@smartware.cc>\n"
7
  "Language-Team: smartware.cc <sw@smartware.cc>\n"
8
  "Language: de_DE\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.7.1\n"
13
  "X-Poedit-Basepath: .\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
@@ -32,3 +32,6 @@ msgid ""
32
  msgstr ""
33
  "Die Seite, die als 404 Seite ausgew&auml;hlt wurde, exisitiert nicht mehr. "
34
  "Bitte w&auml;hle eine andere Seite."
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: 404page\n"
4
  "POT-Creation-Date: 2014-05-02 14:12+0100\n"
5
+ "PO-Revision-Date: 2015-08-05 17:44+0100\n"
6
  "Last-Translator: smartware.cc <sw@smartware.cc>\n"
7
  "Language-Team: smartware.cc <sw@smartware.cc>\n"
8
  "Language: de_DE\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.1\n"
13
  "X-Poedit-Basepath: .\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
32
  msgstr ""
33
  "Die Seite, die als 404 Seite ausgew&auml;hlt wurde, exisitiert nicht mehr. "
34
  "Bitte w&auml;hle eine andere Seite."
35
+
36
+ msgid "Edit Page"
37
+ msgstr "Seite bearbeiten"
languages/404page-pt_PT.mo ADDED
Binary file
languages/404page-pt_PT.po ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: 404page\n"
4
+ "POT-Creation-Date: 2014-05-02 14:12+0100\n"
5
+ "PO-Revision-Date: 2015-06-23 17:07-0000\n"
6
+ "Last-Translator: smartware.cc <sw@smartware.cc>\n"
7
+ "Language-Team: Pedro Pina <lagentprovocateur@gmail.com>\n"
8
+ "Language: pt\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.7.3\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e\n"
17
+ "X-Poedit-SearchPath-0: C:\\Users\\rado\\Google Drive\\web\\websites"
18
+ "\\df_webserver\\webseiten\\dev.smartware.cc\\wp-content\\plugins\\404page\n"
19
+
20
+ msgid "404 Error Page"
21
+ msgstr "Página de Erro 404"
22
+
23
+ msgid "Page to be displayed as 404 page"
24
+ msgstr "Página a ser exibida como uma página 404"
25
+
26
+ msgid "&mdash; NONE (WP default 404 page) &mdash;"
27
+ msgstr "&mdash; NENHUMA (Página 404 standard do WP) &mdash;"
28
+
29
+ msgid ""
30
+ "The page you have selected as 404 page does not exist anymore. Please choose "
31
+ "another page."
32
+ msgstr ""
33
+ "A página que selecionou como página 404 não existe. Por favor, escolha outra "
34
+ "página."
languages/404page.pot CHANGED
@@ -1,13 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: 404page\n"
4
- "POT-Creation-Date: 2015-01-12 16:41:37+00:00\n"
5
  "MIME-Version: 1.0\n"
6
  "Content-Type: text/plain; charset=UTF-8\n"
7
  "Content-Transfer-Encoding: 8bit\n"
8
- "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
9
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
10
- "Language-Team: LANGUAGE <LL@li.org>\n"
11
 
12
  msgid "404 Error Page"
13
  msgstr ""
@@ -21,4 +17,7 @@ msgstr ""
21
  msgid ""
22
  "The page you have selected as 404 page does not exist anymore. Please choose "
23
  "another page."
 
 
 
24
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: 404page\n"
 
4
  "MIME-Version: 1.0\n"
5
  "Content-Type: text/plain; charset=UTF-8\n"
6
  "Content-Transfer-Encoding: 8bit\n"
 
 
 
7
 
8
  msgid "404 Error Page"
9
  msgstr ""
17
  msgid ""
18
  "The page you have selected as 404 page does not exist anymore. Please choose "
19
  "another page."
20
+ msgstr ""
21
+
22
+ msgid "Edit Page"
23
  msgstr ""
languages/404page_general-de_DE.mo CHANGED
Binary file
languages/404page_general-de_DE.po CHANGED
@@ -2,21 +2,13 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: 404page\n"
4
  "POT-Creation-Date: 2014-05-02 14:12+0100\n"
5
- "PO-Revision-Date: 2015-01-12 16:44+0100\n"
6
  "Last-Translator: smartware.cc <sw@smartware.cc>\n"
7
  "Language-Team: smartware.cc <sw@smartware.cc>\n"
8
  "Language: de_DE\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.7.1\n"
13
- "X-Poedit-Basepath: .\n"
14
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
- "X-Poedit-SourceCharset: UTF-8\n"
16
- "X-Poedit-KeywordsList: __;_e\n"
17
- "X-Poedit-SearchPath-0: C:\\Users\\rado\\Google Drive\\web\\websites"
18
- "\\df_webserver\\webseiten\\dev.smartware.cc\\wp-content\\plugins"
19
- "\\404page\n"
20
 
21
  msgid "Like this Plugin?"
22
  msgstr "Du magst dieses Plugin?"
@@ -39,6 +31,9 @@ msgstr "Facebook Seite des Autors"
39
  msgid "Need help?"
40
  msgstr "Du benötigst Hilfe?"
41
 
 
 
 
42
  msgid "Take a look at the FAQ section"
43
  msgstr "Sieh Dir den FAQ Bereich an"
44
 
2
  msgstr ""
3
  "Project-Id-Version: 404page\n"
4
  "POT-Creation-Date: 2014-05-02 14:12+0100\n"
5
+ "PO-Revision-Date: 2015-08-05 17:19+0100\n"
6
  "Last-Translator: smartware.cc <sw@smartware.cc>\n"
7
  "Language-Team: smartware.cc <sw@smartware.cc>\n"
8
  "Language: de_DE\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
 
 
 
 
 
 
 
 
12
 
13
  msgid "Like this Plugin?"
14
  msgstr "Du magst dieses Plugin?"
31
  msgid "Need help?"
32
  msgstr "Du benötigst Hilfe?"
33
 
34
+ msgid "Take a look at the Plugin Doc"
35
+ msgstr "Sieh Dir die Plugin Doku an"
36
+
37
  msgid "Take a look at the FAQ section"
38
  msgstr "Sieh Dir den FAQ Bereich an"
39
 
languages/404page_general-es_ES.po CHANGED
@@ -9,13 +9,6 @@ msgstr ""
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.5.4\n"
13
- "X-Poedit-Basepath: .\n"
14
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
- "X-Poedit-SourceCharset: UTF-8\n"
16
- "X-Poedit-KeywordsList: __;_e\n"
17
- "X-Poedit-SearchPath-0: C:\\Users\\rado\\Google Drive\\web\\websites"
18
- "\\df_webserver\\webseiten\\dev.smartware.cc\\wp-content\\plugins\\404page\n"
19
 
20
  msgid "Like this Plugin?"
21
  msgstr "&iquest;Le gusta este Plugin?"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
 
 
 
 
 
 
 
12
 
13
  msgid "Like this Plugin?"
14
  msgstr "&iquest;Le gusta este Plugin?"
languages/404page_general-pt_PT.mo ADDED
Binary file
languages/404page_general-pt_PT.po ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: 404page\n"
4
+ "POT-Creation-Date: 2014-05-02 14:12+0100\n"
5
+ "PO-Revision-Date: 2015-06-23 17:03-0000\n"
6
+ "Last-Translator: gaston999 <gaston_ferbari@hotmail.com>\n"
7
+ "Language-Team: Pedro Pina <lagentprovocateur@gmail.com>\n"
8
+ "Language: pt_PT\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+
13
+ msgid "Like this Plugin?"
14
+ msgstr "Como avalia este plugin?"
15
+
16
+ msgid "Please rate the plugin"
17
+ msgstr "Por favor, classifique este plugin"
18
+
19
+ msgid "Plugin homepage"
20
+ msgstr "Página do plugin"
21
+
22
+ msgid "Author homepage"
23
+ msgstr "Homepage do autor"
24
+
25
+ msgid "Authors Google+ Page"
26
+ msgstr "Google + - página do autor"
27
+
28
+ msgid "Authors facebook Page"
29
+ msgstr "Página no Facebook do autor"
30
+
31
+ msgid "Need help?"
32
+ msgstr "Precisa de ajuda?"
33
+
34
+ msgid "Take a look at the FAQ section"
35
+ msgstr "Veja a secção de Perguntas Frequentes do plugin (FAQ)"
36
+
37
+ msgid "Take a look at the Support section"
38
+ msgstr "Veja a secção de Suporte do plugin"
39
+
40
+ msgid "Feel free to contact the Author"
41
+ msgstr "Contactar o autor"
languages/404page_general-sr_RS.po CHANGED
@@ -9,13 +9,6 @@ msgstr ""
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.5.7\n"
13
- "X-Poedit-Basepath: .\n"
14
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
- "X-Poedit-SourceCharset: UTF-8\n"
16
- "X-Poedit-KeywordsList: __;_e\n"
17
- "X-Poedit-SearchPath-0: C:\\Users\\rado\\Google Drive\\web\\websites"
18
- "\\df_webserver\\webseiten\\dev.smartware.cc\\wp-content\\plugins\\404page\n"
19
 
20
  msgid "Like this Plugin?"
21
  msgstr "Da li vam se dopada ovaj plugin?"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
 
 
 
 
 
 
 
12
 
13
  msgid "Like this Plugin?"
14
  msgstr "Da li vam se dopada ovaj plugin?"
languages/404page_general.pot CHANGED
@@ -1,13 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: 404page\n"
4
- "POT-Creation-Date: 2014-12-30 09:41:37+00:00\n"
5
  "MIME-Version: 1.0\n"
6
  "Content-Type: text/plain; charset=UTF-8\n"
7
  "Content-Transfer-Encoding: 8bit\n"
8
- "PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
9
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
10
- "Language-Team: LANGUAGE <LL@li.org>\n"
11
 
12
  msgid "Like this Plugin?"
13
  msgstr ""
@@ -30,6 +26,9 @@ msgstr ""
30
  msgid "Need help?"
31
  msgstr ""
32
 
 
 
 
33
  msgid "Take a look at the FAQ section"
34
  msgstr ""
35
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: 404page\n"
 
4
  "MIME-Version: 1.0\n"
5
  "Content-Type: text/plain; charset=UTF-8\n"
6
  "Content-Transfer-Encoding: 8bit\n"
 
 
 
7
 
8
  msgid "Like this Plugin?"
9
  msgstr ""
26
  msgid "Need help?"
27
  msgstr ""
28
 
29
+ msgid "Take a look at the Plugin Doc"
30
+ msgstr ""
31
+
32
  msgid "Take a look at the FAQ section"
33
  msgstr ""
34
 
readme.txt CHANGED
@@ -1,24 +1,29 @@
1
- === Plugin Name ===
2
  Contributors: smartware.cc
3
  Donate link:http://smartware.cc/make-a-donation/
4
  Tags: page, 404, error, error page, 404 page, page not found, page not found error, 404 error page, missing, broken link, template, 404 link, seo, custom 404, custom 404 page, custom 404 error, custom 404 error page, customize 404, customize 404 page, customize 404 error page
5
  Requires at least: 3.0
6
- Tested up to: 4.2
7
- Stable tag: 1.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- Define any of your WordPress pages as 404 error page
12
 
13
  == Description ==
14
 
15
- > Create your 404 Error Page using the full Power of WordPress
16
 
17
- **See also [Plugin Homepage](http://smartware.cc/free-wordpress-plugins/404page/)**
18
 
19
  https://www.youtube.com/watch?v=VTL07Lf0IsY
20
 
21
- Create your 404 Page as a normal WordPress Page using the full power of WordPress. You can use a Custom Page Template or Custom Fields, you can set a Featured Image - everything like on every other Page. Then go to 'Settings' -> '404 Error Page' from your WordPress Dashbord and select the created Page as your 404 error page.
 
 
 
 
 
22
 
23
  = Languages =
24
 
@@ -26,20 +31,25 @@ Create your 404 Page as a normal WordPress Page using the full power of WordPres
26
  * German
27
  * Spanish (thanks to [Gaston](http://cosa-de-mandinga.blogspot.de/))
28
  * Serbo-Croatian (thanks to [Borisa](http://www.webhostinghub.com/))
 
29
 
30
- **Translations welcome!** Please [contact Author](http://smartware.cc/contact) if you would like to do a translation.
31
 
32
  = Do you like the 404page Plugin? =
33
 
34
  Thanks, I appreciate that. You don’t need to make a donation. No money, no beer, no coffee. Please, just [tell the world that you like what I’m doing](http://smartware.cc/make-a-donation/)! And that’s all.
35
 
 
 
 
 
36
  = More plugins from smartware.cc =
37
 
 
 
38
  * **[link-log](https://wordpress.org/plugins/link-log/)** - Find out where your visitors leave to. Track clicks on external links.
39
  * **[smart Archive Page Remove](https://wordpress.org/plugins/smart-archive-page-remove/)** - Completely remove unwated Archive Pages from your Blog
40
  * **[smart User Slug Hider](https://wordpress.org/plugins/smart-user-slug-hider/)** - Hide usernames in author pages URLs to enhance security
41
- * **[hashtagger](https://wordpress.org/plugins/hashtagger/)** Tag your posts by using #hashtags
42
- * **[JavaScript AutoLoader](https://wordpress.org/plugins/javascript-autoloader/)** - Load JavaScript files without changing files in the theme directory or installing several plugins to add all the desired functionality
43
 
44
  == Installation ==
45
 
@@ -57,6 +67,10 @@ Thanks, I appreciate that. You don’t need to make a donation. No money, no bee
57
 
58
  == Frequently Asked Questions ==
59
 
 
 
 
 
60
  = Are 404 errors redirected? =
61
 
62
  No, there is no redirection! The chosen page is delivered as a 'real' 404 error page. This results in a HTTP 404 code and not in 301 or 302, which is important for Search Engines to tell them, that the page does not exist and should be deleted from the index.
@@ -65,13 +79,17 @@ No, there is no redirection! The chosen page is delivered as a 'real' 404 error
65
 
66
  1. Create your 404 Page as a normal WordPress Page
67
  2. Define the created Page as 404 Error Page
 
68
 
69
  == Changelog ==
70
 
 
 
 
 
71
  = 1.3 (2015-01-12) =
72
  * technical improvement (rewritten as class)
73
  * cosmetics
74
- * tested up to 4.1
75
 
76
  = 1.2 (2014-07-28) =
77
  * Spanish translation
@@ -82,4 +100,9 @@ No, there is no redirection! The chosen page is delivered as a 'real' 404 error
82
  * German translation
83
 
84
  = 1.0 (2013-09-30) =
85
- * Initial Release
 
 
 
 
 
1
+ === 404page ===
2
  Contributors: smartware.cc
3
  Donate link:http://smartware.cc/make-a-donation/
4
  Tags: page, 404, error, error page, 404 page, page not found, page not found error, 404 error page, missing, broken link, template, 404 link, seo, custom 404, custom 404 page, custom 404 error, custom 404 error page, customize 404, customize 404 page, customize 404 error page
5
  Requires at least: 3.0
6
+ Tested up to: 4.3
7
+ Stable tag: 1.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ Custom 404 the easy way! Set any page as custom 404 error page. No coding needed. Works with every Theme.
12
 
13
  == Description ==
14
 
15
+ > Create your custom 404 Error Page using the full Power of WordPress
16
 
17
+ **See also [Plugin Homepage](http://smartware.cc/free-wordpress-plugins/404page/) and [Plugin Doc](http://smartware.cc/docs/404page/)**
18
 
19
  https://www.youtube.com/watch?v=VTL07Lf0IsY
20
 
21
+ Create your custom 404 Page as a normal WordPress Page using the full power of WordPress. You can use a Custom Page Template or Custom Fields, you can set a Featured Image - everything like on every other Page. Then go to 'Settings' -> '404 Error Page' from your WordPress Dashbord and select the created Page as your 404 error page. That's it!
22
+
23
+ = Why you should choose this plugin =
24
+
25
+ * Different from other similar plugins the 404page plugin **does not create redirects**. That’s **quite important** because a correct code 404 is delivered which tells search engines that the page does not exist and has to be removed from the index. A redirect would result in a HTTP code 301 or 302 and the URL would remain in the search index.
26
+ * Different from other similar plugins the 404page plugin **does not create additional server requests**. It makes use of the WordPress 404 handling.
27
 
28
  = Languages =
29
 
31
  * German
32
  * Spanish (thanks to [Gaston](http://cosa-de-mandinga.blogspot.de/))
33
  * Serbo-Croatian (thanks to [Borisa](http://www.webhostinghub.com/))
34
+ * Portuguese (thanks to [Pedro](https://www.behance.net/pedroalexmelo))
35
 
36
+ **Translations welcome!** The languages directory contains POT files to start new translations. Please [contact Author](http://smartware.cc/contact) if you would like to do a translation.
37
 
38
  = Do you like the 404page Plugin? =
39
 
40
  Thanks, I appreciate that. You don’t need to make a donation. No money, no beer, no coffee. Please, just [tell the world that you like what I’m doing](http://smartware.cc/make-a-donation/)! And that’s all.
41
 
42
+ = Known issues =
43
+
44
+ Currently the 404page Plugin does not support WPML. WPML compatibility is planned for a future release.
45
+
46
  = More plugins from smartware.cc =
47
 
48
+ * **[hashtagger](https://wordpress.org/plugins/hashtagger/)** Tag your posts by using #hashtags
49
+ * **[JavaScript AutoLoader](https://wordpress.org/plugins/javascript-autoloader/)** - Load JavaScript files without changing files in the theme directory or installing several plugins to add all the desired functionality
50
  * **[link-log](https://wordpress.org/plugins/link-log/)** - Find out where your visitors leave to. Track clicks on external links.
51
  * **[smart Archive Page Remove](https://wordpress.org/plugins/smart-archive-page-remove/)** - Completely remove unwated Archive Pages from your Blog
52
  * **[smart User Slug Hider](https://wordpress.org/plugins/smart-user-slug-hider/)** - Hide usernames in author pages URLs to enhance security
 
 
53
 
54
  == Installation ==
55
 
67
 
68
  == Frequently Asked Questions ==
69
 
70
+ = Are there any requirements? =
71
+
72
+ To enable the WordPress 404 error handling you have to set the Permalink Structure ('Settings' -> 'Permalinks') to anything else but 'Default'. Otherwise 404 errors are handled by the webserver and not by WordPress.
73
+
74
  = Are 404 errors redirected? =
75
 
76
  No, there is no redirection! The chosen page is delivered as a 'real' 404 error page. This results in a HTTP 404 code and not in 301 or 302, which is important for Search Engines to tell them, that the page does not exist and should be deleted from the index.
79
 
80
  1. Create your 404 Page as a normal WordPress Page
81
  2. Define the created Page as 404 Error Page
82
+ 3. Your custom 404 Error Page is shown in case of a 404 error
83
 
84
  == Changelog ==
85
 
86
+ = 1.4 (2015-08-07) =
87
+ * edit the 404 page directly from settings page
88
+ * Portuguese translation
89
+
90
  = 1.3 (2015-01-12) =
91
  * technical improvement (rewritten as class)
92
  * cosmetics
 
93
 
94
  = 1.2 (2014-07-28) =
95
  * Spanish translation
100
  * German translation
101
 
102
  = 1.0 (2013-09-30) =
103
+ * Initial Release
104
+
105
+ == Upgrade Notice ==
106
+
107
+ = 1.4 =
108
+ Editing of the 404 page is now possible directly from settings page. Portuguese translation added.