Version Description
- Update: Update translation function & re-generate .po file
- Bug fixed: Call non-static function
Download this release
Release Info
Developer | PT Guy |
Plugin | Content Views – Post Grid & List for WordPress |
Version | 1.6.1 |
Comparing to | |
See all releases |
Code changes from version 1.6.0 to 1.6.1
- README.txt +5 -1
- admin/content-views-admin.php +3 -3
- content-views.php +2 -2
- includes/functions.php +17 -18
- includes/hooks.php +1 -1
- includes/html-viewtype.php +4 -4
- includes/html.php +7 -8
- languages/content-views.mo +0 -0
- languages/content-views.po +226 -158
- public/content-views.php +17 -7
README.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: post, posts, page, pages, query, queries, search, display, show, grid, column, layout, author, blog, categories, category, comment, content, custom, editor, filter, Formatting, image, list, meta, plugin, responsive, shortcode, excerpt, title, tag, term, Taxonomy, thumbnail, pagination, date, scrollable, slider, collapsible
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 4.2.2
|
7 |
-
Stable tag: 1.6.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -165,6 +165,10 @@ function my_move_bootstrap( $args ) {
|
|
165 |
|
166 |
== Changelog ==
|
167 |
|
|
|
|
|
|
|
|
|
168 |
= 1.6.0 =
|
169 |
* Tested up to: 4.2.2
|
170 |
* Bug fixed: Fix WordPress bug which can't get valid thumbnail if meta field "_thumbnail_id" is string value instead of integer value
|
4 |
Tags: post, posts, page, pages, query, queries, search, display, show, grid, column, layout, author, blog, categories, category, comment, content, custom, editor, filter, Formatting, image, list, meta, plugin, responsive, shortcode, excerpt, title, tag, term, Taxonomy, thumbnail, pagination, date, scrollable, slider, collapsible
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 4.2.2
|
7 |
+
Stable tag: 1.6.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
165 |
|
166 |
== Changelog ==
|
167 |
|
168 |
+
= 1.6.1 =
|
169 |
+
* Update: Update translation function & re-generate .po file
|
170 |
+
* Bug fixed: Call non-static function
|
171 |
+
|
172 |
= 1.6.0 =
|
173 |
* Tested up to: 4.2.2
|
174 |
* Bug fixed: Fix WordPress bug which can't get valid thumbnail if meta field "_thumbnail_id" is string value instead of integer value
|
admin/content-views-admin.php
CHANGED
@@ -333,21 +333,21 @@ class PT_Content_Views_Admin {
|
|
333 |
*
|
334 |
* @since 1.0.0
|
335 |
*/
|
336 |
-
public function display_plugin_admin_page() {
|
337 |
include_once( 'views/admin.php' );
|
338 |
}
|
339 |
|
340 |
/**
|
341 |
* List all Views page
|
342 |
*/
|
343 |
-
public function display_sub_page_list() {
|
344 |
include_once( 'views/list.php' );
|
345 |
}
|
346 |
|
347 |
/**
|
348 |
* Add/Edit View page
|
349 |
*/
|
350 |
-
public function display_sub_page_add() {
|
351 |
include_once( 'views/view.php' );
|
352 |
}
|
353 |
|
333 |
*
|
334 |
* @since 1.0.0
|
335 |
*/
|
336 |
+
public static function display_plugin_admin_page() {
|
337 |
include_once( 'views/admin.php' );
|
338 |
}
|
339 |
|
340 |
/**
|
341 |
* List all Views page
|
342 |
*/
|
343 |
+
public static function display_sub_page_list() {
|
344 |
include_once( 'views/list.php' );
|
345 |
}
|
346 |
|
347 |
/**
|
348 |
* Add/Edit View page
|
349 |
*/
|
350 |
+
public static function display_sub_page_add() {
|
351 |
include_once( 'views/view.php' );
|
352 |
}
|
353 |
|
content-views.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* Plugin Name: Content Views
|
12 |
* Plugin URI: http://wordpress.org/plugins/content-views-query-and-display-post-page/
|
13 |
* Description: Query and display <strong>posts, pages</strong> in awesome layouts (<strong>grid, scrollable list, collapsible list</strong>) easier than ever, without coding!
|
14 |
-
* Version: 1.6.
|
15 |
* Author: PT Guy
|
16 |
* Author URI: http://profiles.wordpress.org/pt-guy
|
17 |
* Text Domain: content-views
|
@@ -27,7 +27,7 @@ if ( !defined( 'WPINC' ) ) {
|
|
27 |
/*
|
28 |
* Define Constant
|
29 |
*/
|
30 |
-
define( 'PT_CV_VERSION', '1.6.
|
31 |
define( 'PT_CV_FILE', __FILE__ );
|
32 |
$pt_cv_path = plugin_dir_path( __FILE__ );
|
33 |
include_once( $pt_cv_path . 'includes/defines.php' );
|
11 |
* Plugin Name: Content Views
|
12 |
* Plugin URI: http://wordpress.org/plugins/content-views-query-and-display-post-page/
|
13 |
* Description: Query and display <strong>posts, pages</strong> in awesome layouts (<strong>grid, scrollable list, collapsible list</strong>) easier than ever, without coding!
|
14 |
+
* Version: 1.6.1
|
15 |
* Author: PT Guy
|
16 |
* Author URI: http://profiles.wordpress.org/pt-guy
|
17 |
* Text Domain: content-views
|
27 |
/*
|
28 |
* Define Constant
|
29 |
*/
|
30 |
+
define( 'PT_CV_VERSION', '1.6.1' );
|
31 |
define( 'PT_CV_FILE', __FILE__ );
|
32 |
$pt_cv_path = plugin_dir_path( __FILE__ );
|
33 |
include_once( $pt_cv_path . 'includes/defines.php' );
|
includes/functions.php
CHANGED
@@ -364,8 +364,11 @@ if ( !class_exists( 'PT_CV_Functions' ) ) {
|
|
364 |
* @return string
|
365 |
*/
|
366 |
static function post_terms( $post ) {
|
367 |
-
global $
|
368 |
|
|
|
|
|
|
|
369 |
|
370 |
// List of HTML link to terms
|
371 |
$links = array();
|
@@ -386,10 +389,10 @@ if ( !class_exists( 'PT_CV_Functions' ) ) {
|
|
386 |
'<a href="%1$s" title="%2$s %3$s" class="%4$s">%3$s</a>', esc_url( get_term_link( $term, $term->taxonomy ) ), __( 'View all posts in', PT_CV_DOMAIN ), $term->name, PT_CV_PREFIX . 'tax-' . $term->slug
|
387 |
);
|
388 |
|
389 |
-
if ( !isset( $
|
390 |
-
$
|
391 |
}
|
392 |
-
$
|
393 |
}
|
394 |
|
395 |
return implode( ', ', $links );
|
@@ -579,31 +582,27 @@ if ( !class_exists( 'PT_CV_Functions' ) ) {
|
|
579 |
return __( 'Empty settings', PT_CV_DOMAIN );
|
580 |
}
|
581 |
|
582 |
-
|
583 |
-
* Check if this view is processed in this page
|
584 |
-
* if processed => hide it
|
585 |
-
* @since 1.5.2
|
586 |
-
*/
|
587 |
-
global $pt_cv_processed_view, $pt_cv_glb, $pt_cv_id;
|
588 |
-
|
589 |
-
// Init global array
|
590 |
-
if ( !isset( $pt_cv_glb ) ) {
|
591 |
-
$pt_cv_glb = array();
|
592 |
-
}
|
593 |
|
594 |
$view_id = !empty( $id ) ? $id : PT_CV_Functions::string_random();
|
|
|
|
|
595 |
if ( !isset( $pt_cv_glb[ $view_id ] ) ) {
|
596 |
$pt_cv_glb[ $view_id ] = array();
|
597 |
}
|
|
|
|
|
|
|
598 |
|
|
|
|
|
599 |
if ( empty( $pargs ) ) {
|
600 |
-
// Same View but has different shortcode parameters => consider as 2 different Views
|
601 |
$sc_params = isset( $pt_cv_glb[ $view_id ][ 'shortcode_params' ] ) ? $pt_cv_glb[ $view_id ][ 'shortcode_params' ] : PT_CV_Functions::string_random();
|
602 |
$vid = $view_id . '-' . md5( serialize( $sc_params ) );
|
603 |
-
if ( !empty( $
|
604 |
return '';
|
605 |
}
|
606 |
-
$
|
607 |
}
|
608 |
|
609 |
/**
|
364 |
* @return string
|
365 |
*/
|
366 |
static function post_terms( $post ) {
|
367 |
+
global $pt_cv_glb;
|
368 |
|
369 |
+
if ( !isset( $pt_cv_glb[ 'item_terms' ] ) ) {
|
370 |
+
$pt_cv_glb[ 'item_terms' ] = array();
|
371 |
+
}
|
372 |
|
373 |
// List of HTML link to terms
|
374 |
$links = array();
|
389 |
'<a href="%1$s" title="%2$s %3$s" class="%4$s">%3$s</a>', esc_url( get_term_link( $term, $term->taxonomy ) ), __( 'View all posts in', PT_CV_DOMAIN ), $term->name, PT_CV_PREFIX . 'tax-' . $term->slug
|
390 |
);
|
391 |
|
392 |
+
if ( !isset( $pt_cv_glb[ 'item_terms' ][ $post_id ] ) ) {
|
393 |
+
$pt_cv_glb[ 'item_terms' ][ $post_id ] = array();
|
394 |
}
|
395 |
+
$pt_cv_glb[ 'item_terms' ][ $post_id ][ $term->slug ] = $term->name;
|
396 |
}
|
397 |
|
398 |
return implode( ', ', $links );
|
582 |
return __( 'Empty settings', PT_CV_DOMAIN );
|
583 |
}
|
584 |
|
585 |
+
global $pt_cv_glb, $pt_cv_id;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
586 |
|
587 |
$view_id = !empty( $id ) ? $id : PT_CV_Functions::string_random();
|
588 |
+
|
589 |
+
// Init arrays
|
590 |
if ( !isset( $pt_cv_glb[ $view_id ] ) ) {
|
591 |
$pt_cv_glb[ $view_id ] = array();
|
592 |
}
|
593 |
+
if ( !isset( $pt_cv_glb[ 'processed_view' ] ) ) {
|
594 |
+
$pt_cv_glb[ 'processed_view' ] = array();
|
595 |
+
}
|
596 |
|
597 |
+
// If processed this View => return
|
598 |
+
// (Same View ID but different shortcode parameters => consider as 2 different Views)
|
599 |
if ( empty( $pargs ) ) {
|
|
|
600 |
$sc_params = isset( $pt_cv_glb[ $view_id ][ 'shortcode_params' ] ) ? $pt_cv_glb[ $view_id ][ 'shortcode_params' ] : PT_CV_Functions::string_random();
|
601 |
$vid = $view_id . '-' . md5( serialize( $sc_params ) );
|
602 |
+
if ( !empty( $pt_cv_glb[ 'processed_view' ][ $vid ] ) ) {
|
603 |
return '';
|
604 |
}
|
605 |
+
$pt_cv_glb[ 'processed_view' ][ $vid ] = 1;
|
606 |
}
|
607 |
|
608 |
/**
|
includes/hooks.php
CHANGED
@@ -33,7 +33,7 @@ if ( !class_exists( 'PT_CV_Hooks' ) ) {
|
|
33 |
* @param array $args The Query parameters array
|
34 |
*/
|
35 |
public static function filter_validate_settings( $errors, $args ) {
|
36 |
-
|
37 |
$dargs = PT_CV_Functions::get_global_variable( 'dargs' );
|
38 |
|
39 |
// echo "<pre>";
|
33 |
* @param array $args The Query parameters array
|
34 |
*/
|
35 |
public static function filter_validate_settings( $errors, $args ) {
|
36 |
+
|
37 |
$dargs = PT_CV_Functions::get_global_variable( 'dargs' );
|
38 |
|
39 |
// echo "<pre>";
|
includes/html-viewtype.php
CHANGED
@@ -27,7 +27,7 @@ if ( !class_exists( 'PT_CV_Html_ViewType' ) ) {
|
|
27 |
* @return array
|
28 |
*/
|
29 |
static function process_column_width( $content_items ) {
|
30 |
-
|
31 |
$dargs = PT_CV_Functions::get_global_variable( 'dargs' );
|
32 |
|
33 |
// -- Get column span
|
@@ -64,7 +64,7 @@ if ( !class_exists( 'PT_CV_Html_ViewType' ) ) {
|
|
64 |
* @return array Array of rows, each row contains columns
|
65 |
*/
|
66 |
static function grid_wrapper( $content_items, &$content ) {
|
67 |
-
|
68 |
$enable_filter = PT_CV_Functions::get_global_variable( 'enable_filter' );
|
69 |
|
70 |
list( $columns, $span_width_last, $span_width, $span_class, $row_class ) = self::process_column_width( $content_items );
|
@@ -141,7 +141,7 @@ if ( !class_exists( 'PT_CV_Html_ViewType' ) ) {
|
|
141 |
* @return array Array of rows, each row contains columns
|
142 |
*/
|
143 |
static function scrollable_wrapper( $content_items, &$content ) {
|
144 |
-
|
145 |
$dargs = PT_CV_Functions::get_global_variable( 'dargs' );
|
146 |
|
147 |
// ID for the wrapper of scrollable list
|
@@ -187,7 +187,7 @@ if ( !class_exists( 'PT_CV_Html_ViewType' ) ) {
|
|
187 |
* @return array
|
188 |
*/
|
189 |
static function scrollable_content( $content_items ) {
|
190 |
-
|
191 |
$dargs = PT_CV_Functions::get_global_variable( 'dargs' );
|
192 |
|
193 |
// Store content of a Scrollable list
|
27 |
* @return array
|
28 |
*/
|
29 |
static function process_column_width( $content_items ) {
|
30 |
+
|
31 |
$dargs = PT_CV_Functions::get_global_variable( 'dargs' );
|
32 |
|
33 |
// -- Get column span
|
64 |
* @return array Array of rows, each row contains columns
|
65 |
*/
|
66 |
static function grid_wrapper( $content_items, &$content ) {
|
67 |
+
|
68 |
$enable_filter = PT_CV_Functions::get_global_variable( 'enable_filter' );
|
69 |
|
70 |
list( $columns, $span_width_last, $span_width, $span_class, $row_class ) = self::process_column_width( $content_items );
|
141 |
* @return array Array of rows, each row contains columns
|
142 |
*/
|
143 |
static function scrollable_wrapper( $content_items, &$content ) {
|
144 |
+
|
145 |
$dargs = PT_CV_Functions::get_global_variable( 'dargs' );
|
146 |
|
147 |
// ID for the wrapper of scrollable list
|
187 |
* @return array
|
188 |
*/
|
189 |
static function scrollable_content( $content_items ) {
|
190 |
+
|
191 |
$dargs = PT_CV_Functions::get_global_variable( 'dargs' );
|
192 |
|
193 |
// Store content of a Scrollable list
|
includes/html.php
CHANGED
@@ -168,7 +168,7 @@ if ( !class_exists( 'PT_CV_Html' ) ) {
|
|
168 |
* @param string $style The style of view type (main, style2...)
|
169 |
*/
|
170 |
static function view_type_output( $view_type, $post, $style = 'main' ) {
|
171 |
-
|
172 |
$dargs = PT_CV_Functions::get_global_variable( 'dargs' );
|
173 |
$content = NULL;
|
174 |
|
@@ -225,7 +225,7 @@ if ( !class_exists( 'PT_CV_Html' ) ) {
|
|
225 |
* @return string Full HTML output of a item
|
226 |
*/
|
227 |
static function content_item_wrap( $html_item, $class = '', $post_id = 0 ) {
|
228 |
-
|
229 |
$dargs = PT_CV_Functions::get_global_variable( 'dargs' );
|
230 |
|
231 |
if ( empty( $html_item ) ) {
|
@@ -366,7 +366,7 @@ if ( !class_exists( 'PT_CV_Html' ) ) {
|
|
366 |
* @return string
|
367 |
*/
|
368 |
static function field_item_html( $field_name, $post, $fargs ) {
|
369 |
-
|
370 |
$dargs = PT_CV_Functions::get_global_variable( 'dargs' );
|
371 |
|
372 |
if ( empty( $field_name ) ) {
|
@@ -466,7 +466,6 @@ if ( !class_exists( 'PT_CV_Html' ) ) {
|
|
466 |
* @return string
|
467 |
*/
|
468 |
static function _field_content( $post, $fargs ) {
|
469 |
-
|
470 |
$dargs = PT_CV_Functions::get_global_variable( 'dargs' );
|
471 |
|
472 |
// Get other settings
|
@@ -582,7 +581,7 @@ if ( !class_exists( 'PT_CV_Html' ) ) {
|
|
582 |
* @return string
|
583 |
*/
|
584 |
static function _field_thumbnail( $post, $fargs ) {
|
585 |
-
|
586 |
$dargs = PT_CV_Functions::get_global_variable( 'dargs' );
|
587 |
|
588 |
// Get layout format
|
@@ -757,7 +756,7 @@ if ( !class_exists( 'PT_CV_Html' ) ) {
|
|
757 |
* @return type
|
758 |
*/
|
759 |
static function pagination_output( $max_num_pages, $current_page, $session_id ) {
|
760 |
-
|
761 |
$dargs = PT_CV_Functions::get_global_variable( 'dargs' );
|
762 |
|
763 |
if ( !$max_num_pages || (int) $max_num_pages === 1 ) {
|
@@ -893,11 +892,11 @@ if ( !class_exists( 'PT_CV_Html' ) ) {
|
|
893 |
// Localize for Public script
|
894 |
PT_CV_Asset::localize_script(
|
895 |
'public', PT_CV_PREFIX_UPPER . 'PUBLIC', array(
|
|
|
|
|
896 |
'is_admin' => is_admin(),
|
897 |
'is_mobile' => wp_is_mobile(),
|
898 |
-
'_prefix' => PT_CV_PREFIX,
|
899 |
'ajaxurl' => admin_url( 'admin-ajax.php' ),
|
900 |
-
'_nonce' => wp_create_nonce( PT_CV_PREFIX_ . 'ajax_nonce' ),
|
901 |
'lang' => PT_CV_Functions::get_language(), #Get current language of site
|
902 |
'move_bootstrap' => apply_filters( PT_CV_PREFIX_ . 'move_bootstrap', 1 ), #Should I move Bootstrap to top of all styles
|
903 |
)
|
168 |
* @param string $style The style of view type (main, style2...)
|
169 |
*/
|
170 |
static function view_type_output( $view_type, $post, $style = 'main' ) {
|
171 |
+
|
172 |
$dargs = PT_CV_Functions::get_global_variable( 'dargs' );
|
173 |
$content = NULL;
|
174 |
|
225 |
* @return string Full HTML output of a item
|
226 |
*/
|
227 |
static function content_item_wrap( $html_item, $class = '', $post_id = 0 ) {
|
228 |
+
|
229 |
$dargs = PT_CV_Functions::get_global_variable( 'dargs' );
|
230 |
|
231 |
if ( empty( $html_item ) ) {
|
366 |
* @return string
|
367 |
*/
|
368 |
static function field_item_html( $field_name, $post, $fargs ) {
|
369 |
+
|
370 |
$dargs = PT_CV_Functions::get_global_variable( 'dargs' );
|
371 |
|
372 |
if ( empty( $field_name ) ) {
|
466 |
* @return string
|
467 |
*/
|
468 |
static function _field_content( $post, $fargs ) {
|
|
|
469 |
$dargs = PT_CV_Functions::get_global_variable( 'dargs' );
|
470 |
|
471 |
// Get other settings
|
581 |
* @return string
|
582 |
*/
|
583 |
static function _field_thumbnail( $post, $fargs ) {
|
584 |
+
|
585 |
$dargs = PT_CV_Functions::get_global_variable( 'dargs' );
|
586 |
|
587 |
// Get layout format
|
756 |
* @return type
|
757 |
*/
|
758 |
static function pagination_output( $max_num_pages, $current_page, $session_id ) {
|
759 |
+
|
760 |
$dargs = PT_CV_Functions::get_global_variable( 'dargs' );
|
761 |
|
762 |
if ( !$max_num_pages || (int) $max_num_pages === 1 ) {
|
892 |
// Localize for Public script
|
893 |
PT_CV_Asset::localize_script(
|
894 |
'public', PT_CV_PREFIX_UPPER . 'PUBLIC', array(
|
895 |
+
'_prefix' => PT_CV_PREFIX,
|
896 |
+
'_nonce' => wp_create_nonce( PT_CV_PREFIX_ . 'ajax_nonce' ),
|
897 |
'is_admin' => is_admin(),
|
898 |
'is_mobile' => wp_is_mobile(),
|
|
|
899 |
'ajaxurl' => admin_url( 'admin-ajax.php' ),
|
|
|
900 |
'lang' => PT_CV_Functions::get_language(), #Get current language of site
|
901 |
'move_bootstrap' => apply_filters( PT_CV_PREFIX_ . 'move_bootstrap', 1 ), #Should I move Bootstrap to top of all styles
|
902 |
)
|
languages/content-views.mo
DELETED
Binary file
|
languages/content-views.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Content Views\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: PT Guy <support@contentviewspro.com>\n"
|
8 |
"MIME-Version: 1.0\n"
|
@@ -14,283 +14,302 @@ msgstr ""
|
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
"X-Poedit-SearchPath-0: code\n"
|
16 |
|
17 |
-
#: code/admin/content-views-admin.php:
|
18 |
msgid "There is no taxonomy for selected content type"
|
19 |
msgstr ""
|
20 |
|
21 |
-
#: code/admin/content-views-admin.php:
|
22 |
msgid "Pagination is disabled when Limit = -1"
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: code/admin/content-views-admin.php:
|
26 |
msgid "Opening a link is prevented in preview box"
|
27 |
msgstr ""
|
28 |
|
29 |
-
#: code/admin/content-views-admin.php:
|
30 |
msgid "Show Preview"
|
31 |
msgstr ""
|
32 |
|
33 |
-
#: code/admin/content-views-admin.php:
|
34 |
msgid "Hide Preview"
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: code/admin/content-views-admin.php:
|
38 |
msgid "Update Preview"
|
39 |
msgstr ""
|
40 |
|
41 |
-
#: code/admin/content-views-admin.php:
|
42 |
-
#: code/admin/content-views-admin.php:297
|
43 |
msgid "Content View Settings"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: code/admin/content-views-admin.php:
|
47 |
msgid "All Content Views"
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: code/admin/content-views-admin.php:308 code/public/content-views.php:
|
51 |
msgid "All Views"
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: code/admin/content-views-admin.php:
|
55 |
msgid "Add New View"
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: code/admin/content-views-admin.php:
|
59 |
msgid "Add New"
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: code/admin/content-views-admin.php:
|
63 |
msgid "Settings"
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: code/admin/content-views-admin.php:
|
67 |
msgid "Add View"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: code/admin/content-views-admin.php:
|
71 |
msgid "Edit this item"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: code/admin/content-views-admin.php:
|
75 |
msgid "Edit"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: code/admin/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
msgid "There is no option"
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: code/admin/includes/plugin.php:
|
83 |
msgid "Frontend assets"
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: code/admin/includes/plugin.php:
|
87 |
-
msgid "Don't load <b>Bootstrap</b> style & script (in frontend of website)"
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: code/admin/includes/plugin.php:
|
91 |
msgid ""
|
92 |
"Only check this option if Bootstrap has been loaded by active theme or other "
|
93 |
-
"
|
94 |
msgstr ""
|
95 |
|
96 |
-
#: code/admin/views/view.php:
|
97 |
msgid "Edit View"
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: code/admin/views/view.php:
|
101 |
msgid "Preview"
|
102 |
msgstr ""
|
103 |
|
104 |
-
#: code/admin/views/view.php:
|
105 |
msgid ""
|
106 |
"Click \"Show Preview\" or \"Update Preview\" button to show, \"Hide Preview"
|
107 |
"\" button to hide the output"
|
108 |
msgstr ""
|
109 |
|
110 |
-
#: code/admin/views/view.php:
|
111 |
msgid "View title"
|
112 |
msgstr ""
|
113 |
|
114 |
-
#: code/admin/views/view.php:
|
115 |
msgid "Enter a name to identify your views easily"
|
116 |
msgstr ""
|
117 |
|
118 |
-
#: code/admin/views/view.php:
|
119 |
msgid "Save"
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: code/admin/views/view.php:
|
123 |
msgid "Filter Settings"
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: code/admin/views/view.php:122 code/includes/hooks.php:
|
127 |
msgid "Display Settings"
|
128 |
msgstr ""
|
129 |
|
130 |
-
#: code/admin/views/view.php:
|
131 |
msgid "Content type"
|
132 |
msgstr ""
|
133 |
|
134 |
-
#: code/admin/views/view.php:
|
135 |
-
msgid "
|
|
|
|
|
|
|
|
|
136 |
msgstr ""
|
137 |
|
138 |
#: code/admin/views/view.php:169
|
|
|
|
|
|
|
|
|
139 |
msgid "In list"
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: code/admin/views/view.php:
|
143 |
msgid ""
|
144 |
"List of post ids to retrieve (comma-separated values, e.g. 1,2,3)<br>A post "
|
145 |
"is displayed only if its ID is equal to any of the values IN this list"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: code/admin/views/view.php:
|
149 |
msgid "Excludes"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: code/admin/views/view.php:
|
153 |
msgid "List of post ids to exclude (comma-separated values, e.g. 1,2,3)"
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: code/admin/views/view.php:
|
157 |
msgid "Parent page"
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: code/admin/views/view.php:
|
161 |
msgid "Enter ID of parent page to query child pages"
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: code/admin/views/view.php:
|
165 |
msgid "Limit"
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: code/admin/views/view.php:
|
169 |
msgid ""
|
170 |
-
"The number of posts to show.
|
171 |
-
"
|
172 |
msgstr ""
|
173 |
|
174 |
-
#: code/admin/views/view.php:
|
175 |
msgid "Advanced filters"
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: code/admin/views/view.php:
|
179 |
msgid "Taxonomies"
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: code/admin/views/view.php:
|
183 |
msgid "Check checkbox of taxonomies to filter posts by their terms"
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: code/admin/views/view.php:
|
187 |
msgid "Terms"
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: code/admin/views/view.php:
|
191 |
msgid "Relation"
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: code/admin/views/view.php:
|
195 |
msgid ""
|
196 |
"Select AND to show posts which match ALL settings of selected "
|
197 |
"taxonomies<br>Select OR to show posts which match settings of at least one "
|
198 |
"selected taxonomy"
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: code/admin/views/view.php:
|
202 |
msgid "Order by"
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: code/admin/views/view.php:
|
206 |
msgid "Written by"
|
207 |
msgstr ""
|
208 |
|
209 |
-
#: code/admin/views/view.php:
|
210 |
msgid "Not written by"
|
211 |
msgstr ""
|
212 |
|
213 |
-
#: code/admin/views/view.php:
|
214 |
msgid "Status"
|
215 |
msgstr ""
|
216 |
|
217 |
-
#: code/admin/views/view.php:
|
218 |
msgid "Select status of posts"
|
219 |
msgstr ""
|
220 |
|
221 |
-
#: code/admin/views/view.php:
|
222 |
msgid "Keyword"
|
223 |
msgstr ""
|
224 |
|
225 |
-
#: code/admin/views/view.php:
|
226 |
msgid "Enter the keyword to searching for posts"
|
227 |
msgstr ""
|
228 |
|
229 |
-
#: code/admin/views/view.php:
|
230 |
msgid "View type"
|
231 |
msgstr ""
|
232 |
|
233 |
-
#: code/admin/views/view.php:
|
234 |
msgid "View type settings"
|
235 |
msgstr ""
|
236 |
|
237 |
-
#: code/admin/views/view.php:
|
238 |
msgid "Layout format"
|
239 |
msgstr ""
|
240 |
|
241 |
-
#: code/admin/views/view.php:
|
242 |
msgid "This is layout format of output for each post"
|
243 |
msgstr ""
|
244 |
|
245 |
-
#: code/admin/views/view.php:
|
246 |
msgid "Fields settings"
|
247 |
msgstr ""
|
248 |
|
249 |
-
#: code/admin/views/view.php:
|
250 |
msgid "Pagination settings"
|
251 |
msgstr ""
|
252 |
|
253 |
-
#: code/admin/views/view.php:
|
254 |
msgid "Other settings"
|
255 |
msgstr ""
|
256 |
|
257 |
-
#: code/includes/functions.php:
|
258 |
msgid "View all posts in"
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: code/includes/functions.php:
|
262 |
msgid "(no title)"
|
263 |
msgstr ""
|
264 |
|
265 |
-
#: code/includes/functions.php:
|
266 |
msgid "Sorry, your nonce did not verify."
|
267 |
msgstr ""
|
268 |
|
269 |
-
#: code/includes/functions.php:
|
270 |
msgid "Empty settings"
|
271 |
msgstr ""
|
272 |
|
273 |
-
#: code/includes/functions.php:
|
274 |
msgid "No post found"
|
275 |
msgstr ""
|
276 |
|
277 |
-
#: code/includes/hooks.php:
|
278 |
msgid "Please select an option in : "
|
279 |
msgstr ""
|
280 |
|
281 |
-
#: code/includes/hooks.php:
|
282 |
msgid "Please set value in : "
|
283 |
msgstr ""
|
284 |
|
285 |
-
#: code/includes/hooks.php:
|
286 |
msgid "Fields display"
|
287 |
msgstr ""
|
288 |
|
289 |
-
#: code/includes/hooks.php:
|
290 |
msgid "Items per page"
|
291 |
msgstr ""
|
292 |
|
293 |
-
#: code/includes/hooks.php:
|
294 |
msgid "Items per row"
|
295 |
msgstr ""
|
296 |
|
@@ -302,142 +321,187 @@ msgstr ""
|
|
302 |
msgid "loading"
|
303 |
msgstr ""
|
304 |
|
305 |
-
#: code/includes/html.php:
|
306 |
msgid "Read More"
|
307 |
msgstr ""
|
308 |
|
309 |
-
#: code/includes/html.php:
|
310 |
msgid "in"
|
311 |
msgstr ""
|
312 |
|
313 |
-
#: code/includes/html.php:
|
314 |
msgid "Leave a comment"
|
315 |
msgstr ""
|
316 |
|
317 |
-
#: code/includes/html.php:
|
318 |
msgid "1 Comment"
|
319 |
msgstr ""
|
320 |
|
321 |
-
#: code/includes/html.php:
|
322 |
msgid "% Comments"
|
323 |
msgstr ""
|
324 |
|
325 |
-
#: code/includes/html.php:
|
326 |
msgid "by"
|
327 |
msgstr ""
|
328 |
|
329 |
-
#: code/includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
330 |
msgid "Select terms"
|
331 |
msgstr ""
|
332 |
|
333 |
-
#: code/includes/settings.php:
|
334 |
msgid "Operator"
|
335 |
msgstr ""
|
336 |
|
337 |
-
#: code/includes/settings.php:
|
338 |
msgid "Select a criteria to sort by"
|
339 |
msgstr ""
|
340 |
|
341 |
-
#: code/includes/settings.php:
|
342 |
msgid "Order"
|
343 |
msgstr ""
|
344 |
|
345 |
-
#: code/includes/settings.php:
|
346 |
msgid "Pagination"
|
347 |
msgstr ""
|
348 |
|
349 |
-
#: code/includes/settings.php:
|
350 |
msgid "Enable"
|
351 |
msgstr ""
|
352 |
|
353 |
-
#: code/includes/settings.php:
|
354 |
msgid ""
|
355 |
"The number of items per page<br>If value of \"Limit\" option is not blank "
|
356 |
"(empty), this value should be smaller than \"Limit\" value"
|
357 |
msgstr ""
|
358 |
|
359 |
-
#: code/includes/settings.php:
|
|
|
|
|
|
|
|
|
360 |
msgid "Pagination style"
|
361 |
msgstr ""
|
362 |
|
363 |
#: code/includes/settings.php:203
|
|
|
|
|
|
|
|
|
364 |
msgid "Open item in"
|
365 |
msgstr ""
|
366 |
|
367 |
-
#: code/includes/settings.php:
|
368 |
msgid "How to open an item when click on Title, Thumbnail, Read more button"
|
369 |
msgstr ""
|
370 |
|
371 |
-
#: code/includes/settings.php:
|
372 |
-
msgid "
|
373 |
msgstr ""
|
374 |
|
375 |
-
#: code/includes/settings.php:
|
376 |
-
msgid "
|
377 |
msgstr ""
|
378 |
|
379 |
-
#: code/includes/settings.php:
|
380 |
msgid "Content settings"
|
381 |
msgstr ""
|
382 |
|
383 |
-
#: code/includes/settings.php:
|
384 |
msgid "Show Full Content"
|
385 |
msgstr ""
|
386 |
|
387 |
-
#: code/includes/settings.php:
|
388 |
msgid "Show Excerpt"
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: code/includes/settings.php:
|
392 |
-
msgid "Excerpt
|
393 |
msgstr ""
|
394 |
|
395 |
-
#: code/includes/settings.php:
|
396 |
msgid "Generating excerpt by selecting the first X words of the content"
|
397 |
msgstr ""
|
398 |
|
399 |
-
#: code/includes/settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
400 |
msgid "Thumbnail position"
|
401 |
msgstr ""
|
402 |
|
403 |
-
#: code/includes/settings.php:
|
404 |
msgid "Show Thumbnail"
|
405 |
msgstr ""
|
406 |
|
407 |
-
#: code/includes/settings.php:
|
408 |
msgid "Show Title"
|
409 |
msgstr ""
|
410 |
|
411 |
-
#: code/includes/settings.php:
|
412 |
msgid "Show Content"
|
413 |
msgstr ""
|
414 |
|
415 |
-
#: code/includes/settings.php:
|
416 |
msgid "Show Meta Fields (Author, Date, Comment...)"
|
417 |
msgstr ""
|
418 |
|
419 |
-
#: code/includes/settings.php:
|
420 |
msgid "Thumbnail size"
|
421 |
msgstr ""
|
422 |
|
423 |
-
#: code/includes/settings.php:
|
424 |
msgid "Show Date"
|
425 |
msgstr ""
|
426 |
|
427 |
-
#: code/includes/settings.php:
|
428 |
msgid "Show Author"
|
429 |
msgstr ""
|
430 |
|
431 |
-
#: code/includes/settings.php:
|
432 |
msgid "Show Taxonomies (categories, tags...)"
|
433 |
msgstr ""
|
434 |
|
435 |
-
#: code/includes/settings.php:
|
436 |
msgid "Show Comment Count"
|
437 |
msgstr ""
|
438 |
|
439 |
-
#: code/includes/settings.php:
|
440 |
-
msgid "The number of items
|
441 |
msgstr ""
|
442 |
|
443 |
#: code/includes/values.php:93 code/includes/values.php:106
|
@@ -472,171 +536,175 @@ msgstr ""
|
|
472 |
msgid "A post is displayed only if it associated with all values in terms list"
|
473 |
msgstr ""
|
474 |
|
475 |
-
#: code/includes/values.php:
|
476 |
msgid "Yes"
|
477 |
msgstr ""
|
478 |
|
479 |
-
#: code/includes/values.php:
|
480 |
msgid "No"
|
481 |
msgstr ""
|
482 |
|
483 |
-
#: code/includes/values.php:
|
484 |
msgid "Show"
|
485 |
msgstr ""
|
486 |
|
487 |
-
#: code/includes/values.php:
|
488 |
msgid "Hide"
|
489 |
msgstr ""
|
490 |
|
491 |
-
#: code/includes/values.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
492 |
msgid "Regular pagination"
|
493 |
msgstr ""
|
494 |
|
495 |
-
#: code/includes/values.php:
|
496 |
msgid "ASC"
|
497 |
msgstr ""
|
498 |
|
499 |
-
#: code/includes/values.php:
|
500 |
msgid "DESC"
|
501 |
msgstr ""
|
502 |
|
503 |
-
#: code/includes/values.php:
|
504 |
msgid "Publish"
|
505 |
msgstr ""
|
506 |
|
507 |
-
#: code/includes/values.php:
|
508 |
msgid "Pending"
|
509 |
msgstr ""
|
510 |
|
511 |
-
#: code/includes/values.php:
|
512 |
msgid "Draft"
|
513 |
msgstr ""
|
514 |
|
515 |
-
#: code/includes/values.php:
|
516 |
msgid "Auto draft"
|
517 |
msgstr ""
|
518 |
|
519 |
-
#: code/includes/values.php:
|
520 |
msgid "Future"
|
521 |
msgstr ""
|
522 |
|
523 |
-
#: code/includes/values.php:
|
524 |
msgid "Private"
|
525 |
msgstr ""
|
526 |
|
527 |
-
#: code/includes/values.php:
|
528 |
msgid "Inherit"
|
529 |
msgstr ""
|
530 |
|
531 |
-
#: code/includes/values.php:
|
532 |
msgid "Trash"
|
533 |
msgstr ""
|
534 |
|
535 |
-
#: code/includes/values.php:
|
536 |
msgid "Taxonomy (Categories, Tags...)"
|
537 |
msgstr ""
|
538 |
|
539 |
-
#: code/includes/values.php:
|
540 |
msgid "Order & Orderby"
|
541 |
msgstr ""
|
542 |
|
543 |
-
#: code/includes/values.php:
|
544 |
msgid "Search"
|
545 |
msgstr ""
|
546 |
|
547 |
-
#: code/includes/values.php:
|
548 |
-
msgid "Author"
|
549 |
-
msgstr ""
|
550 |
-
|
551 |
-
#: code/includes/values.php:269 code/includes/values.php:304
|
552 |
msgid "— Select —"
|
553 |
msgstr ""
|
554 |
|
555 |
-
#: code/includes/values.php:
|
556 |
msgid "ID"
|
557 |
msgstr ""
|
558 |
|
559 |
-
#: code/includes/values.php:
|
560 |
msgid "Title"
|
561 |
msgstr ""
|
562 |
|
563 |
-
#: code/includes/values.php:
|
564 |
msgid "Created date"
|
565 |
msgstr ""
|
566 |
|
567 |
-
#: code/includes/values.php:
|
568 |
msgid "Modified date"
|
569 |
msgstr ""
|
570 |
|
571 |
-
#: code/includes/values.php:
|
572 |
msgid "Grid"
|
573 |
msgstr ""
|
574 |
|
575 |
-
#: code/includes/values.php:
|
576 |
msgid "Collapsible List"
|
577 |
msgstr ""
|
578 |
|
579 |
-
#: code/includes/values.php:
|
580 |
msgid "Scrollable List"
|
581 |
msgstr ""
|
582 |
|
583 |
-
#: code/includes/values.php:
|
584 |
msgid ""
|
585 |
"1 column — All fields inside an output item are shown in one column"
|
586 |
msgstr ""
|
587 |
|
588 |
-
#: code/includes/values.php:
|
589 |
msgid "2 columns — Show thumbnail on the left/right side of other fields"
|
590 |
msgstr ""
|
591 |
|
592 |
-
#: code/includes/values.php:
|
593 |
-
msgid "
|
594 |
msgstr ""
|
595 |
|
596 |
-
#: code/includes/values.php:
|
597 |
-
msgid "
|
598 |
msgstr ""
|
599 |
|
600 |
-
#: code/includes/values.php:
|
601 |
msgid "Original resolution (But resize automatically to fit its container)"
|
602 |
msgstr ""
|
603 |
|
604 |
-
#: code/includes/values.php:
|
605 |
msgid "Top"
|
606 |
msgstr ""
|
607 |
|
608 |
-
#: code/includes/values.php:
|
609 |
msgid "Left"
|
610 |
msgstr ""
|
611 |
|
612 |
-
#: code/includes/values.php:
|
613 |
msgid "Bottom"
|
614 |
msgstr ""
|
615 |
|
616 |
-
#: code/includes/values.php:
|
617 |
msgid "Right"
|
618 |
msgstr ""
|
619 |
|
620 |
-
#: code/public/content-views.php:
|
621 |
msgid "New View"
|
622 |
msgstr ""
|
623 |
|
624 |
-
#: code/public/content-views.php:
|
625 |
msgid "View View"
|
626 |
msgstr ""
|
627 |
|
628 |
-
#: code/public/content-views.php:
|
629 |
msgid "Search Views"
|
630 |
msgstr ""
|
631 |
|
632 |
-
#: code/public/content-views.php:
|
633 |
msgid "Parent Views:"
|
634 |
msgstr ""
|
635 |
|
636 |
-
#: code/public/content-views.php:
|
637 |
msgid "No views found."
|
638 |
msgstr ""
|
639 |
|
640 |
-
#: code/public/content-views.php:
|
641 |
msgid "No views found in Trash."
|
642 |
msgstr ""
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Content Views\n"
|
4 |
+
"POT-Creation-Date: 2015-05-26 00:26+0700\n"
|
5 |
+
"PO-Revision-Date: 2015-05-26 00:26+0700\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: PT Guy <support@contentviewspro.com>\n"
|
8 |
"MIME-Version: 1.0\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
"X-Poedit-SearchPath-0: code\n"
|
16 |
|
17 |
+
#: code/admin/content-views-admin.php:252
|
18 |
msgid "There is no taxonomy for selected content type"
|
19 |
msgstr ""
|
20 |
|
21 |
+
#: code/admin/content-views-admin.php:253
|
22 |
msgid "Pagination is disabled when Limit = -1"
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: code/admin/content-views-admin.php:254
|
26 |
msgid "Opening a link is prevented in preview box"
|
27 |
msgstr ""
|
28 |
|
29 |
+
#: code/admin/content-views-admin.php:258 code/admin/views/view.php:71
|
30 |
msgid "Show Preview"
|
31 |
msgstr ""
|
32 |
|
33 |
+
#: code/admin/content-views-admin.php:259
|
34 |
msgid "Hide Preview"
|
35 |
msgstr ""
|
36 |
|
37 |
+
#: code/admin/content-views-admin.php:260
|
38 |
msgid "Update Preview"
|
39 |
msgstr ""
|
40 |
|
41 |
+
#: code/admin/content-views-admin.php:304
|
|
|
42 |
msgid "Content View Settings"
|
43 |
msgstr ""
|
44 |
|
45 |
+
#: code/admin/content-views-admin.php:308
|
46 |
msgid "All Content Views"
|
47 |
msgstr ""
|
48 |
|
49 |
+
#: code/admin/content-views-admin.php:308 code/public/content-views.php:254
|
50 |
msgid "All Views"
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: code/admin/content-views-admin.php:312 code/public/content-views.php:250
|
54 |
msgid "Add New View"
|
55 |
msgstr ""
|
56 |
|
57 |
+
#: code/admin/content-views-admin.php:312
|
58 |
msgid "Add New"
|
59 |
msgstr ""
|
60 |
|
61 |
+
#: code/admin/content-views-admin.php:363 code/admin/includes/options.php:343
|
62 |
msgid "Settings"
|
63 |
msgstr ""
|
64 |
|
65 |
+
#: code/admin/content-views-admin.php:364
|
66 |
msgid "Add View"
|
67 |
msgstr ""
|
68 |
|
69 |
+
#: code/admin/content-views-admin.php:398
|
70 |
msgid "Edit this item"
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: code/admin/content-views-admin.php:398
|
74 |
msgid "Edit"
|
75 |
msgstr ""
|
76 |
|
77 |
+
#: code/admin/content-views-admin.php:416
|
78 |
+
msgid "Shortcode"
|
79 |
+
msgstr ""
|
80 |
+
|
81 |
+
#: code/admin/content-views-admin.php:417 code/includes/values.php:274
|
82 |
+
msgid "Author"
|
83 |
+
msgstr ""
|
84 |
+
|
85 |
+
#: code/admin/content-views-admin.php:418
|
86 |
+
msgid "Date"
|
87 |
+
msgstr ""
|
88 |
+
|
89 |
+
#: code/admin/includes/options.php:275 code/includes/settings.php:785
|
90 |
msgid "There is no option"
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: code/admin/includes/plugin.php:106
|
94 |
msgid "Frontend assets"
|
95 |
msgstr ""
|
96 |
|
97 |
+
#: code/admin/includes/plugin.php:169
|
98 |
+
msgid "Don't load <b>Bootstrap 3</b> style & script (in frontend of website)"
|
99 |
msgstr ""
|
100 |
|
101 |
+
#: code/admin/includes/plugin.php:169
|
102 |
msgid ""
|
103 |
"Only check this option if Bootstrap has been loaded by active theme or other "
|
104 |
+
"plugins"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: code/admin/views/view.php:38 code/public/content-views.php:252
|
108 |
msgid "Edit View"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: code/admin/views/view.php:54
|
112 |
msgid "Preview"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: code/admin/views/view.php:61
|
116 |
msgid ""
|
117 |
"Click \"Show Preview\" or \"Update Preview\" button to show, \"Hide Preview"
|
118 |
"\" button to hide the output"
|
119 |
msgstr ""
|
120 |
|
121 |
+
#: code/admin/views/view.php:95
|
122 |
msgid "View title"
|
123 |
msgstr ""
|
124 |
|
125 |
+
#: code/admin/views/view.php:102
|
126 |
msgid "Enter a name to identify your views easily"
|
127 |
msgstr ""
|
128 |
|
129 |
+
#: code/admin/views/view.php:112 code/admin/views/view.php:585
|
130 |
msgid "Save"
|
131 |
msgstr ""
|
132 |
|
133 |
+
#: code/admin/views/view.php:118 code/includes/hooks.php:52
|
134 |
msgid "Filter Settings"
|
135 |
msgstr ""
|
136 |
|
137 |
+
#: code/admin/views/view.php:122 code/includes/hooks.php:53
|
138 |
msgid "Display Settings"
|
139 |
msgstr ""
|
140 |
|
141 |
+
#: code/admin/views/view.php:137 code/includes/hooks.php:62
|
142 |
msgid "Content type"
|
143 |
msgstr ""
|
144 |
|
145 |
+
#: code/admin/views/view.php:161
|
146 |
+
msgid "Filter custom content type (or post type) ?"
|
147 |
+
msgstr ""
|
148 |
+
|
149 |
+
#: code/admin/views/view.php:161 code/includes/settings.php:290
|
150 |
+
msgid "Please upgrade to Pro"
|
151 |
msgstr ""
|
152 |
|
153 |
#: code/admin/views/view.php:169
|
154 |
+
msgid "Common filters"
|
155 |
+
msgstr ""
|
156 |
+
|
157 |
+
#: code/admin/views/view.php:184
|
158 |
msgid "In list"
|
159 |
msgstr ""
|
160 |
|
161 |
+
#: code/admin/views/view.php:191
|
162 |
msgid ""
|
163 |
"List of post ids to retrieve (comma-separated values, e.g. 1,2,3)<br>A post "
|
164 |
"is displayed only if its ID is equal to any of the values IN this list"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: code/admin/views/view.php:199
|
168 |
msgid "Excludes"
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: code/admin/views/view.php:206
|
172 |
msgid "List of post ids to exclude (comma-separated values, e.g. 1,2,3)"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: code/admin/views/view.php:214
|
176 |
msgid "Parent page"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: code/admin/views/view.php:221
|
180 |
msgid "Enter ID of parent page to query child pages"
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: code/admin/views/view.php:230
|
184 |
msgid "Limit"
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: code/admin/views/view.php:239
|
188 |
msgid ""
|
189 |
+
"The number of posts to show. Set empty to show all found posts (which match "
|
190 |
+
"all filter settings)"
|
191 |
msgstr ""
|
192 |
|
193 |
+
#: code/admin/views/view.php:251
|
194 |
msgid "Advanced filters"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: code/admin/views/view.php:306
|
198 |
msgid "Taxonomies"
|
199 |
msgstr ""
|
200 |
|
201 |
+
#: code/admin/views/view.php:320
|
202 |
msgid "Check checkbox of taxonomies to filter posts by their terms"
|
203 |
msgstr ""
|
204 |
|
205 |
+
#: code/admin/views/view.php:327
|
206 |
msgid "Terms"
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: code/admin/views/view.php:348
|
210 |
msgid "Relation"
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: code/admin/views/view.php:357
|
214 |
msgid ""
|
215 |
"Select AND to show posts which match ALL settings of selected "
|
216 |
"taxonomies<br>Select OR to show posts which match settings of at least one "
|
217 |
"selected taxonomy"
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: code/admin/views/view.php:367 code/includes/settings.php:90
|
221 |
msgid "Order by"
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: code/admin/views/view.php:389
|
225 |
msgid "Written by"
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: code/admin/views/view.php:405
|
229 |
msgid "Not written by"
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: code/admin/views/view.php:423 code/includes/values.php:271
|
233 |
msgid "Status"
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: code/admin/views/view.php:433
|
237 |
msgid "Select status of posts"
|
238 |
msgstr ""
|
239 |
|
240 |
+
#: code/admin/views/view.php:442
|
241 |
msgid "Keyword"
|
242 |
msgstr ""
|
243 |
|
244 |
+
#: code/admin/views/view.php:449
|
245 |
msgid "Enter the keyword to searching for posts"
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: code/admin/views/view.php:472 code/includes/hooks.php:70
|
249 |
msgid "View type"
|
250 |
msgstr ""
|
251 |
|
252 |
+
#: code/admin/views/view.php:486 code/includes/hooks.php:97
|
253 |
msgid "View type settings"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: code/admin/views/view.php:504 code/includes/hooks.php:75
|
257 |
msgid "Layout format"
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: code/admin/views/view.php:512
|
261 |
msgid "This is layout format of output for each post"
|
262 |
msgstr ""
|
263 |
|
264 |
+
#: code/admin/views/view.php:519 code/includes/hooks.php:80
|
265 |
msgid "Fields settings"
|
266 |
msgstr ""
|
267 |
|
268 |
+
#: code/admin/views/view.php:537 code/includes/hooks.php:86
|
269 |
msgid "Pagination settings"
|
270 |
msgstr ""
|
271 |
|
272 |
+
#: code/admin/views/view.php:554
|
273 |
msgid "Other settings"
|
274 |
msgstr ""
|
275 |
|
276 |
+
#: code/includes/functions.php:389
|
277 |
msgid "View all posts in"
|
278 |
msgstr ""
|
279 |
|
280 |
+
#: code/includes/functions.php:445 code/includes/html.php:448
|
281 |
msgid "(no title)"
|
282 |
msgstr ""
|
283 |
|
284 |
+
#: code/includes/functions.php:509
|
285 |
msgid "Sorry, your nonce did not verify."
|
286 |
msgstr ""
|
287 |
|
288 |
+
#: code/includes/functions.php:582
|
289 |
msgid "Empty settings"
|
290 |
msgstr ""
|
291 |
|
292 |
+
#: code/includes/functions.php:771
|
293 |
msgid "No post found"
|
294 |
msgstr ""
|
295 |
|
296 |
+
#: code/includes/hooks.php:48
|
297 |
msgid "Please select an option in : "
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: code/includes/hooks.php:49
|
301 |
msgid "Please set value in : "
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: code/includes/hooks.php:80
|
305 |
msgid "Fields display"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: code/includes/hooks.php:86 code/includes/settings.php:150
|
309 |
msgid "Items per page"
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: code/includes/hooks.php:97 code/includes/settings.php:710
|
313 |
msgid "Items per row"
|
314 |
msgstr ""
|
315 |
|
321 |
msgid "loading"
|
322 |
msgstr ""
|
323 |
|
324 |
+
#: code/includes/html.php:497
|
325 |
msgid "Read More"
|
326 |
msgstr ""
|
327 |
|
328 |
+
#: code/includes/html.php:664
|
329 |
msgid "in"
|
330 |
msgstr ""
|
331 |
|
332 |
+
#: code/includes/html.php:680
|
333 |
msgid "Leave a comment"
|
334 |
msgstr ""
|
335 |
|
336 |
+
#: code/includes/html.php:680
|
337 |
msgid "1 Comment"
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: code/includes/html.php:680
|
341 |
msgid "% Comments"
|
342 |
msgstr ""
|
343 |
|
344 |
+
#: code/includes/html.php:690
|
345 |
msgid "by"
|
346 |
msgstr ""
|
347 |
|
348 |
+
#: code/includes/html.php:912
|
349 |
+
msgid "Go to first page"
|
350 |
+
msgstr ""
|
351 |
+
|
352 |
+
#: code/includes/html.php:913
|
353 |
+
msgid "Go to previous page"
|
354 |
+
msgstr ""
|
355 |
+
|
356 |
+
#: code/includes/html.php:914
|
357 |
+
msgid "Go to next page"
|
358 |
+
msgstr ""
|
359 |
+
|
360 |
+
#: code/includes/html.php:915
|
361 |
+
msgid "Go to last page"
|
362 |
+
msgstr ""
|
363 |
+
|
364 |
+
#: code/includes/html.php:916
|
365 |
+
msgid "Current page is"
|
366 |
+
msgstr ""
|
367 |
+
|
368 |
+
#: code/includes/html.php:917
|
369 |
+
msgid "Go to page"
|
370 |
+
msgstr ""
|
371 |
+
|
372 |
+
#: code/includes/settings.php:43
|
373 |
msgid "Select terms"
|
374 |
msgstr ""
|
375 |
|
376 |
+
#: code/includes/settings.php:61
|
377 |
msgid "Operator"
|
378 |
msgstr ""
|
379 |
|
380 |
+
#: code/includes/settings.php:98
|
381 |
msgid "Select a criteria to sort by"
|
382 |
msgstr ""
|
383 |
|
384 |
+
#: code/includes/settings.php:105
|
385 |
msgid "Order"
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: code/includes/settings.php:136
|
389 |
msgid "Pagination"
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: code/includes/settings.php:142
|
393 |
msgid "Enable"
|
394 |
msgstr ""
|
395 |
|
396 |
+
#: code/includes/settings.php:159
|
397 |
msgid ""
|
398 |
"The number of items per page<br>If value of \"Limit\" option is not blank "
|
399 |
"(empty), this value should be smaller than \"Limit\" value"
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: code/includes/settings.php:167
|
403 |
+
msgid "Pagination type"
|
404 |
+
msgstr ""
|
405 |
+
|
406 |
+
#: code/includes/settings.php:195
|
407 |
msgid "Pagination style"
|
408 |
msgstr ""
|
409 |
|
410 |
#: code/includes/settings.php:203
|
411 |
+
msgid "Output style for Ajax pagination"
|
412 |
+
msgstr ""
|
413 |
+
|
414 |
+
#: code/includes/settings.php:231
|
415 |
msgid "Open item in"
|
416 |
msgstr ""
|
417 |
|
418 |
+
#: code/includes/settings.php:239
|
419 |
msgid "How to open an item when click on Title, Thumbnail, Read more button"
|
420 |
msgstr ""
|
421 |
|
422 |
+
#: code/includes/settings.php:290
|
423 |
+
msgid "Customize display order of above fields by a simple drag-and-drop ?"
|
424 |
msgstr ""
|
425 |
|
426 |
+
#: code/includes/settings.php:299
|
427 |
+
msgid "Thumbnail settings"
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: code/includes/settings.php:317
|
431 |
msgid "Content settings"
|
432 |
msgstr ""
|
433 |
|
434 |
+
#: code/includes/settings.php:324
|
435 |
msgid "Show Full Content"
|
436 |
msgstr ""
|
437 |
|
438 |
+
#: code/includes/settings.php:325
|
439 |
msgid "Show Excerpt"
|
440 |
msgstr ""
|
441 |
|
442 |
+
#: code/includes/settings.php:350
|
443 |
+
msgid "Excerpt settings"
|
444 |
msgstr ""
|
445 |
|
446 |
+
#: code/includes/settings.php:364
|
447 |
msgid "Generating excerpt by selecting the first X words of the content"
|
448 |
msgstr ""
|
449 |
|
450 |
+
#: code/includes/settings.php:383
|
451 |
+
msgid "Allow HTML tags (a, br, strong, em, strike, i, ul, ol, li) in excerpt"
|
452 |
+
msgstr ""
|
453 |
+
|
454 |
+
#: code/includes/settings.php:385
|
455 |
+
msgid ""
|
456 |
+
"This option can cause broken HTML output. Please be careful when check it"
|
457 |
+
msgstr ""
|
458 |
+
|
459 |
+
#: code/includes/settings.php:398
|
460 |
+
msgid "Meta fields settings"
|
461 |
+
msgstr ""
|
462 |
+
|
463 |
+
#: code/includes/settings.php:469
|
464 |
msgid "Thumbnail position"
|
465 |
msgstr ""
|
466 |
|
467 |
+
#: code/includes/settings.php:500
|
468 |
msgid "Show Thumbnail"
|
469 |
msgstr ""
|
470 |
|
471 |
+
#: code/includes/settings.php:520
|
472 |
msgid "Show Title"
|
473 |
msgstr ""
|
474 |
|
475 |
+
#: code/includes/settings.php:539
|
476 |
msgid "Show Content"
|
477 |
msgstr ""
|
478 |
|
479 |
+
#: code/includes/settings.php:558
|
480 |
msgid "Show Meta Fields (Author, Date, Comment...)"
|
481 |
msgstr ""
|
482 |
|
483 |
+
#: code/includes/settings.php:583
|
484 |
msgid "Thumbnail size"
|
485 |
msgstr ""
|
486 |
|
487 |
+
#: code/includes/settings.php:626
|
488 |
msgid "Show Date"
|
489 |
msgstr ""
|
490 |
|
491 |
+
#: code/includes/settings.php:645
|
492 |
msgid "Show Author"
|
493 |
msgstr ""
|
494 |
|
495 |
+
#: code/includes/settings.php:664
|
496 |
msgid "Show Taxonomies (categories, tags...)"
|
497 |
msgstr ""
|
498 |
|
499 |
+
#: code/includes/settings.php:684
|
500 |
msgid "Show Comment Count"
|
501 |
msgstr ""
|
502 |
|
503 |
+
#: code/includes/settings.php:718
|
504 |
+
msgid "The number of items per row of grid"
|
505 |
msgstr ""
|
506 |
|
507 |
#: code/includes/values.php:93 code/includes/values.php:106
|
536 |
msgid "A post is displayed only if it associated with all values in terms list"
|
537 |
msgstr ""
|
538 |
|
539 |
+
#: code/includes/values.php:181
|
540 |
msgid "Yes"
|
541 |
msgstr ""
|
542 |
|
543 |
+
#: code/includes/values.php:182
|
544 |
msgid "No"
|
545 |
msgstr ""
|
546 |
|
547 |
+
#: code/includes/values.php:198
|
548 |
msgid "Show"
|
549 |
msgstr ""
|
550 |
|
551 |
+
#: code/includes/values.php:199
|
552 |
msgid "Hide"
|
553 |
msgstr ""
|
554 |
|
555 |
+
#: code/includes/values.php:210
|
556 |
+
msgid "Ajax"
|
557 |
+
msgstr ""
|
558 |
+
|
559 |
+
#: code/includes/values.php:211
|
560 |
+
msgid "Normal"
|
561 |
+
msgstr ""
|
562 |
+
|
563 |
+
#: code/includes/values.php:226
|
564 |
msgid "Regular pagination"
|
565 |
msgstr ""
|
566 |
|
567 |
+
#: code/includes/values.php:241
|
568 |
msgid "ASC"
|
569 |
msgstr ""
|
570 |
|
571 |
+
#: code/includes/values.php:242
|
572 |
msgid "DESC"
|
573 |
msgstr ""
|
574 |
|
575 |
+
#: code/includes/values.php:251
|
576 |
msgid "Publish"
|
577 |
msgstr ""
|
578 |
|
579 |
+
#: code/includes/values.php:252
|
580 |
msgid "Pending"
|
581 |
msgstr ""
|
582 |
|
583 |
+
#: code/includes/values.php:253
|
584 |
msgid "Draft"
|
585 |
msgstr ""
|
586 |
|
587 |
+
#: code/includes/values.php:254
|
588 |
msgid "Auto draft"
|
589 |
msgstr ""
|
590 |
|
591 |
+
#: code/includes/values.php:255
|
592 |
msgid "Future"
|
593 |
msgstr ""
|
594 |
|
595 |
+
#: code/includes/values.php:256
|
596 |
msgid "Private"
|
597 |
msgstr ""
|
598 |
|
599 |
+
#: code/includes/values.php:257
|
600 |
msgid "Inherit"
|
601 |
msgstr ""
|
602 |
|
603 |
+
#: code/includes/values.php:258
|
604 |
msgid "Trash"
|
605 |
msgstr ""
|
606 |
|
607 |
+
#: code/includes/values.php:270
|
608 |
msgid "Taxonomy (Categories, Tags...)"
|
609 |
msgstr ""
|
610 |
|
611 |
+
#: code/includes/values.php:272
|
612 |
msgid "Order & Orderby"
|
613 |
msgstr ""
|
614 |
|
615 |
+
#: code/includes/values.php:273
|
616 |
msgid "Search"
|
617 |
msgstr ""
|
618 |
|
619 |
+
#: code/includes/values.php:288 code/includes/values.php:323
|
|
|
|
|
|
|
|
|
620 |
msgid "— Select —"
|
621 |
msgstr ""
|
622 |
|
623 |
+
#: code/includes/values.php:324
|
624 |
msgid "ID"
|
625 |
msgstr ""
|
626 |
|
627 |
+
#: code/includes/values.php:325
|
628 |
msgid "Title"
|
629 |
msgstr ""
|
630 |
|
631 |
+
#: code/includes/values.php:326
|
632 |
msgid "Created date"
|
633 |
msgstr ""
|
634 |
|
635 |
+
#: code/includes/values.php:327
|
636 |
msgid "Modified date"
|
637 |
msgstr ""
|
638 |
|
639 |
+
#: code/includes/values.php:343
|
640 |
msgid "Grid"
|
641 |
msgstr ""
|
642 |
|
643 |
+
#: code/includes/values.php:344
|
644 |
msgid "Collapsible List"
|
645 |
msgstr ""
|
646 |
|
647 |
+
#: code/includes/values.php:345
|
648 |
msgid "Scrollable List"
|
649 |
msgstr ""
|
650 |
|
651 |
+
#: code/includes/values.php:384
|
652 |
msgid ""
|
653 |
"1 column — All fields inside an output item are shown in one column"
|
654 |
msgstr ""
|
655 |
|
656 |
+
#: code/includes/values.php:385
|
657 |
msgid "2 columns — Show thumbnail on the left/right side of other fields"
|
658 |
msgstr ""
|
659 |
|
660 |
+
#: code/includes/values.php:399
|
661 |
+
msgid "Current tab"
|
662 |
msgstr ""
|
663 |
|
664 |
+
#: code/includes/values.php:400
|
665 |
+
msgid "New tab"
|
666 |
msgstr ""
|
667 |
|
668 |
+
#: code/includes/values.php:448
|
669 |
msgid "Original resolution (But resize automatically to fit its container)"
|
670 |
msgstr ""
|
671 |
|
672 |
+
#: code/includes/values.php:471
|
673 |
msgid "Top"
|
674 |
msgstr ""
|
675 |
|
676 |
+
#: code/includes/values.php:472 code/includes/values.php:490
|
677 |
msgid "Left"
|
678 |
msgstr ""
|
679 |
|
680 |
+
#: code/includes/values.php:473
|
681 |
msgid "Bottom"
|
682 |
msgstr ""
|
683 |
|
684 |
+
#: code/includes/values.php:474 code/includes/values.php:491
|
685 |
msgid "Right"
|
686 |
msgstr ""
|
687 |
|
688 |
+
#: code/public/content-views.php:251
|
689 |
msgid "New View"
|
690 |
msgstr ""
|
691 |
|
692 |
+
#: code/public/content-views.php:253
|
693 |
msgid "View View"
|
694 |
msgstr ""
|
695 |
|
696 |
+
#: code/public/content-views.php:255
|
697 |
msgid "Search Views"
|
698 |
msgstr ""
|
699 |
|
700 |
+
#: code/public/content-views.php:256
|
701 |
msgid "Parent Views:"
|
702 |
msgstr ""
|
703 |
|
704 |
+
#: code/public/content-views.php:257
|
705 |
msgid "No views found."
|
706 |
msgstr ""
|
707 |
|
708 |
+
#: code/public/content-views.php:258
|
709 |
msgid "No views found in Trash."
|
710 |
msgstr ""
|
public/content-views.php
CHANGED
@@ -40,7 +40,7 @@ class PT_Content_Views {
|
|
40 |
private function __construct() {
|
41 |
|
42 |
// Load plugin text domain
|
43 |
-
add_action( 'init', array( $this, 'load_plugin_textdomain' ) );
|
44 |
|
45 |
// Register content
|
46 |
add_action( 'init', array( $this, 'content_register' ) );
|
@@ -53,7 +53,7 @@ class PT_Content_Views {
|
|
53 |
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
|
54 |
|
55 |
// Update view count of post
|
56 |
-
add_action( 'wp_head', array( &$this, '
|
57 |
|
58 |
// Output assets content at footer of page
|
59 |
add_action( 'wp_footer', array( 'PT_CV_Html', 'assets_of_view_types' ), 100 );
|
@@ -227,12 +227,9 @@ class PT_Content_Views {
|
|
227 |
* @since 1.0.0
|
228 |
*/
|
229 |
public function load_plugin_textdomain() {
|
230 |
-
|
231 |
-
$domain = $this->plugin_slug;
|
232 |
-
$locale = apply_filters( 'plugin_locale', get_locale(), $domain );
|
233 |
|
234 |
// Load translation file in wp-content/languages/content-views/
|
235 |
-
load_textdomain( $domain, trailingslashit( WP_LANG_DIR ) . $domain . '/' . $domain . '-' . $locale . '.mo' );
|
236 |
load_plugin_textdomain( $domain, FALSE, dirname( plugin_basename( PT_CV_FILE ) ) . '/languages/' );
|
237 |
}
|
238 |
|
@@ -308,7 +305,7 @@ class PT_Content_Views {
|
|
308 |
* @global type $post
|
309 |
* @return void
|
310 |
*/
|
311 |
-
public function
|
312 |
global $post;
|
313 |
if ( !isset( $post ) || !is_object( $post ) ) {
|
314 |
return;
|
@@ -318,4 +315,17 @@ class PT_Content_Views {
|
|
318 |
}
|
319 |
}
|
320 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
321 |
}
|
40 |
private function __construct() {
|
41 |
|
42 |
// Load plugin text domain
|
43 |
+
add_action( 'init', array( $this, 'load_plugin_textdomain' ), 11 );
|
44 |
|
45 |
// Register content
|
46 |
add_action( 'init', array( $this, 'content_register' ) );
|
53 |
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
|
54 |
|
55 |
// Update view count of post
|
56 |
+
add_action( 'wp_head', array( &$this, 'head_actions' ) );
|
57 |
|
58 |
// Output assets content at footer of page
|
59 |
add_action( 'wp_footer', array( 'PT_CV_Html', 'assets_of_view_types' ), 100 );
|
227 |
* @since 1.0.0
|
228 |
*/
|
229 |
public function load_plugin_textdomain() {
|
230 |
+
$domain = $this->plugin_slug;
|
|
|
|
|
231 |
|
232 |
// Load translation file in wp-content/languages/content-views/
|
|
|
233 |
load_plugin_textdomain( $domain, FALSE, dirname( plugin_basename( PT_CV_FILE ) ) . '/languages/' );
|
234 |
}
|
235 |
|
305 |
* @global type $post
|
306 |
* @return void
|
307 |
*/
|
308 |
+
public static function _update_view_count() {
|
309 |
global $post;
|
310 |
if ( !isset( $post ) || !is_object( $post ) ) {
|
311 |
return;
|
315 |
}
|
316 |
}
|
317 |
|
318 |
+
/**
|
319 |
+
* Custom actions at head
|
320 |
+
*/
|
321 |
+
public function head_actions() {
|
322 |
+
// Update View count
|
323 |
+
self::_update_view_count();
|
324 |
+
|
325 |
+
// Initialize global variables
|
326 |
+
global $pt_cv_glb, $pt_cv_id;
|
327 |
+
$pt_cv_glb = array();
|
328 |
+
$pt_cv_id = 0;
|
329 |
+
}
|
330 |
+
|
331 |
}
|