Recent Facebook Posts - Version 2.0.6

Version Description

  • May 15, 2015 =

Fixes

  • Hooks were double added when using the widget

Improvements

  • Added a notice about using the shortcode to the plugin's settings page.

Additions

  • Added German translations, thanks to Henrik Heller .
Download this release

Release Info

Developer DvanKooten
Plugin Icon wp plugin Recent Facebook Posts
Version 2.0.6
Comparing to
See all releases

Code changes from version 2.0.5 to 2.0.6

README.md DELETED
@@ -1,34 +0,0 @@
1
- Recent Facebook Posts
2
- ======================
3
-
4
- Here you can browse the source of the [Recent Facebook Posts Plugin for WordPress](https://wordpress.org/plugins/recent-facebook-posts/) project, find and discuss open issues or contribute yourself.
5
-
6
- Installation
7
- ------------
8
-
9
- Here's a [guide on how to install the plugin in your WordPress site](https://wordpress.org/plugins/recent-facebook-posts/installation/).
10
- If you want to run the Git version, you have two options:
11
-
12
- * You can clone the GitHub repository: `https://github.com/dannyvankooten/wordpress-recent-facebook-posts.git`
13
- * You can download the repository .zip file: [recent-facebook-posts.zip](https://github.com/dannyvankooten/wordpress-recent-facebook-posts/archive/master.zip)
14
-
15
- This will download the latest development version of the Recent Facebook Posts plugin. While this version is usually stable,
16
- it is not recommended for use in a production environment.
17
-
18
- Bugs
19
- ----
20
- If you find an issue, [let us know here](https://github.com/dannyvankooten/wordpress-recent-facebook-posts/issues?state=open)!
21
-
22
- Support
23
- -------
24
- This is a developer's portal for the Recent Facebook Posts plugin and should not be used for support. Please visit the
25
- [plugin support forums on WordPress.org](https://wordpress.org/support/plugin/recent-facebook-posts).
26
-
27
- Contributions
28
- -------------
29
- Anyone is welcome to contribute to the plugin. There are various ways you can contribute:
30
-
31
- * [Raise an issue](https://github.com/dannyvankooten/wordpress-recent-facebook-posts/issues) on GitHub.
32
- * Send us a Pull Request with your bug fixes and/or new features.
33
- * Provide feedback and [suggestions on enhancements](https://github.com/dannyvankooten/wordpress-recent-facebook-posts/issues?direction=desc&labels=Enhancement&page=1&sort=created&state=open).
34
- * Translate the plugin into your language. You can [download the latest .pot file here](https://raw.githubusercontent.com/dannyvankooten/wordpress-recent-facebook-posts/master/languages/recent-facebook-posts.pot).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/class-admin.php CHANGED
@@ -12,10 +12,9 @@ class RFBP_Admin {
12
  private $cache_cleared = false;
13
 
14
  /**
15
- * Constructor
16
  */
17
- public function __construct() {
18
-
19
  add_action( 'init', array( $this, 'on_init' ) );
20
  add_action( 'admin_init', array( $this, 'register_settings' ) );
21
  add_action( 'admin_menu', array( $this, 'build_menu' ) );
@@ -27,7 +26,6 @@ class RFBP_Admin {
27
  // load css
28
  add_action( 'admin_enqueue_scripts', array( $this, 'load_css' ) );
29
  }
30
-
31
  }
32
 
33
  public function on_init() {
12
  private $cache_cleared = false;
13
 
14
  /**
15
+ * Add hooks
16
  */
17
+ public function add_hooks() {
 
18
  add_action( 'init', array( $this, 'on_init' ) );
19
  add_action( 'admin_init', array( $this, 'register_settings' ) );
20
  add_action( 'admin_menu', array( $this, 'build_menu' ) );
26
  // load css
27
  add_action( 'admin_enqueue_scripts', array( $this, 'load_css' ) );
28
  }
 
29
  }
30
 
31
  public function on_init() {
includes/class-public.php CHANGED
@@ -6,10 +6,17 @@ if( ! defined( 'RFBP_VERSION' ) ) {
6
 
7
  class RFBP_Public {
8
 
9
- private static $instance = null;
 
 
 
 
 
10
 
11
- public static function instance()
12
- {
 
 
13
  if( ! self::$instance ) {
14
  self::$instance = new RFBP_Public();
15
  }
@@ -17,17 +24,21 @@ class RFBP_Public {
17
  return self::$instance;
18
  }
19
 
20
- public function __construct() {
21
-
22
- $opts = rfbp_get_settings();
23
-
24
- include_once RFBP_PLUGIN_DIR . 'includes/functions/helpers.php';
25
- include_once RFBP_PLUGIN_DIR . 'includes/functions/template.php';
26
 
 
 
 
 
27
  add_shortcode( 'recent_facebook_posts', array( $this, 'output' ) );
28
  add_shortcode( 'recent-facebook-posts', array( $this, 'output' ) );
29
 
30
- if ( $opts['load_css'] ) {
31
  add_action( 'wp_enqueue_scripts', array( $this, 'load_css' ) );
32
  }
33
 
@@ -37,12 +48,20 @@ class RFBP_Public {
37
  add_filter( 'rfbp_content', 'wpautop' );
38
  }
39
 
 
 
 
40
  public function load_css() {
41
  $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
42
  wp_register_style( 'recent-facebook-posts-css', plugins_url( 'recent-facebook-posts/assets/css/default' . $suffix . '.css' ), array(), RFBP_VERSION );
43
  wp_enqueue_style( 'recent-facebook-posts-css' );
44
  }
45
 
 
 
 
 
 
46
  public function get_posts() {
47
 
48
  // try to get posts from cache
@@ -87,7 +106,7 @@ class RFBP_Public {
87
  */
88
  public function output( $atts = array() ) {
89
 
90
- $opts = rfbp_get_settings();
91
  $posts = $this->get_posts();
92
 
93
  // upgrade from old `show_link` parameter.
6
 
7
  class RFBP_Public {
8
 
9
+ /**
10
+ * @var array
11
+ */
12
+ protected $options;
13
+
14
+ protected static $instance;
15
 
16
+ /**
17
+ * @return RFBP_Public
18
+ */
19
+ public static function instance() {
20
  if( ! self::$instance ) {
21
  self::$instance = new RFBP_Public();
22
  }
24
  return self::$instance;
25
  }
26
 
27
+ /**
28
+ * Constructor
29
+ */
30
+ private function __construct() {
31
+ $this->options = rfbp_get_settings();
32
+ }
33
 
34
+ /**
35
+ * Add hooks
36
+ */
37
+ public function add_hooks() {
38
  add_shortcode( 'recent_facebook_posts', array( $this, 'output' ) );
39
  add_shortcode( 'recent-facebook-posts', array( $this, 'output' ) );
40
 
41
+ if ( $this->options['load_css'] ) {
42
  add_action( 'wp_enqueue_scripts', array( $this, 'load_css' ) );
43
  }
44
 
48
  add_filter( 'rfbp_content', 'wpautop' );
49
  }
50
 
51
+ /**
52
+ * Load CSS
53
+ */
54
  public function load_css() {
55
  $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
56
  wp_register_style( 'recent-facebook-posts-css', plugins_url( 'recent-facebook-posts/assets/css/default' . $suffix . '.css' ), array(), RFBP_VERSION );
57
  wp_enqueue_style( 'recent-facebook-posts-css' );
58
  }
59
 
60
+ /**
61
+ * Get posts
62
+ *
63
+ * @return array
64
+ */
65
  public function get_posts() {
66
 
67
  // try to get posts from cache
106
  */
107
  public function output( $atts = array() ) {
108
 
109
+ $opts = $this->options;
110
  $posts = $this->get_posts();
111
 
112
  // upgrade from old `show_link` parameter.
includes/views/settings_page.html.php CHANGED
@@ -134,29 +134,20 @@
134
 
135
  <!-- Start RFBP Sidebar -->
136
  <div class="rfbp-column rfbp-secondary">
 
 
 
 
 
 
 
137
 
138
  <div class="rfbp-box">
139
- <h3 class="rfbp-title"><?php _e( 'Donate $10, $20 or $50', 'recent-facebook-posts' ); ?></h3>
140
- <p><?php _e( 'I spent a lot of time developing this plugin and offering support for it. If you like it, consider supporting this plugin by donating a token of your appreciation.', 'recent-facebook-posts' ); ?></p>
141
-
142
- <div class="rfbp-donate">
143
- <form class="donate" action="https://www.paypal.com/cgi-bin/webscr" method="post">
144
- <input type="hidden" name="cmd" value="_donations">
145
- <input type="hidden" name="business" value="AP87UHXWPNBBU">
146
- <input type="hidden" name="lc" value="US">
147
- <input type="hidden" name="item_name" value="Danny van Kooten">
148
- <input type="hidden" name="item_number" value="Recent Facebook Posts">
149
- <input type="hidden" name="currency_code" value="USD">
150
- <input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHosted">
151
- <button name="submit" class="button-primary"><?php esc_html_e( 'Donate with PayPal', 'recent-facebook-posts' ); ?></button>
152
- <img alt="" border="0" src="https://www.paypalobjects.com/nl_NL/i/scr/pixel.gif" width="1" height="1">
153
- </form>
154
- </div>
155
-
156
- <p><?php _e( 'Some other ways to support this plugin', 'recent-facebook-posts' ); ?></p>
157
  <ul class="ul-square">
158
  <li><a href="https://wordpress.org/support/view/plugin-reviews/recent-facebook-posts?rate=5#postform" target="_blank"><?php printf( __( 'Leave a %s review on WordPress.org', 'recent-facebook-posts' ), '&#9733;&#9733;&#9733;&#9733;&#9733;' ); ?></a></li>
159
- <li><a href="https://dannyvankooten.com/wordpress-plugins/recent-facebook-posts/" target="_blank"><?php _e( 'Write about the plugin from your blog.', 'recent-facebook-posts' ); ?></a></li>
160
  <li><a href="https://twitter.com/?status=I%20show%20recent%20facebook%20posts%20on%20my%20%23WordPress%20site%20using%20Recent%20Facebook%20Posts%20by%20%40DannyvanKooten%20-%20love%20it!%20http%3A%2F%2Fwordpress.org%2Fplugins%2Frecent-facebook-posts%2F" target="_blank"><?php _e( 'Tweet about Recent Facebook Posts', 'recent-facebook-posts' ); ?></a></li>
161
  <li><a href="https://wordpress.org/plugins/recent-facebook-posts/#compatibility"><?php _e( 'Vote "works" on the WordPress.org plugin page', 'recent-facebook-posts' ); ?></a></li>
162
  </ul>
@@ -169,19 +160,31 @@
169
  </div>
170
 
171
  <div class="rfbp-box">
172
- <h3 class="rfbp-title"><?php _e( 'Other Useful plugins', 'recent-facebook-posts' ); ?></h3>
173
  <ul class="ul-square">
174
- <li><a href="https://wordpress.org/plugins/mailchimp-for-wp/">MailChimp for WordPress</a></li>
175
- <li><a href="https://wordpress.org/plugins/scroll-triggered-boxes/">Scroll Triggered Boxes</a></li>
176
- <li><a href="https://wordpress.org/plugins/dvk-social-sharing/">Social Sharing by Danny</a></li>
177
- <li><a href="https://wordpress.org/plugins/wysiwyg-widgets/">WYSIWYG Widgets</a></li>
 
 
 
 
 
 
 
 
 
 
 
 
178
  </ul>
179
  </div>
180
 
181
  <div class="rfbp-box">
182
  <h3 class="rfbp-title">About <a href="https://dannyvankooten.com/">Danny van Kooten</a></h3>
183
  <p>A twenty-something Dutch guy writing code and emails for a living.</p>
184
- <p>I developed <a href="https://dannyvankooten.com/wordpress-plugins/">a few WordPress plugins</a> together totaling well over a million downloads, one of which you're using right now.</p>
185
  <p>If you like to stay updated of what I'm doing, consider following <a href="https://twitter.com/dannyvankooten">@DannyvanKooten</a> on Twitter.</p>
186
  <p>Hope you enjoy the plugin!</p>
187
  </div>
134
 
135
  <!-- Start RFBP Sidebar -->
136
  <div class="rfbp-column rfbp-secondary">
137
+ <div class="rfbp-box">
138
+ <h3 class="rfbp-title"><?php _e( 'Usage', 'recent-facebook-posts' ); ?></h3>
139
+ <p><?php _e( 'To show a list of your most recent facebook posts in your posts or pages, use the following shortcode.', 'recent-facebook-posts' ); ?></p>
140
+ <input type="text" readonly value="[recent_facebook_posts]" class="widefat" />
141
+ <p><?php printf( __( 'The shortcode accepts various arguments, which are listed on the <a href="%s">plugin FAQ</a>.', 'recent-facebook-posts' ), 'https://wordpress.org/plugins/recent-facebook-posts/faq/' ); ?></p>
142
+ </div>
143
+
144
 
145
  <div class="rfbp-box">
146
+ <h3 class="rfbp-title"><?php _e( 'Show your appreciation!', 'recent-facebook-posts' ); ?></h3>
147
+ <p><?php _e( 'If you like this plugin, consider showing your consideration in one of the following ways.', 'recent-facebook-posts' ); ?></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
148
  <ul class="ul-square">
149
  <li><a href="https://wordpress.org/support/view/plugin-reviews/recent-facebook-posts?rate=5#postform" target="_blank"><?php printf( __( 'Leave a %s review on WordPress.org', 'recent-facebook-posts' ), '&#9733;&#9733;&#9733;&#9733;&#9733;' ); ?></a></li>
150
+ <li><a href="https://wordpress.org/plugins/recent-facebook-posts/" target="_blank"><?php _e( 'Write about the plugin from your blog.', 'recent-facebook-posts' ); ?></a></li>
151
  <li><a href="https://twitter.com/?status=I%20show%20recent%20facebook%20posts%20on%20my%20%23WordPress%20site%20using%20Recent%20Facebook%20Posts%20by%20%40DannyvanKooten%20-%20love%20it!%20http%3A%2F%2Fwordpress.org%2Fplugins%2Frecent-facebook-posts%2F" target="_blank"><?php _e( 'Tweet about Recent Facebook Posts', 'recent-facebook-posts' ); ?></a></li>
152
  <li><a href="https://wordpress.org/plugins/recent-facebook-posts/#compatibility"><?php _e( 'Vote "works" on the WordPress.org plugin page', 'recent-facebook-posts' ); ?></a></li>
153
  </ul>
160
  </div>
161
 
162
  <div class="rfbp-box">
163
+ <h3 class="rfbp-title"><?php _e( 'Other plugins', 'recent-facebook-posts' ); ?></h3>
164
  <ul class="ul-square">
165
+ <li>
166
+ <h4><a href="https://wordpress.org/plugins/mailchimp-for-wp/">MailChimp for WordPress</a></h4>
167
+ <p>By far the best MailChimp (newsletter) sign-up plugin for WordPress, well over 250.000 sites are happily using it.</p>
168
+ </li>
169
+ <li>
170
+ <h4><a href="https://wordpress.org/plugins/scroll-triggered-boxes/">Scroll Triggered Boxes</a></h4>
171
+ <p>Need an unobtrusive conversion booster? This plugin offers an alternative to pop-ups. Highly converting yet not so annoying.</p>
172
+ </li>
173
+ <li>
174
+ <h4><a href="https://wordpress.org/plugins/dvk-social-sharing/">Social Sharing by Danny</a></h4>
175
+ <p>Lightweight social sharing links for your posts, with zero impact on your pageload times.</p>
176
+ </li>
177
+ <li>
178
+ <p><a href="https://dannyvankooten.com/wordpress-plugins/">More plugins by the same author..</a></p>
179
+ </li>
180
+
181
  </ul>
182
  </div>
183
 
184
  <div class="rfbp-box">
185
  <h3 class="rfbp-title">About <a href="https://dannyvankooten.com/">Danny van Kooten</a></h3>
186
  <p>A twenty-something Dutch guy writing code and emails for a living.</p>
187
+ <p>I developed <a href="https://dannyvankooten.com/wordpress-plugins/">a few WordPress plugins</a> together totaling well over 2 million downloads, one of which you're using right now.</p>
188
  <p>If you like to stay updated of what I'm doing, consider following <a href="https://twitter.com/dannyvankooten">@DannyvanKooten</a> on Twitter.</p>
189
  <p>Hope you enjoy the plugin!</p>
190
  </div>
languages/recent-facebook-posts-de_DE.mo ADDED
Binary file
languages/recent-facebook-posts-de_DE.po ADDED
@@ -0,0 +1,379 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2015 Danny van Kooten
2
+ # This file is distributed under the GPL3 or later.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Recent Facebook Posts 2.0.5\n"
6
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/recent-facebook-"
7
+ "posts\n"
8
+ "POT-Creation-Date: 2015-03-23 13:12:15+00:00\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2015-05-14 23:02+0100\n"
13
+ "Last-Translator: Danny van Kooten <hi@dannyvankooten.com>\n"
14
+ "X-Generator: Poedit 1.7.6\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-Basepath: .\n"
17
+ "X-Poedit-SourceCharset: utf-8\n"
18
+ "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2; _nx:1,2,4c;_n_noop:1,2;"
19
+ "_nx_noop:1,2,3c;esc_attr__; esc_html__;esc_attr_e; esc_html_e;"
20
+ "esc_attr_x:1,2c; esc_html_x:1,2c\n"
21
+ "X-Textdomain-Support: yes\n"
22
+ "Language-Team: \n"
23
+ "Language: de_DE\n"
24
+ "X-Poedit-SearchPath-0: .\n"
25
+
26
+ #: includes/class-admin.php:156
27
+ msgid "<strong>Cache cleared!</strong> You succesfully cleared the cache."
28
+ msgstr ""
29
+ "<strong>Cache gelöscht!</strong> Sie habend erfolgreich den Cache gelöscht."
30
+
31
+ #: includes/class-admin.php:169
32
+ msgid "Settings"
33
+ msgstr "Einstellungen"
34
+
35
+ #: includes/class-admin.php:203
36
+ msgid "Your configuration seems to be okay and working. Nice work!."
37
+ msgstr ""
38
+ "Ihre Konfiguration scheint in Ordnung zu sein und zu funktionieren. Gut "
39
+ "gemacht!."
40
+
41
+ #: includes/class-admin.php:205
42
+ msgid "The following error was encountered when testing your configuration."
43
+ msgstr "Der folgende Fehler wurde beim Testen der Konfiguration festgestellt."
44
+
45
+ #: includes/class-api.php:51 includes/class-api.php:164
46
+ msgid "Facebook error:"
47
+ msgstr "Facebook-Fehler:"
48
+
49
+ #: includes/class-api.php:203
50
+ msgid "Connection error:"
51
+ msgstr "Verbindungsfehler:"
52
+
53
+ #: includes/class-public.php:188
54
+ msgid "likes"
55
+ msgstr "Likes"
56
+
57
+ #: includes/class-public.php:189
58
+ msgid "comments"
59
+ msgstr "Kommentare"
60
+
61
+ #: includes/class-public.php:191
62
+ msgid "%1$s at %2$s"
63
+ msgstr "%1$s um %2$s"
64
+
65
+ #: includes/class-public.php:205
66
+ msgid "No recent Facebook posts to show"
67
+ msgstr "Keine aktuellen Facebook-Posts"
68
+
69
+ #: includes/class-public.php:207
70
+ msgid "Admins only notice"
71
+ msgstr "Zur Kenntnisnahme für Admins"
72
+
73
+ #: includes/class-public.php:207
74
+ msgid "Did you <a href=\"%s\">configure the plugin</a> properly?"
75
+ msgstr "Hast Du <a href=\"%s\">das Plugin </a> korrekt konfiguriert?"
76
+
77
+ #: includes/class-widget.php:18
78
+ msgid "Lists a number of your most recent Facebook posts."
79
+ msgstr "Listet die letzten Facebook psts auf."
80
+
81
+ #. Plugin Name of the plugin/theme
82
+ msgid "Recent Facebook Posts"
83
+ msgstr "Recent Facebook Posts"
84
+
85
+ #: includes/class-widget.php:38
86
+ msgid "You need to <a href=\"%s\">configure Recent Facebook Posts</a> first."
87
+ msgstr ""
88
+ "Du musst zuerst <a href=\"%s\">Recent Facebook Posts konfigurieren</a>."
89
+
90
+ #: includes/class-widget.php:42
91
+ msgid "Title:"
92
+ msgstr "Titel:"
93
+
94
+ #: includes/class-widget.php:47
95
+ msgid "Number of posts:"
96
+ msgstr "Anzahl der Posts:"
97
+
98
+ #: includes/class-widget.php:52
99
+ msgid "Excerpt length:"
100
+ msgstr "Länge des Auszugs:"
101
+
102
+ #: includes/class-widget.php:58
103
+ msgid "Show like count?"
104
+ msgstr "Zeige Anzahl der Likes?"
105
+
106
+ #: includes/class-widget.php:63
107
+ msgid "Show comment count?"
108
+ msgstr "Zeige Anzahl der Kommentare?"
109
+
110
+ #: includes/class-widget.php:68
111
+ msgid "Show link to Facebook page?"
112
+ msgstr "Zeige Link zu Facebook?"
113
+
114
+ #: includes/class-widget.php:73
115
+ msgid "Show link previews?"
116
+ msgstr "Zeige Link-Vorschau?"
117
+
118
+ #: includes/functions/global.php:23 includes/views/settings_page.html.php:69
119
+ msgid "Find us on Facebook"
120
+ msgstr "Finde uns auf Facebook"
121
+
122
+ #: includes/functions/helpers.php:32
123
+ msgid "just now"
124
+ msgstr "genau jetzt"
125
+
126
+ #: includes/functions/helpers.php:51
127
+ msgid "1 year ago"
128
+ msgid_plural "%d years ago"
129
+ msgstr[0] "Vor 1 Jahr"
130
+ msgstr[1] "Vor %d Jahren"
131
+
132
+ #: includes/functions/helpers.php:55
133
+ msgid "1 month ago"
134
+ msgid_plural "%d months ago"
135
+ msgstr[0] "Vor 1 Monat"
136
+ msgstr[1] "Vor %d Monaten"
137
+
138
+ #: includes/functions/helpers.php:59
139
+ msgid "1 week ago"
140
+ msgid_plural "%d weeks ago"
141
+ msgstr[0] "Vor 1 Woche"
142
+ msgstr[1] "Vor %d Wochen"
143
+
144
+ #: includes/functions/helpers.php:63
145
+ msgid "1 day ago"
146
+ msgid_plural "%d days ago"
147
+ msgstr[0] "Vor 1 Tag"
148
+ msgstr[1] "Vor %d Tagen"
149
+
150
+ #: includes/functions/helpers.php:67
151
+ msgid "1 hour ago"
152
+ msgid_plural "%d hours ago"
153
+ msgstr[0] "Vor 1 Stunde"
154
+ msgstr[1] "Vor %d Stunden"
155
+
156
+ #: includes/functions/helpers.php:71
157
+ msgid "1 minute ago"
158
+ msgid_plural "%d minutes ago"
159
+ msgstr[0] "Vor 1 Minute"
160
+ msgstr[1] "Vor %d Minuten"
161
+
162
+ #: includes/functions/helpers.php:75
163
+ msgid "1 second ago"
164
+ msgid_plural "%d seconds ago"
165
+ msgstr[0] "Vor 1 Sekunde"
166
+ msgstr[1] "Vor %d Sekunden"
167
+
168
+ #: includes/functions/helpers.php:79
169
+ msgid "Some time ago"
170
+ msgstr "Vor einiger Zeit"
171
+
172
+ #: includes/views/settings_page.html.php:21
173
+ msgid "Facebook Settings"
174
+ msgstr "Facebook Einstellungen"
175
+
176
+ #: includes/views/settings_page.html.php:26
177
+ msgid "This plugin needs a Facebook application to work."
178
+ msgstr "Das Plugin benötigt eine Facebook Applikation"
179
+
180
+ #: includes/views/settings_page.html.php:27
181
+ msgid ""
182
+ "Please fill in the Facebook Settings fields after creating your application."
183
+ msgstr ""
184
+ "Bitte trage die Facebook Einstellungen in die Felder ein, nachdem Du die "
185
+ "Applikation erstellt hast"
186
+
187
+ #: includes/views/settings_page.html.php:30
188
+ msgid ""
189
+ "Not sure how to proceed? Please take a close look at the <a href=\"%s"
190
+ "\">installation instructions</a>."
191
+ msgstr ""
192
+ "Du weisst nicht mehr weiter? Wirf' einen Blick auf die <a href=\"%s"
193
+ "\">Installationsanleitung</a>"
194
+
195
+ #: includes/views/settings_page.html.php:38
196
+ msgid "Facebook App ID/API Key"
197
+ msgstr "Facebook App ID/API Key"
198
+
199
+ #: includes/views/settings_page.html.php:42
200
+ msgid "Get your App ID from %s."
201
+ msgstr "Die App ID beziehst Du von %s."
202
+
203
+ #: includes/views/settings_page.html.php:47
204
+ msgid "Facebook App Secret"
205
+ msgstr "Facebook App Geheimnis"
206
+
207
+ #: includes/views/settings_page.html.php:50
208
+ msgid "Get your App Secret from %s."
209
+ msgstr "Beziehe Dein App Geheimnis von %s"
210
+
211
+ #: includes/views/settings_page.html.php:55
212
+ msgid "Facebook Page ID or Slug"
213
+ msgstr "Facebook Seiten ID oder Slug"
214
+
215
+ #: includes/views/settings_page.html.php:58
216
+ msgid ""
217
+ "Use <a href=\"%s\">this tool</a> to find the numeric ID of your Facebook "
218
+ "page."
219
+ msgstr ""
220
+ "Benutze <a href=\"%s\">dieses Tool</a> um die ID Deiner Facebook Seite "
221
+ "herauszufinden."
222
+
223
+ #: includes/views/settings_page.html.php:64
224
+ msgid "Appearance"
225
+ msgstr "Darstellung"
226
+
227
+ #: includes/views/settings_page.html.php:68
228
+ msgid "Link text"
229
+ msgstr "Link Text"
230
+
231
+ #: includes/views/settings_page.html.php:73
232
+ msgid "Open links in new window?"
233
+ msgstr "Links in neuem Fenster öffnen?"
234
+
235
+ #: includes/views/settings_page.html.php:78
236
+ msgid "Load some default styles?"
237
+ msgstr "Einige Standard Stiles laden?"
238
+
239
+ #: includes/views/settings_page.html.php:84
240
+ msgid "Image size"
241
+ msgstr "Bildgröße"
242
+
243
+ #: includes/views/settings_page.html.php:87
244
+ msgid "Don't show images"
245
+ msgstr "Zeige keine Bilder"
246
+
247
+ #: includes/views/settings_page.html.php:88
248
+ msgid "Thumbnail"
249
+ msgstr "Thumbnail"
250
+
251
+ #: includes/views/settings_page.html.php:89
252
+ msgid "Normal"
253
+ msgstr "Normal"
254
+
255
+ #: includes/views/settings_page.html.php:96
256
+ msgid "Image dimensions"
257
+ msgstr "Bildgröße"
258
+
259
+ #: includes/views/settings_page.html.php:96
260
+ msgid "(in pixels, optional)"
261
+ msgstr "(in Pixeln, optional)"
262
+
263
+ #: includes/views/settings_page.html.php:99
264
+ msgid "Max Width"
265
+ msgstr "Max Breite"
266
+
267
+ #: includes/views/settings_page.html.php:103
268
+ msgid "Max Height"
269
+ msgstr "Max Höhe"
270
+
271
+ #: includes/views/settings_page.html.php:107
272
+ msgid "Leave empty for default sizing"
273
+ msgstr "Ohne Eintrag erfolgt autom. Berechnung"
274
+
275
+ #: includes/views/settings_page.html.php:118
276
+ #: includes/views/settings_page.html.php:122
277
+ msgid "Test Configuration"
278
+ msgstr "Konfiguration testen"
279
+
280
+ #: includes/views/settings_page.html.php:119
281
+ msgid "Test your plugin configuration using the button below."
282
+ msgstr ""
283
+ "Teste Deine Plugin Konfiguration indem Du auf den Button hierunter klickst."
284
+
285
+ #: includes/views/settings_page.html.php:125
286
+ msgid "Facebook Posts Cache"
287
+ msgstr "Facebook Posts Cache"
288
+
289
+ #: includes/views/settings_page.html.php:126
290
+ msgid ""
291
+ "Because fetching posts from Facebook is relatively slow the posts are cached "
292
+ "for <strong>30 minutes</strong>. You can manually clear the cache using the "
293
+ "button below."
294
+ msgstr ""
295
+ "Da das Laden der Facebook Posts relativ viel Zeit in Anspruch nimmt, werden "
296
+ "die Posts 30 Minuten lang gechached. Du kannst den Cache manuell löschen "
297
+ "indem Du auf den Button hierunter klickst."
298
+
299
+ #: includes/views/settings_page.html.php:130
300
+ msgid "Clear Cache"
301
+ msgstr "Cache leeren"
302
+
303
+ #: includes/views/settings_page.html.php:139
304
+ msgid "Donate $10, $20 or $50"
305
+ msgstr "Spende $10, $20 oder $50"
306
+
307
+ #: includes/views/settings_page.html.php:140
308
+ msgid ""
309
+ "I spent a lot of time developing this plugin and offering support for it. If "
310
+ "you like it, consider supporting this plugin by donating a token of your "
311
+ "appreciation."
312
+ msgstr ""
313
+ "Ich verwende viel Zeit darauf dieses Plugin zu entwickeln und Support dafür "
314
+ "anzubieten. Wenn Du es magst, wäre es schön wenn Du Deine Anerkennung durch "
315
+ "eine Spende ausdrückst."
316
+
317
+ #: includes/views/settings_page.html.php:151
318
+ msgid "Donate with PayPal"
319
+ msgstr "Mit PayPal spenden"
320
+
321
+ #: includes/views/settings_page.html.php:156
322
+ msgid "Some other ways to support this plugin"
323
+ msgstr "Einige andere Möglichkeiten um dieses Plugin zu unterstützen"
324
+
325
+ #: includes/views/settings_page.html.php:158
326
+ msgid "Leave a %s review on WordPress.org"
327
+ msgstr "Hinterlasse ein %s Review auf WordPress.org"
328
+
329
+ #: includes/views/settings_page.html.php:159
330
+ msgid "Write about the plugin from your blog."
331
+ msgstr "Schreibe über dieses Plugin in Deinem Blog."
332
+
333
+ #: includes/views/settings_page.html.php:160
334
+ msgid "Tweet about Recent Facebook Posts"
335
+ msgstr "Twittere über Recent Facebook Posts"
336
+
337
+ #: includes/views/settings_page.html.php:161
338
+ msgid "Vote \"works\" on the WordPress.org plugin page"
339
+ msgstr "Wähle \"works\" auf der WordPress.org Plugin Seite"
340
+
341
+ #: includes/views/settings_page.html.php:166
342
+ msgid "Looking for support?"
343
+ msgstr "Auf der Suche nach Support?"
344
+
345
+ #: includes/views/settings_page.html.php:167
346
+ msgid ""
347
+ "Please use the <a href=\"%s\">plugin support forums</a> on WordPress.org."
348
+ msgstr ""
349
+ "Bitte nutze das <a href=\"%s\">Plugin Support Forums</a> auf WordPress.org."
350
+
351
+ #: includes/views/settings_page.html.php:168
352
+ msgid ""
353
+ "Take a close look at the <a href=\"%s\">installation instructions</a> for "
354
+ "help configuring the plugin and registering your own Facebook application, "
355
+ "which is required to get this plugin to work."
356
+ msgstr ""
357
+ "Bitte lies Dir die <a href=\"%s\">Installationsanleitungen</a> genau durch "
358
+ "um Hilfe bei der Konfiguration des Plugins und der Registrierung einer "
359
+ "Facebook App zu erhalten, dies ist notwendig damit das Plugin funktioniert."
360
+
361
+ #: includes/views/settings_page.html.php:172
362
+ msgid "Other Useful plugins"
363
+ msgstr "Andere nützliche Plugins"
364
+
365
+ #. Plugin URI of the plugin/theme
366
+ msgid "https://dannyvankooten.com/donate/"
367
+ msgstr "https://dannyvankooten.com/donate/"
368
+
369
+ #. Description of the plugin/theme
370
+ msgid "Lists most recent posts from a public Facebook page."
371
+ msgstr "Zeigt aktuelle Posts eine öffentlichen Facebook Seite an"
372
+
373
+ #. Author of the plugin/theme
374
+ msgid "Danny van Kooten"
375
+ msgstr "Danny van Kooten"
376
+
377
+ #. Author URI of the plugin/theme
378
+ msgid "https://dannyvankooten.com/"
379
+ msgstr "https://dannyvankooten.com/"
languages/recent-facebook-posts.pot CHANGED
@@ -2,10 +2,10 @@
2
  # This file is distributed under the GPL3 or later.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Recent Facebook Posts 2.0.5\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/recent-facebook-posts\n"
8
- "POT-Creation-Date: 2015-03-23 13:12:15+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -25,19 +25,19 @@ msgstr ""
25
  "X-Poedit-SearchPath-0: .\n"
26
  "X-Textdomain-Support: yes\n"
27
 
28
- #: includes/class-admin.php:156
29
  msgid "<strong>Cache cleared!</strong> You succesfully cleared the cache."
30
  msgstr ""
31
 
32
- #: includes/class-admin.php:169
33
  msgid "Settings"
34
  msgstr ""
35
 
36
- #: includes/class-admin.php:203
37
  msgid "Your configuration seems to be okay and working. Nice work!."
38
  msgstr ""
39
 
40
- #: includes/class-admin.php:205
41
  msgid "The following error was encountered when testing your configuration."
42
  msgstr ""
43
 
@@ -49,27 +49,27 @@ msgstr ""
49
  msgid "Connection error:"
50
  msgstr ""
51
 
52
- #: includes/class-public.php:188
53
  msgid "likes"
54
  msgstr ""
55
 
56
- #: includes/class-public.php:189
57
  msgid "comments"
58
  msgstr ""
59
 
60
- #: includes/class-public.php:191
61
  msgid "%1$s at %2$s"
62
  msgstr ""
63
 
64
- #: includes/class-public.php:205
65
  msgid "No recent Facebook posts to show"
66
  msgstr ""
67
 
68
- #: includes/class-public.php:207
69
  msgid "Admins only notice"
70
  msgstr ""
71
 
72
- #: includes/class-public.php:207
73
  msgid "Did you <a href=\"%s\">configure the plugin</a> properly?"
74
  msgstr ""
75
 
@@ -287,58 +287,65 @@ msgstr ""
287
  msgid "Clear Cache"
288
  msgstr ""
289
 
 
 
 
 
290
  #: includes/views/settings_page.html.php:139
291
- msgid "Donate $10, $20 or $50"
 
 
292
  msgstr ""
293
 
294
- #: includes/views/settings_page.html.php:140
295
  msgid ""
296
- "I spent a lot of time developing this plugin and offering support for it. "
297
- "If you like it, consider supporting this plugin by donating a token of your "
298
- "appreciation."
299
  msgstr ""
300
 
301
- #: includes/views/settings_page.html.php:151
302
- msgid "Donate with PayPal"
303
  msgstr ""
304
 
305
- #: includes/views/settings_page.html.php:156
306
- msgid "Some other ways to support this plugin"
 
 
307
  msgstr ""
308
 
309
- #: includes/views/settings_page.html.php:158
310
  msgid "Leave a %s review on WordPress.org"
311
  msgstr ""
312
 
313
- #: includes/views/settings_page.html.php:159
314
  msgid "Write about the plugin from your blog."
315
  msgstr ""
316
 
317
- #: includes/views/settings_page.html.php:160
318
  msgid "Tweet about Recent Facebook Posts"
319
  msgstr ""
320
 
321
- #: includes/views/settings_page.html.php:161
322
  msgid "Vote \"works\" on the WordPress.org plugin page"
323
  msgstr ""
324
 
325
- #: includes/views/settings_page.html.php:166
326
  msgid "Looking for support?"
327
  msgstr ""
328
 
329
- #: includes/views/settings_page.html.php:167
330
  msgid "Please use the <a href=\"%s\">plugin support forums</a> on WordPress.org."
331
  msgstr ""
332
 
333
- #: includes/views/settings_page.html.php:168
334
  msgid ""
335
  "Take a close look at the <a href=\"%s\">installation instructions</a> for "
336
  "help configuring the plugin and registering your own Facebook application, "
337
  "which is required to get this plugin to work."
338
  msgstr ""
339
 
340
- #: includes/views/settings_page.html.php:172
341
- msgid "Other Useful plugins"
342
  msgstr ""
343
 
344
  #. Plugin URI of the plugin/theme
2
  # This file is distributed under the GPL3 or later.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Recent Facebook Posts 2.0.6\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/recent-facebook-posts\n"
8
+ "POT-Creation-Date: 2015-05-15 09:54:27+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
25
  "X-Poedit-SearchPath-0: .\n"
26
  "X-Textdomain-Support: yes\n"
27
 
28
+ #: includes/class-admin.php:154
29
  msgid "<strong>Cache cleared!</strong> You succesfully cleared the cache."
30
  msgstr ""
31
 
32
+ #: includes/class-admin.php:167
33
  msgid "Settings"
34
  msgstr ""
35
 
36
+ #: includes/class-admin.php:201
37
  msgid "Your configuration seems to be okay and working. Nice work!."
38
  msgstr ""
39
 
40
+ #: includes/class-admin.php:203
41
  msgid "The following error was encountered when testing your configuration."
42
  msgstr ""
43
 
49
  msgid "Connection error:"
50
  msgstr ""
51
 
52
+ #: includes/class-public.php:207
53
  msgid "likes"
54
  msgstr ""
55
 
56
+ #: includes/class-public.php:208
57
  msgid "comments"
58
  msgstr ""
59
 
60
+ #: includes/class-public.php:210
61
  msgid "%1$s at %2$s"
62
  msgstr ""
63
 
64
+ #: includes/class-public.php:224
65
  msgid "No recent Facebook posts to show"
66
  msgstr ""
67
 
68
+ #: includes/class-public.php:226
69
  msgid "Admins only notice"
70
  msgstr ""
71
 
72
+ #: includes/class-public.php:226
73
  msgid "Did you <a href=\"%s\">configure the plugin</a> properly?"
74
  msgstr ""
75
 
287
  msgid "Clear Cache"
288
  msgstr ""
289
 
290
+ #: includes/views/settings_page.html.php:138
291
+ msgid "Usage"
292
+ msgstr ""
293
+
294
  #: includes/views/settings_page.html.php:139
295
+ msgid ""
296
+ "To show a list of your most recent facebook posts in your posts or pages, "
297
+ "use the following shortcode."
298
  msgstr ""
299
 
300
+ #: includes/views/settings_page.html.php:141
301
  msgid ""
302
+ "The shortcode accepts various arguments, which are listed on the <a "
303
+ "href=\"%s\">plugin FAQ</a>."
 
304
  msgstr ""
305
 
306
+ #: includes/views/settings_page.html.php:146
307
+ msgid "Show your appreciation!"
308
  msgstr ""
309
 
310
+ #: includes/views/settings_page.html.php:147
311
+ msgid ""
312
+ "If you like this plugin, consider showing your consideration in one of the "
313
+ "following ways."
314
  msgstr ""
315
 
316
+ #: includes/views/settings_page.html.php:149
317
  msgid "Leave a %s review on WordPress.org"
318
  msgstr ""
319
 
320
+ #: includes/views/settings_page.html.php:150
321
  msgid "Write about the plugin from your blog."
322
  msgstr ""
323
 
324
+ #: includes/views/settings_page.html.php:151
325
  msgid "Tweet about Recent Facebook Posts"
326
  msgstr ""
327
 
328
+ #: includes/views/settings_page.html.php:152
329
  msgid "Vote \"works\" on the WordPress.org plugin page"
330
  msgstr ""
331
 
332
+ #: includes/views/settings_page.html.php:157
333
  msgid "Looking for support?"
334
  msgstr ""
335
 
336
+ #: includes/views/settings_page.html.php:158
337
  msgid "Please use the <a href=\"%s\">plugin support forums</a> on WordPress.org."
338
  msgstr ""
339
 
340
+ #: includes/views/settings_page.html.php:159
341
  msgid ""
342
  "Take a close look at the <a href=\"%s\">installation instructions</a> for "
343
  "help configuring the plugin and registering your own Facebook application, "
344
  "which is required to get this plugin to work."
345
  msgstr ""
346
 
347
+ #: includes/views/settings_page.html.php:163
348
+ msgid "Other plugins"
349
  msgstr ""
350
 
351
  #. Plugin URI of the plugin/theme
readme.txt CHANGED
@@ -3,19 +3,19 @@ Contributors: DvanKooten
3
  Donate link: https://dannyvankooten.com/donate/
4
  Tags: facebook,posts,fanpage,recent posts,fb,like box alternative,widget,facebook widget,widgets,facebook updates,like button,fb posts
5
  Requires at least: 3.7
6
- Tested up to: 4.2
7
- Stable tag: 2.0.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- Lists most recent Facebook posts from public Facebook pages. A faster, prettier and more customizable alternative to Facebooks Like Box.
12
 
13
  == Description ==
14
 
15
  This plugin adds a widget, a shortcode `[recent_facebook_posts]` and a template function `recent_facebook_posts()` to your WordPress website which you can use to list your most recent Facebook posts. This plugin works with public pages and to a certain extent with personal profiles.
16
 
17
  = Facebook Posts Widget =
18
- Render a number of most recent Facebook page updates in any of your widget areas using the Recent Facebook Posts widget.
19
 
20
  = Facebook Posts Shortcode =
21
  Display a list of your most recent Facebook posts in your posts or pages using the `[recent_facebook_posts]` shortcode. Optionally, specify some arguments to customize the output.
@@ -33,6 +33,8 @@ Display a list of your most recent Facebook posts in your posts or pages using t
33
  English (en_US) - [Danny van Kooten](https://dannyvankooten.com/)<br />
34
  Dutch (nl_NL) - [Danny van Kooten](https://dannyvankooten.com/)<br />
35
  Spanish (es_ES) - [Hermann Bravo](http://hbravo.com/)
 
 
36
 
37
  _Looking for more translations.._
38
 
@@ -42,6 +44,7 @@ If you have [created your own language pack](http://codex.wordpress.org/Translat
42
 
43
  * [Contribute to the Recent Facebook Posts plugin on GitHub](https://github.com/dannyvankooten/wordpress-recent-facebook-posts)
44
  * Using MailChimp to send out email newsletters? You should [try MailChimp for WordPress](https://wordpress.org/plugins/mailchimp-for-wp/).
 
45
  * Check out more [WordPress plugins](https://dannyvankooten.com/wordpress-plugins/) by the same author
46
  * Follow [@DannyvanKooten](https://twitter.com/DannyvanKooten) on Twitter.
47
 
@@ -60,7 +63,7 @@ This plugin requires a Facebook application to fetch posts from Facebook.
60
 
61
  = Configuring the plugin =
62
  1. Go to *Settings > Recent Facebook* posts in your WP Admin panel.
63
- 1. Copy and paste your Facebook `App ID/API Key` and `App Secret` into the setting fields.
64
  1. Find the numeric Facebook ID of your public Facebook page using [this website](http://findmyfacebookid.com/).
65
  1. Copy paste the ID in the `Facebook Page ID` field.
66
  1. Add `[recent_facebook_posts]` to the page where you would like to show a list of recent Facebook posts or use the widget.
@@ -148,10 +151,24 @@ add_filter('rfbp_cache_time', 'my_rfbp_cache_time');
148
 
149
  1. The Recent Facebook Posts settings screen.
150
  2. This is where you'll find your App ID / API Key and App Secret in your [Facebook App Settings](https://developers.facebook.com/apps/).
151
- 3. This is where you'll find your Facebook Page Slug on Facebook.com.
152
 
153
  == Changelog ==
154
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
155
  = 2.0.5 - March 23, 2015 =
156
 
157
  **Additions**
@@ -337,7 +354,7 @@ add_filter('rfbp_cache_time', 'my_rfbp_cache_time');
337
 
338
  = 1.2 =
339
  * Fixed: Reverted back to 'posts' instead of 'feed', to exclude posts from others.
340
- * Fixed: undefined index 'count' when renewing cache file
341
  * Fixed: wrong comment or like count for some posts
342
  * Improved: calculation of cache file modification time to prevent unnecessary cache renewal
343
  * Improved: error message when cURL is not enabled
@@ -364,9 +381,9 @@ add_filter('rfbp_cache_time', 'my_rfbp_cache_time');
364
  * Fixed: FB API Error for unknown fields.
365
  * Added: Images from FB will now be shown too. Drop me a line if you think this should be optional.
366
 
367
- = 1.0.3 =
368
  * Improved the way the link to the actual status update is created (thanks Nepumuk84).
369
- * Improved: upped the limit of the call to Facebooks servers.
370
 
371
  = 1.0.2 =
372
  * Fixed a PHP notice in the backend area when renewing cache and fetching shared status updates.
3
  Donate link: https://dannyvankooten.com/donate/
4
  Tags: facebook,posts,fanpage,recent posts,fb,like box alternative,widget,facebook widget,widgets,facebook updates,like button,fb posts
5
  Requires at least: 3.7
6
+ Tested up to: 4.2.2
7
+ Stable tag: 2.0.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ Lists most recent Facebook posts from public Facebook pages. A faster, prettier and more customizable alternative to Facebooks Like Box.
12
 
13
  == Description ==
14
 
15
  This plugin adds a widget, a shortcode `[recent_facebook_posts]` and a template function `recent_facebook_posts()` to your WordPress website which you can use to list your most recent Facebook posts. This plugin works with public pages and to a certain extent with personal profiles.
16
 
17
  = Facebook Posts Widget =
18
+ Render a number of most recent Facebook page updates in any of your widget areas using the Recent Facebook Posts widget.
19
 
20
  = Facebook Posts Shortcode =
21
  Display a list of your most recent Facebook posts in your posts or pages using the `[recent_facebook_posts]` shortcode. Optionally, specify some arguments to customize the output.
33
  English (en_US) - [Danny van Kooten](https://dannyvankooten.com/)<br />
34
  Dutch (nl_NL) - [Danny van Kooten](https://dannyvankooten.com/)<br />
35
  Spanish (es_ES) - [Hermann Bravo](http://hbravo.com/)
36
+ Swedish (sv_SE) - [Robin Wellström](http://robinwellstrom.se/)
37
+ German (de_DE) - [Henrik Heller ](http://www.gmx.net/)
38
 
39
  _Looking for more translations.._
40
 
44
 
45
  * [Contribute to the Recent Facebook Posts plugin on GitHub](https://github.com/dannyvankooten/wordpress-recent-facebook-posts)
46
  * Using MailChimp to send out email newsletters? You should [try MailChimp for WordPress](https://wordpress.org/plugins/mailchimp-for-wp/).
47
+ * Want an unobtrusive conversion booster? Have a look at the [Scroll Triggered Boxes plugin](https://wordpress.org/plugins/scroll-triggered-boxes/).
48
  * Check out more [WordPress plugins](https://dannyvankooten.com/wordpress-plugins/) by the same author
49
  * Follow [@DannyvanKooten](https://twitter.com/DannyvanKooten) on Twitter.
50
 
63
 
64
  = Configuring the plugin =
65
  1. Go to *Settings > Recent Facebook* posts in your WP Admin panel.
66
+ 1. Copy and paste your Facebook `App ID/API Key` and `App Secret` into the setting fields.
67
  1. Find the numeric Facebook ID of your public Facebook page using [this website](http://findmyfacebookid.com/).
68
  1. Copy paste the ID in the `Facebook Page ID` field.
69
  1. Add `[recent_facebook_posts]` to the page where you would like to show a list of recent Facebook posts or use the widget.
151
 
152
  1. The Recent Facebook Posts settings screen.
153
  2. This is where you'll find your App ID / API Key and App Secret in your [Facebook App Settings](https://developers.facebook.com/apps/).
154
+ 3. This is where you'll find your Facebook Page Slug on Facebook.com.
155
 
156
  == Changelog ==
157
 
158
+ = 2.0.6 - May 15, 2015 =
159
+
160
+ **Fixes**
161
+
162
+ - Hooks were double added when using the widget
163
+
164
+ **Improvements**
165
+
166
+ - Added a notice about using the shortcode to the plugin's settings page.
167
+
168
+ **Additions**
169
+
170
+ - Added German translations, thanks to [Henrik Heller ](http://www.gmx.net/).
171
+
172
  = 2.0.5 - March 23, 2015 =
173
 
174
  **Additions**
354
 
355
  = 1.2 =
356
  * Fixed: Reverted back to 'posts' instead of 'feed', to exclude posts from others.
357
+ * Fixed: undefined index 'count' when renewing cache file
358
  * Fixed: wrong comment or like count for some posts
359
  * Improved: calculation of cache file modification time to prevent unnecessary cache renewal
360
  * Improved: error message when cURL is not enabled
381
  * Fixed: FB API Error for unknown fields.
382
  * Added: Images from FB will now be shown too. Drop me a line if you think this should be optional.
383
 
384
+ = 1.0.3 =
385
  * Improved the way the link to the actual status update is created (thanks Nepumuk84).
386
+ * Improved: upped the limit of the call to Facebooks servers.
387
 
388
  = 1.0.2 =
389
  * Fixed a PHP notice in the backend area when renewing cache and fetching shared status updates.
recent-facebook-posts.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Recent Facebook Posts
4
  Plugin URI: https://dannyvankooten.com/donate/
5
  Description: Lists most recent posts from a public Facebook page.
6
- Version: 2.0.5
7
  Author: Danny van Kooten
8
  Author URI: https://dannyvankooten.com/
9
  Text Domain: recent-facebook-posts
@@ -32,7 +32,7 @@ if( ! defined( 'ABSPATH' ) ) {
32
  }
33
 
34
  // Plugin Constants
35
- define( 'RFBP_VERSION', '2.0.5' );
36
  define( 'RFBP_PLUGIN_DIR', dirname( __FILE__ ) . '/' );
37
 
38
  /**
@@ -45,13 +45,20 @@ function __rfbp_bootstrap() {
45
 
46
  if( ! is_admin() ) {
47
 
 
 
 
48
  require RFBP_PLUGIN_DIR . 'includes/class-public.php';
49
- new RFBP_Public();
 
 
50
 
51
  } elseif( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) {
52
 
 
53
  require RFBP_PLUGIN_DIR . 'includes/class-admin.php';
54
- new RFBP_Admin();
 
55
 
56
  }
57
 
3
  Plugin Name: Recent Facebook Posts
4
  Plugin URI: https://dannyvankooten.com/donate/
5
  Description: Lists most recent posts from a public Facebook page.
6
+ Version: 2.0.6
7
  Author: Danny van Kooten
8
  Author URI: https://dannyvankooten.com/
9
  Text Domain: recent-facebook-posts
32
  }
33
 
34
  // Plugin Constants
35
+ define( 'RFBP_VERSION', '2.0.6' );
36
  define( 'RFBP_PLUGIN_DIR', dirname( __FILE__ ) . '/' );
37
 
38
  /**
45
 
46
  if( ! is_admin() ) {
47
 
48
+ // frontend requests
49
+ include_once RFBP_PLUGIN_DIR . 'includes/functions/helpers.php';
50
+ include_once RFBP_PLUGIN_DIR . 'includes/functions/template.php';
51
  require RFBP_PLUGIN_DIR . 'includes/class-public.php';
52
+
53
+ $rfbp_public = RFBP_Public::instance();
54
+ $rfbp_public->add_hooks();
55
 
56
  } elseif( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) {
57
 
58
+ // admin requests
59
  require RFBP_PLUGIN_DIR . 'includes/class-admin.php';
60
+ $admin = new RFBP_Admin();
61
+ $admin->add_hooks();
62
 
63
  }
64