WP Meta and Date Remover - Version 1.1.0

Version Description

Download this release

Release Info

Developer prasadkirpekar
Plugin Icon 128x128 WP Meta and Date Remover
Version 1.1.0
Comparing to
See all releases

Code changes from version 1.0.0 to 1.1.0

admin/wp_meta_remove_admin_page.php DELETED
@@ -1,25 +0,0 @@
1
-
2
- <div class="wrap">
3
- <h1>Hide meta. Its easy!</h1>
4
- <h4>Follow the instructions to remove your meta</h4>
5
- <br>So,Plugin dont worked for you? It is because your theme is not standard WordPress theme
6
- <br>Dont worry i will guide you to remove your meta data.
7
- <br>WordPress posts are get printed on screen vai theme files like sigle.php,entry.php,page.php etc
8
- <br>These files are included with some lines of code which call meta information to be get printed
9
- <br>along with post content.We need to find out that code and erase.
10
- <h3>Lets do it</h3>
11
- Go to your theme editor. Usualy Appearance > editor.
12
- <br>There you will see full list of your active theme files on right side and style.css loaded in
13
- <br>editor on left side.
14
- <br><h4>Open following files and look for code which is included with line <strong>class="entry-meta"</strong> </h4>
15
- <ul>
16
- <li>singe.php</li>
17
- <li>content.php (And all its related files like content-page.php,content-none.php)</li>
18
- <li>entry.php (If available)</li>
19
- <li>page.php</li>
20
- </ul>
21
- Erase that whole code block which included that line,save files and reload page and see effect <strong>Meta is gone</strong>
22
- <br><h2><a href="http://practicalprogrammers.net/wp-meta-and-date-remover-feedback">Give us feedback </a>and help us to make this plugin better. It takes less than 10 seconds</h1>
23
- <br><h2><span style="color: #0000ff;">Didn't Worked? <a href="http://practicalprogrammers.net/contact-us">Tell me</a> i will edit your theme.</span></h2>
24
- <br><h2>Also consider giving a <a href="http://practicalprogrammers.net/wp-meta-and-date-remover-feedback">feedback.</a> it takes only few seconds </h2>
25
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -3,29 +3,33 @@ Contributors: Prasad Kirpekar
3
  Donate link: -
4
  Tags: free,theme,meta,date,author, website, posts, pages, metadata, post, home page, remover, entry-meta, css,front page
5
  Requires at least: 3.0.1
6
- Tested up to: 4.2
7
- Stable tag: 1.0.0
8
- License: GPLv2
 
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
  Remove meta information from posts and pages. Just plug and play.
12
 
13
  == Description ==
14
 
15
- WP Meta and date remover can removes Author name,Date and other information from pages and posts.Plugin works on every standard WP theme including 2011 to 2015. Plugin also includes simple guide which works for every non standard WP theme.Plugin also includes simple guide which works for every non standard WP theme.
16
- == Installation ==
 
 
 
17
 
18
  1. Install the plugin from the plugins directory, or upload the wp-meta-and-date-remove folder to the `/wp-content/plugins/` directory.
19
  2. Activate the plugin through the 'Plugins' menu in WordPress
20
 
21
 
22
  == Contact me ==
23
- http://practicalprogrammers.net/contact-us OR http://facebook.com/kirpekar1
24
  == Frequently Asked Questions ==
25
 
26
  = Meta data is still present even after activation.
27
 
28
- Plugin dont work on non standard WP theme.We included simple guide inside the plugin. You can follow the guide to remove meta from your favorite theme.
29
 
30
 
31
  == Screenshots ==
@@ -35,4 +39,8 @@ Plugin dont work on non standard WP theme.We included simple guide inside the pl
35
 
36
  == Changelog ==
37
 
 
 
 
 
38
 
3
  Donate link: -
4
  Tags: free,theme,meta,date,author, website, posts, pages, metadata, post, home page, remover, entry-meta, css,front page
5
  Requires at least: 3.0.1
6
+ Tested up to: 4.4
7
+ Stable tag: 1.1.0
8
+ stable.
9
+ License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
12
  Remove meta information from posts and pages. Just plug and play.
13
 
14
  == Description ==
15
 
16
+ WP meta and date remover is capable to remove meta and date information from posts and pages.
17
+ Plugin works on every standard,free,premium,bootstrap based wordpress themes.
18
+ plugin uses two methods to remove meta data, which means it support almost all themes.
19
+ You also can follow my genuine guide that works for every theme.
20
+
21
 
22
  1. Install the plugin from the plugins directory, or upload the wp-meta-and-date-remove folder to the `/wp-content/plugins/` directory.
23
  2. Activate the plugin through the 'Plugins' menu in WordPress
24
 
25
 
26
  == Contact me ==
27
+ http://facebook.com/kirpekar1 or put comment on https://geekyprogramming.wordpress.com/2015/06/12/wordpress-meta-removal-guide/
28
  == Frequently Asked Questions ==
29
 
30
  = Meta data is still present even after activation.
31
 
32
+ Sometimes plugin don't work on some themes.For this You can follow <a href="https://geekyprogramming.wordpress.com/2015/06/12/wordpress-meta-removal-guide/">my genuine guide</a> to remove meta from your favourite theme.
33
 
34
 
35
  == Screenshots ==
39
 
40
  == Changelog ==
41
 
42
+ 1.1.0
43
+ Improved previous css code.
44
+ Added new php based method to filter meta information.
45
+
46
 
wp-meta-and-date-remove.php DELETED
@@ -1,42 +0,0 @@
1
- <?php
2
- /* Copyright 2015 Prasad Kirepkar
3
-
4
- This program is free software; you can redistribute it and/or modify
5
- it under the terms of the GNU General Public License as published by
6
- the Free Software Foundation; either version 2 of the License, or
7
- (at your option) any later version.
8
-
9
- This program is distributed in the hope that it will be useful,
10
- but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- GNU General Public License for more details.
13
-
14
- You should have received a copy of the GNU General Public License
15
- along with this program; if not, write to the Free Software
16
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17
-
18
- Plugin Name: WP Meta and date remover
19
- Plugin URI: http://www.practicalprogrammers.net/wp-meta-remove-plugin
20
- Description: WP Meta and date remover can removes Author name,Date and other information from pages and posts.Plugin works on every standard WP theme including 2011 to 2015. Plugin also includes simple guide which works for every non standard WP theme.
21
- Version: 1.0.0
22
- Author: Prasad Kirepkar
23
- Author URI: http://facebook.com/kirpekar1
24
- License: GPL v2
25
- */
26
- add_action('admin_menu','wp_aadr_admin_actions');
27
- add_action('wp_head', 'remove_meta');
28
-
29
- function wp_aadr_admin_actions()
30
- {
31
- add_options_page("Meta-remove guide", "Meta-remove guide", 1, "wp-meta-remove-guide","wp_aadr_admin" );
32
- }
33
- function wp_aadr_admin()
34
- {
35
- include('admin/wp_meta_remove_admin_page.php');
36
- }
37
- function remove_meta()
38
- {
39
- /* Register style css. */
40
- wp_enqueue_style( 'remove-meta', plugins_url( 'css/new-meta-style-sheet.css', __FILE__ ), false, '1.0', 'all' );
41
- }
42
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
wp-meta-and-date-remover.php ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: WP Meta and date remover
4
+ Plugin URI: http://www.practicalprogrammers.net/wp-meta-remove-plugin
5
+ Description: WP meta and date remover is capable to remove meta and date information from posts and pages. Plugin works on every standard,free,premium,bootstrap based wordpress theme. plugin uses two methods to remove meta data, which means it support almost all themes.You also can follow <a href="">my genuine guide</a>.Guide works for every theme.
6
+ Version: 1.1.0
7
+ Author: Prasad Kirepkar
8
+ Author URI: http://facebook.com/kirpekar1
9
+ License: GPL v2
10
+ Copyright: Prasad Kirepkar
11
+
12
+ This program is free software; you can redistribute it and/or modify
13
+ it under the terms of the GNU General Public License as published by
14
+ the Free Software Foundation; either version 2 of the License, or
15
+ (at your option) any later version.
16
+
17
+ This program is distributed in the hope that it will be useful,
18
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
19
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
+ GNU General Public License for more details.
21
+
22
+ You should have received a copy of the GNU General Public License
23
+ along with this program; if not, write to the Free Software
24
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
+ */
26
+
27
+ function extra_links($links){
28
+ $guide_link = '<a href="https://geekyprogramming.wordpress.com/2015/06/12/wordpress-meta-removal-guide/">Guide to remove meta</a>';
29
+ array_unshift($links, $guide_link);
30
+ return $links;
31
+ }
32
+ $plugin = plugin_basename(__FILE__);
33
+
34
+ //Removal using css
35
+ function remove_meta_css()
36
+ {
37
+ /* Register style css. */
38
+ wp_enqueue_style( 'remove-meta', plugins_url( 'css/new-meta-style-sheet.css', __FILE__ ), false, '1.0', 'all' );
39
+ }
40
+
41
+ // removal using php.
42
+ //some times css removal don't work for every theme.
43
+ function remove_meta_php() {
44
+ add_filter('the_date', '__return_false');
45
+ add_filter('the_author', '__return_false');
46
+ add_filter('the_time', '__return_false');
47
+ add_filter('the_modified_date', '__return_false');
48
+ add_filter('get_the_date', '__return_false');
49
+ add_filter('get_the_author', '__return_false');
50
+ add_filter('get_the_title', '__return_false');
51
+ add_filter('get_the_time', '__return_false');
52
+ add_filter('get_the_modified_date', '__return_false');
53
+ }
54
+
55
+ //do everything
56
+ add_action('wp_head', 'remove_meta_css');
57
+ add_filter("plugin_action_links_$plugin", 'extra_links' );
58
+ add_action('loop_start', 'remove_meta_php');