Version Description
- 2021/03/11 =
- Remove "Content Views" block as it caused unexpected issues
Download this release
Release Info
Developer | PT Guy |
Plugin | Content Views – Post Grid & List for WordPress |
Version | 2.4.0.1 |
Comparing to | |
See all releases |
Code changes from version 2.4.0 to 2.4.0.1
- README.txt +22 -19
- blocks/editor.css +0 -12
- blocks/index.js +0 -105
- blocks/main.php +0 -95
- content-views.php +2 -3
README.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.contentviewspro.com/?utm_source=wordpress&utm_medium=pl
|
|
4 |
Tags: post grid, grid plugin, grid, latest post, display post, post list, post, page, category, responsive, list, thumbnail
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 5.7
|
7 |
-
Stable tag: 2.4.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -14,30 +14,30 @@ Create beautiful grid and list of WordPress posts, pages in minutes. No coding r
|
|
14 |
|
15 |
### Easy To Filter And Display Posts, Pages In Grid/List
|
16 |
|
17 |
-
We believe that a beautiful grid
|
18 |
|
19 |
Content Views helps you to create beautiful grid and list to display the recent posts, the posts of specific category, tag, author easily, without any line of code!
|
20 |
|
21 |
-
Content Views is a 100% mobile responsive solution, so your grid
|
22 |
|
23 |
-
Content Views also highly optimized for performance, to help improve SEO and conversions.
|
24 |
|
25 |
-
There is no more pain
|
26 |
|
27 |
### Easy to Use
|
28 |
|
29 |
-
Content Views requires no time to learn, no coding skill to create beautiful grid and list
|
30 |
|
31 |
-
There are 3 simple steps to design your grid by Content Views:
|
32 |
* Step 1: Filter any posts you want to show (with many possible options: ID, category, tag, author, keyword, status).
|
33 |
-
* Step 2: Select beautiful grid or list layout to display your posts. You can customize the layout in your
|
34 |
-
* Step 3: Paste generated shortcode to anywhere you want to display your grid
|
35 |
|
36 |
[youtube https://www.youtube.com/watch?v=drxqtCiaw4I]
|
37 |
|
38 |
### Features
|
39 |
|
40 |
-
We have all the settings you need to filter and display any WordPress posts, pages in responsive grid and list layout easily, without coding:
|
41 |
|
42 |
|
43 |
* 100% Responsive and Mobile Friendly
|
@@ -45,24 +45,24 @@ We have all the settings you need to filter and display any WordPress posts, pag
|
|
45 |
* Pagination support
|
46 |
* Display grid of posts on WordPress page, widget, theme template easily by shortcode
|
47 |
* Display recent posts
|
48 |
-
* Display posts from specific category, tag, author, ID
|
49 |
-
* Display posts contain specific keyword
|
50 |
* Display child pages of a parent page
|
51 |
-
* Show posts' featured images in grid gallery
|
52 |
-
* Display title, excerpt, full content, thumbnail, published date, author, category, comments count of posts
|
53 |
* Sort posts by date, title
|
54 |
-
* Limit the number of posts in grid
|
55 |
* Show posts in Collapsible list, useful for a FAQ page
|
56 |
* Show posts in Scrollable list, a simple slider of posts
|
57 |
* Easy to customize and extend with many custom actions, filters hook
|
58 |
* PHP 7 compatible
|
59 |
* GDPR compliance (Content Views does not collect and store any personal data)
|
60 |
|
61 |
-
Give Content Views a try, and create your WordPress
|
62 |
|
63 |
### PRO Features
|
64 |
|
65 |
-
There is Pro version of Content Views plugin that comes with many more valuable features to
|
66 |
[Upgrade to Pro](https://www.contentviewspro.com/?utm_source=wordpress&utm_medium=plugin&utm_campaign=content-views).
|
67 |
|
68 |
PRO features list:
|
@@ -79,9 +79,9 @@ PRO features list:
|
|
79 |
* [Infinite Scrolling pagination](http://sample.contentviewspro.com/pagination/infinite-scrolling/?utm_source=wordpress&utm_medium=plugin&utm_campaign=content-views)
|
80 |
* [Media thumbnail](http://sample.contentviewspro.com/advanced/media-thumbnails/?utm_source=wordpress&utm_medium=plugin&utm_campaign=content-views) - Display Youtube, Vimeo, Dailymotion, Soundcloud, custom image as thumbnail
|
81 |
* [Social Sharing](http://sample.contentviewspro.com/social-sharing/?utm_source=wordpress&utm_medium=plugin&utm_campaign=content-views) - Show sharing buttons of Facebook, Twitter, Google +, Linkedin, Pinterest for your WordPress posts
|
82 |
-
* Make money $ online by displaying advertisements (Google Adsense, HTML banner
|
83 |
* Styling - Customize design without writing CSS
|
84 |
-
* Drag & drop to customize layout
|
85 |
* Query posts by custom fields
|
86 |
* Show custom fields of posts
|
87 |
* Advanced sorting options - Random order, Custom field, Drag & Drop...
|
@@ -159,6 +159,9 @@ If you are using "Your latest posts" as home page, you should paste this code `<
|
|
159 |
|
160 |
== Changelog ==
|
161 |
|
|
|
|
|
|
|
162 |
= 2.4.0 - 2021/03/10 =
|
163 |
* Add "Content Views" block to the Block editor
|
164 |
* Fix AJAX pagination changes URL incorrectly in non-Latin languages
|
4 |
Tags: post grid, grid plugin, grid, latest post, display post, post list, post, page, category, responsive, list, thumbnail
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 5.7
|
7 |
+
Stable tag: 2.4.0.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
14 |
|
15 |
### Easy To Filter And Display Posts, Pages In Grid/List
|
16 |
|
17 |
+
We believe that a beautiful grid of posts with make your WordPress site stand out and keep visitors engaged. That's why we built [Content Views](https://www.contentviewspro.com/?utm_source=wordpress&utm_medium=plugin&utm_campaign=content-views "Content Views"), a WordPress post grid and list plugin that's EASY and POWERFUL.
|
18 |
|
19 |
Content Views helps you to create beautiful grid and list to display the recent posts, the posts of specific category, tag, author easily, without any line of code!
|
20 |
|
21 |
+
Content Views is a 100% mobile responsive solution, so your post grid will always look great on all devices (mobiles, tablets, and desktops).
|
22 |
|
23 |
+
Content Views is also highly optimized for performance, to help improve SEO and conversions.
|
24 |
|
25 |
+
There is no more pain in creating WordPress post grid and list.
|
26 |
|
27 |
### Easy to Use
|
28 |
|
29 |
+
Content Views requires no time to learn, no coding skill to create the beautiful post grid and list for your WordPress site. There is a friendly setting form to help you create the post grid and list easily. All settings are well organized, with clear descriptions. There is a live preview panel to see your post grid instantly.
|
30 |
|
31 |
+
There are 3 simple steps to design your post grid by Content Views:
|
32 |
* Step 1: Filter any posts you want to show (with many possible options: ID, category, tag, author, keyword, status).
|
33 |
+
* Step 2: Select a beautiful grid or list layout to display your posts. You can customize the layout in your way with many useful settings.
|
34 |
+
* Step 3: Paste generated shortcode to anywhere you want to display your post grid.
|
35 |
|
36 |
[youtube https://www.youtube.com/watch?v=drxqtCiaw4I]
|
37 |
|
38 |
### Features
|
39 |
|
40 |
+
We have all the settings you need to filter and display any WordPress posts, pages in a responsive grid and list layout easily, without coding:
|
41 |
|
42 |
|
43 |
* 100% Responsive and Mobile Friendly
|
45 |
* Pagination support
|
46 |
* Display grid of posts on WordPress page, widget, theme template easily by shortcode
|
47 |
* Display recent posts
|
48 |
+
* Display posts from a specific category, tag, author, ID
|
49 |
+
* Display posts that contain a specific keyword
|
50 |
* Display child pages of a parent page
|
51 |
+
* Show posts' featured images in a grid gallery
|
52 |
+
* Display the title, excerpt, full content, thumbnail, published date, author, category, comments count of posts
|
53 |
* Sort posts by date, title
|
54 |
+
* Limit the number of posts in the grid
|
55 |
* Show posts in Collapsible list, useful for a FAQ page
|
56 |
* Show posts in Scrollable list, a simple slider of posts
|
57 |
* Easy to customize and extend with many custom actions, filters hook
|
58 |
* PHP 7 compatible
|
59 |
* GDPR compliance (Content Views does not collect and store any personal data)
|
60 |
|
61 |
+
Give Content Views a try, and create your WordPress post grid effortlessly!
|
62 |
|
63 |
### PRO Features
|
64 |
|
65 |
+
There is a Pro version of Content Views plugin that comes with many more valuable features to improve your WordPress post grid and list.
|
66 |
[Upgrade to Pro](https://www.contentviewspro.com/?utm_source=wordpress&utm_medium=plugin&utm_campaign=content-views).
|
67 |
|
68 |
PRO features list:
|
79 |
* [Infinite Scrolling pagination](http://sample.contentviewspro.com/pagination/infinite-scrolling/?utm_source=wordpress&utm_medium=plugin&utm_campaign=content-views)
|
80 |
* [Media thumbnail](http://sample.contentviewspro.com/advanced/media-thumbnails/?utm_source=wordpress&utm_medium=plugin&utm_campaign=content-views) - Display Youtube, Vimeo, Dailymotion, Soundcloud, custom image as thumbnail
|
81 |
* [Social Sharing](http://sample.contentviewspro.com/social-sharing/?utm_source=wordpress&utm_medium=plugin&utm_campaign=content-views) - Show sharing buttons of Facebook, Twitter, Google +, Linkedin, Pinterest for your WordPress posts
|
82 |
+
* Make money $ online by displaying advertisements (Google Adsense, HTML banner, etc.) in the post grid
|
83 |
* Styling - Customize design without writing CSS
|
84 |
+
* Drag & drop to customize the layout
|
85 |
* Query posts by custom fields
|
86 |
* Show custom fields of posts
|
87 |
* Advanced sorting options - Random order, Custom field, Drag & Drop...
|
159 |
|
160 |
== Changelog ==
|
161 |
|
162 |
+
= 2.4.0.1 - 2021/03/11 =
|
163 |
+
* Remove "Content Views" block as it caused unexpected issues
|
164 |
+
|
165 |
= 2.4.0 - 2021/03/10 =
|
166 |
* Add "Content Views" block to the Block editor
|
167 |
* Fix AJAX pagination changes URL incorrectly in non-Latin languages
|
blocks/editor.css
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
.content-views-block select {
|
2 |
-
line-height: 30px !important;
|
3 |
-
max-width: 100% !important;
|
4 |
-
}
|
5 |
-
|
6 |
-
.content-views-block label {
|
7 |
-
display: block !important;
|
8 |
-
}
|
9 |
-
|
10 |
-
.content-views-block a {
|
11 |
-
font-size: 13px;
|
12 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
blocks/index.js
DELETED
@@ -1,105 +0,0 @@
|
|
1 |
-
( function( wp ) {
|
2 |
-
/**
|
3 |
-
* Registers a new block provided a unique name and an object defining its behavior.
|
4 |
-
* @see https://wordpress.org/gutenberg/handbook/designers-developers/developers/block-api/#registering-a-block
|
5 |
-
*/
|
6 |
-
var registerBlockType = wp.blocks.registerBlockType;
|
7 |
-
/**
|
8 |
-
* Returns a new element of given type. Element is an abstraction layer atop React.
|
9 |
-
* @see https://wordpress.org/gutenberg/handbook/designers-developers/developers/packages/packages-element/
|
10 |
-
*/
|
11 |
-
var el = wp.element.createElement;
|
12 |
-
/**
|
13 |
-
* Retrieves the translation of text.
|
14 |
-
* @see https://wordpress.org/gutenberg/handbook/designers-developers/developers/packages/packages-i18n/
|
15 |
-
*/
|
16 |
-
var __ = wp.i18n.__;
|
17 |
-
|
18 |
-
/**
|
19 |
-
* Every block starts by registering a new block type definition.
|
20 |
-
* @see https://wordpress.org/gutenberg/handbook/designers-developers/developers/block-api/#registering-a-block
|
21 |
-
*/
|
22 |
-
registerBlockType( 'content-views/block', {
|
23 |
-
/**
|
24 |
-
* This is the display title for your block, which can be translated with `i18n` functions.
|
25 |
-
* The block inserter will show this name.
|
26 |
-
*/
|
27 |
-
title: 'Content Views plugin',
|
28 |
-
//description: __( 'Display a grid or list created by the Content Views plugin' ),
|
29 |
-
icon: el( 'svg', { xmlms: 'http://www.w3.org/2000/svg', width: 24, height: 24 }, el( 'image', { href: ContentViewsBlock.block_icon } ) ),
|
30 |
-
/**
|
31 |
-
* Blocks are grouped into categories to help users browse and discover them.
|
32 |
-
* The categories provided by core are `common`, `embed`, `formatting`, `layout` and `widgets`.
|
33 |
-
*/
|
34 |
-
category: 'widgets',
|
35 |
-
|
36 |
-
keywords: [ 'grid', 'list', 'content', 'view' ],
|
37 |
-
|
38 |
-
attributes: {
|
39 |
-
view_id: {
|
40 |
-
type: 'string',
|
41 |
-
default: null
|
42 |
-
}
|
43 |
-
},
|
44 |
-
|
45 |
-
/**
|
46 |
-
* Optional block extended support features.
|
47 |
-
*/
|
48 |
-
supports: {
|
49 |
-
// Removes support for an HTML mode.
|
50 |
-
// html: false,
|
51 |
-
},
|
52 |
-
|
53 |
-
/**
|
54 |
-
* The edit function describes the structure of your block in the context of the editor.
|
55 |
-
* This represents what the editor will render when the block is used.
|
56 |
-
* @see https://wordpress.org/gutenberg/handbook/designers-developers/developers/block-api/block-edit-save/#edit
|
57 |
-
*
|
58 |
-
* @param {Object} [props] Properties passed from the editor.
|
59 |
-
* @return {Element} Element to render.
|
60 |
-
*/
|
61 |
-
edit: function ( props ) {
|
62 |
-
var viewid = props.attributes.view_id;
|
63 |
-
return el(
|
64 |
-
'div', { className: 'content-views-block' },
|
65 |
-
el(
|
66 |
-
wp.components.SelectControl,
|
67 |
-
{
|
68 |
-
key: 'cv_select',
|
69 |
-
label: 'Content Views',
|
70 |
-
value: viewid ? viewid : 0,
|
71 |
-
onChange: function ( value ) {
|
72 |
-
props.setAttributes( { view_id: value } );
|
73 |
-
},
|
74 |
-
options: ContentViewsBlock.views_list
|
75 |
-
}
|
76 |
-
),
|
77 |
-
viewid ? el(
|
78 |
-
'a',
|
79 |
-
{
|
80 |
-
key: 'cv_edit',
|
81 |
-
href: ContentViewsBlock.edit_link.replace( 'VIEWID', viewid ),
|
82 |
-
target: '_blank'
|
83 |
-
},
|
84 |
-
__( 'Edit' )
|
85 |
-
) : null
|
86 |
-
);
|
87 |
-
},
|
88 |
-
|
89 |
-
/**
|
90 |
-
* The save function defines the way in which the different attributes should be combined
|
91 |
-
* into the final markup, which is then serialized by Gutenberg into `post_content`.
|
92 |
-
* @see https://wordpress.org/gutenberg/handbook/designers-developers/developers/block-api/block-edit-save/#save
|
93 |
-
*
|
94 |
-
* @return {Element} Element to render.
|
95 |
-
*/
|
96 |
-
save: function ( props ) {
|
97 |
-
/** Dynamic_output
|
98 |
-
return null; // Rendering in PHP
|
99 |
-
*/
|
100 |
-
return props.attributes.view_id ? el( 'div', { }, '[pt_view id="' + props.attributes.view_id + '"]' ) : '';
|
101 |
-
}
|
102 |
-
} );
|
103 |
-
} )(
|
104 |
-
window.wp
|
105 |
-
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
blocks/main.php
DELETED
@@ -1,95 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Functions to register client-side assets (scripts and stylesheets) for the
|
4 |
-
* Gutenberg block.
|
5 |
-
*
|
6 |
-
* @package content-views-query-and-display-post-page
|
7 |
-
*/
|
8 |
-
|
9 |
-
/**
|
10 |
-
* Registers all block assets so that they can be enqueued through Gutenberg in
|
11 |
-
* the corresponding context.
|
12 |
-
*
|
13 |
-
* @see https://wordpress.org/gutenberg/handbook/designers-developers/developers/tutorials/block-tutorial/applying-styles-with-stylesheets/
|
14 |
-
*/
|
15 |
-
function contentviews_block_init() {
|
16 |
-
// Skip block registration if Gutenberg is not enabled/merged.
|
17 |
-
if ( ! function_exists( 'register_block_type' ) ) {
|
18 |
-
return;
|
19 |
-
}
|
20 |
-
|
21 |
-
wp_register_script(
|
22 |
-
'contentviews-block-editor',
|
23 |
-
plugins_url( 'index.js', __FILE__ ),
|
24 |
-
array(
|
25 |
-
'wp-blocks',
|
26 |
-
'wp-i18n',
|
27 |
-
'wp-element',
|
28 |
-
),
|
29 |
-
PT_CV_VERSION
|
30 |
-
);
|
31 |
-
|
32 |
-
wp_register_style(
|
33 |
-
'contentviews-block-editor',
|
34 |
-
plugins_url( 'editor.css', __FILE__ ),
|
35 |
-
array(),
|
36 |
-
PT_CV_VERSION
|
37 |
-
);
|
38 |
-
|
39 |
-
/**
|
40 |
-
wp_register_style(
|
41 |
-
'contentviews-block',
|
42 |
-
plugins_url( 'style.css', __FILE__ ),
|
43 |
-
array(),
|
44 |
-
PT_CV_VERSION
|
45 |
-
);
|
46 |
-
*/
|
47 |
-
|
48 |
-
register_block_type( 'content-views/block', array(
|
49 |
-
'editor_script' => 'contentviews-block-editor',
|
50 |
-
'editor_style' => 'contentviews-block-editor',
|
51 |
-
'style' => 'contentviews-block',
|
52 |
-
) );
|
53 |
-
|
54 |
-
wp_localize_script( 'contentviews-block-editor', 'ContentViewsBlock', array(
|
55 |
-
'views_list' => contentviews_get_views_list(),
|
56 |
-
'edit_link' => PT_CV_Functions::view_link( 'VIEWID' ),
|
57 |
-
'block_icon' => plugins_url( 'admin/assets/images/icon.png', PT_CV_FILE ),
|
58 |
-
) );
|
59 |
-
}
|
60 |
-
add_action( 'init', 'contentviews_block_init' );
|
61 |
-
|
62 |
-
// Get list of Views, to show as block option
|
63 |
-
function contentviews_get_views_list() {
|
64 |
-
$result = array(
|
65 |
-
array(
|
66 |
-
'value' => '',
|
67 |
-
'label' => __( '(None)', 'content-views-query-and-display-post-page' )
|
68 |
-
)
|
69 |
-
);
|
70 |
-
|
71 |
-
$query1 = new WP_Query( array(
|
72 |
-
'suppress_filters' => true,
|
73 |
-
'post_type' => PT_CV_POST_TYPE,
|
74 |
-
'post_status' => 'publish',
|
75 |
-
'posts_per_page' => -1
|
76 |
-
) );
|
77 |
-
|
78 |
-
if ( $query1->have_posts() ) {
|
79 |
-
while ( $query1->have_posts() ) {
|
80 |
-
$query1->the_post();
|
81 |
-
|
82 |
-
$view_id = get_post_meta( get_the_ID(), PT_CV_META_ID, true );
|
83 |
-
if ( $view_id ) {
|
84 |
-
$result[] = array(
|
85 |
-
'value' => $view_id,
|
86 |
-
'label' => get_the_title()
|
87 |
-
);
|
88 |
-
}
|
89 |
-
}
|
90 |
-
}
|
91 |
-
|
92 |
-
wp_reset_postdata();
|
93 |
-
|
94 |
-
return $result;
|
95 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
content-views.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
* Plugin Name: Content Views
|
11 |
* Plugin URI: http://wordpress.org/plugins/content-views-query-and-display-post-page/
|
12 |
* Description: Query and display <strong>posts, pages</strong> in awesome layouts (<strong>grid, scrollable list, collapsible list</strong>) easier than ever, without coding!
|
13 |
-
* Version: 2.4.0
|
14 |
* Author: Content Views
|
15 |
* Author URI: http://profiles.wordpress.org/pt-guy
|
16 |
* Text Domain: content-views-query-and-display-post-page
|
@@ -25,7 +25,7 @@ if ( !defined( 'ABSPATH' ) ) {
|
|
25 |
}
|
26 |
|
27 |
// Define Constant
|
28 |
-
define( 'PT_CV_VERSION', '2.4.0' );
|
29 |
define( 'PT_CV_FILE', __FILE__ );
|
30 |
define( 'PT_CV_PATH', plugin_dir_path( __FILE__ ) );
|
31 |
include_once( PT_CV_PATH . 'includes/defines.php' );
|
@@ -41,7 +41,6 @@ include_once( PT_CV_PATH . 'includes/html.php' );
|
|
41 |
include_once( PT_CV_PATH . 'includes/settings.php' );
|
42 |
include_once( PT_CV_PATH . 'includes/update.php' );
|
43 |
include_once( PT_CV_PATH . 'includes/values.php' );
|
44 |
-
include_once( PT_CV_PATH . 'blocks/main.php' );
|
45 |
|
46 |
// Main file
|
47 |
include_once( PT_CV_PATH . 'public/content-views.php' );
|
10 |
* Plugin Name: Content Views
|
11 |
* Plugin URI: http://wordpress.org/plugins/content-views-query-and-display-post-page/
|
12 |
* Description: Query and display <strong>posts, pages</strong> in awesome layouts (<strong>grid, scrollable list, collapsible list</strong>) easier than ever, without coding!
|
13 |
+
* Version: 2.4.0.1
|
14 |
* Author: Content Views
|
15 |
* Author URI: http://profiles.wordpress.org/pt-guy
|
16 |
* Text Domain: content-views-query-and-display-post-page
|
25 |
}
|
26 |
|
27 |
// Define Constant
|
28 |
+
define( 'PT_CV_VERSION', '2.4.0.1' );
|
29 |
define( 'PT_CV_FILE', __FILE__ );
|
30 |
define( 'PT_CV_PATH', plugin_dir_path( __FILE__ ) );
|
31 |
include_once( PT_CV_PATH . 'includes/defines.php' );
|
41 |
include_once( PT_CV_PATH . 'includes/settings.php' );
|
42 |
include_once( PT_CV_PATH . 'includes/update.php' );
|
43 |
include_once( PT_CV_PATH . 'includes/values.php' );
|
|
|
44 |
|
45 |
// Main file
|
46 |
include_once( PT_CV_PATH . 'public/content-views.php' );
|