Version Description
- Removed view link
- Removed attribute "id"
- Added shortcode in backend
Download this release
Release Info
Developer | rubel_miah |
Plugin | Real Testimonials |
Version | 1.3 |
Comparing to | |
See all releases |
Code changes from version 1.2 to 1.3
- inc/functions.php +30 -15
- inc/options/meta-box.php +3 -5
- inc/shortcodes.php +29 -34
- main.php +139 -2
- readme.txt +15 -3
inc/functions.php
CHANGED
@@ -5,21 +5,28 @@ add_theme_support( 'post-thumbnails' );
|
|
5 |
add_image_size( 'tf-client-image-size', 100, 100, true );
|
6 |
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
function testimonial_free_register_post_type() {
|
9 |
|
10 |
$labels = array(
|
11 |
-
'name' =>
|
12 |
-
'singular_name' =>
|
13 |
-
'add_new' =>
|
14 |
-
'add_new_item' =>
|
15 |
-
'edit_item' =>
|
16 |
-
'new_item' =>
|
17 |
-
'view_item' =>
|
18 |
-
'search_items' =>
|
19 |
-
'not_found' =>
|
20 |
-
'not_found_in_trash' =>
|
21 |
-
'parent_item_colon' =>
|
22 |
-
'menu_name' =>
|
23 |
);
|
24 |
|
25 |
$args = array(
|
@@ -34,7 +41,7 @@ function testimonial_free_register_post_type() {
|
|
34 |
'menu_position' => null,
|
35 |
'menu_icon' => 'dashicons-format-quote',
|
36 |
'show_in_nav_menus' => true,
|
37 |
-
'publicly_queryable' =>
|
38 |
'exclude_from_search' => false,
|
39 |
'has_archive' => true,
|
40 |
'query_var' => true,
|
@@ -59,13 +66,21 @@ add_action( 'init', 'testimonial_free_register_post_type' );
|
|
59 |
function sp_testimonial_free_change_default_title($title) {
|
60 |
$screen = get_current_screen();
|
61 |
if('testimonial-free' == $screen->post_type) {
|
62 |
-
$title = 'Type client name here';
|
63 |
}
|
64 |
return $title;
|
65 |
}
|
66 |
add_filter('enter_title_here','sp_testimonial_free_change_default_title');
|
67 |
|
68 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
|
70 |
/* Including files */
|
71 |
if(file_exists( SP_TF_PATH . 'inc/options/meta-box.php')){
|
@@ -73,4 +88,4 @@ if(file_exists( SP_TF_PATH . 'inc/options/meta-box.php')){
|
|
73 |
}
|
74 |
if(file_exists( SP_TF_PATH . 'inc/shortcodes.php')){
|
75 |
require_once(SP_TF_PATH . "inc/shortcodes.php");
|
76 |
-
}
|
5 |
add_image_size( 'tf-client-image-size', 100, 100, true );
|
6 |
|
7 |
|
8 |
+
/* Load plugin textDomain. */
|
9 |
+
function sp_testimonial_free_load_text_domain() {
|
10 |
+
load_plugin_textdomain( 'testimonial-free', false, plugin_basename( dirname( __FILE__ ) ) . '/languages' );
|
11 |
+
}
|
12 |
+
add_action( 'plugins_loaded', 'sp_testimonial_free_load_text_domain' );
|
13 |
+
|
14 |
+
|
15 |
function testimonial_free_register_post_type() {
|
16 |
|
17 |
$labels = array(
|
18 |
+
'name' => esc_html__( 'Testimonials', 'testimonial-free' ),
|
19 |
+
'singular_name' => esc_html__( 'Testimonial', 'testimonial-free' ),
|
20 |
+
'add_new' => esc_html_x( 'Add New Testimonial', 'testimonial-free', 'testimonial-free' ),
|
21 |
+
'add_new_item' => esc_html__( 'Add New Testimonial', 'testimonial-free' ),
|
22 |
+
'edit_item' => esc_html__( 'Edit Testimonial', 'testimonial-free' ),
|
23 |
+
'new_item' => esc_html__( 'New Testimonial', 'testimonial-free' ),
|
24 |
+
'view_item' => esc_html__( 'View Testimonial', 'testimonial-free' ),
|
25 |
+
'search_items' => esc_html__( 'Search Testimonials', 'testimonial-free' ),
|
26 |
+
'not_found' => esc_html__( 'No Testimonials found', 'testimonial-free' ),
|
27 |
+
'not_found_in_trash' => esc_html__( 'No Testimonials found in Trash', 'testimonial-free' ),
|
28 |
+
'parent_item_colon' => esc_html__( 'Parent Testimonial:', 'testimonial-free' ),
|
29 |
+
'menu_name' => esc_html__( 'Testimonials', 'testimonial-free' ),
|
30 |
);
|
31 |
|
32 |
$args = array(
|
41 |
'menu_position' => null,
|
42 |
'menu_icon' => 'dashicons-format-quote',
|
43 |
'show_in_nav_menus' => true,
|
44 |
+
'publicly_queryable' => false,
|
45 |
'exclude_from_search' => false,
|
46 |
'has_archive' => true,
|
47 |
'query_var' => true,
|
66 |
function sp_testimonial_free_change_default_title($title) {
|
67 |
$screen = get_current_screen();
|
68 |
if('testimonial-free' == $screen->post_type) {
|
69 |
+
$title = esc_html__('Type client name here', 'testimonial-free');
|
70 |
}
|
71 |
return $title;
|
72 |
}
|
73 |
add_filter('enter_title_here','sp_testimonial_free_change_default_title');
|
74 |
|
75 |
|
76 |
+
// show shortcode
|
77 |
+
add_filter( 'views_edit-testimonial-free', function ( $view_shortcode ) {
|
78 |
+
echo '<p>Shortcode <input style="background: #ffffff;width: 245px;padding: 6px;" type="text" onClick="this.select();"
|
79 |
+
value="[testimonial-free color="#52b3d9" nav="true" pagination="true"]" /></p>';
|
80 |
+
|
81 |
+
return $view_shortcode;
|
82 |
+
} );
|
83 |
+
|
84 |
|
85 |
/* Including files */
|
86 |
if(file_exists( SP_TF_PATH . 'inc/options/meta-box.php')){
|
88 |
}
|
89 |
if(file_exists( SP_TF_PATH . 'inc/shortcodes.php')){
|
90 |
require_once(SP_TF_PATH . "inc/shortcodes.php");
|
91 |
+
}
|
inc/options/meta-box.php
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
function sp_testimonial_free_meta_box() {
|
4 |
-
add_meta_box( 'sp_testimonial_free_meta_box_section',
|
5 |
-
__('Testimonial Options', 'shapedplugin'),
|
6 |
'display_sp_testimonial_free_meta_box',
|
7 |
'testimonial-free', 'normal', 'high'
|
8 |
);
|
@@ -19,8 +18,8 @@ function display_sp_testimonial_free_meta_box( $client_designation) {
|
|
19 |
|
20 |
<div class="sp-mb-element sp-mb-field-text">
|
21 |
<div class="sp-mb-title">
|
22 |
-
<label for="tf_client_designation"><?php
|
23 |
-
<p class="sp-mb-desc"><?php
|
24 |
</div>
|
25 |
<div class="sp-mb-field-set">
|
26 |
<input type="text" id="tf_client_designation" name="tf_client_designation" value="<?php echo esc_html($tf_designation); ?>"/>
|
@@ -42,6 +41,5 @@ function add_sp_testimonial_free_fields( $client_designation_id, $client_designa
|
|
42 |
update_post_meta( $client_designation_id, 'tf_designation', $_POST['tf_client_designation'] );
|
43 |
}
|
44 |
}
|
45 |
-
|
46 |
}
|
47 |
add_action( 'save_post', 'add_sp_testimonial_free_fields', 10, 2 );
|
1 |
<?php
|
2 |
|
3 |
function sp_testimonial_free_meta_box() {
|
4 |
+
add_meta_box( 'sp_testimonial_free_meta_box_section', esc_html__('Testimonial Options', 'testimonial-free'),
|
|
|
5 |
'display_sp_testimonial_free_meta_box',
|
6 |
'testimonial-free', 'normal', 'high'
|
7 |
);
|
18 |
|
19 |
<div class="sp-mb-element sp-mb-field-text">
|
20 |
<div class="sp-mb-title">
|
21 |
+
<label for="tf_client_designation"><?php esc_html_e('Designation:', 'testimonial-free') ?></label>
|
22 |
+
<p class="sp-mb-desc"><?php esc_html_e('Type client designation here.', 'testimonial-free') ?></p>
|
23 |
</div>
|
24 |
<div class="sp-mb-field-set">
|
25 |
<input type="text" id="tf_client_designation" name="tf_client_designation" value="<?php echo esc_html($tf_designation); ?>"/>
|
41 |
update_post_meta( $client_designation_id, 'tf_designation', $_POST['tf_client_designation'] );
|
42 |
}
|
43 |
}
|
|
|
44 |
}
|
45 |
add_action( 'save_post', 'add_sp_testimonial_free_fields', 10, 2 );
|
inc/shortcodes.php
CHANGED
@@ -1,15 +1,12 @@
|
|
1 |
<?php
|
2 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
-
exit;
|
4 |
-
} // Exit if accessed directly
|
5 |
|
6 |
// Testimonial Free shortcode
|
7 |
function sp_testimonial_free_shortcode( $atts ) {
|
8 |
extract( shortcode_atts( array(
|
9 |
-
'
|
10 |
-
'
|
11 |
-
'
|
12 |
-
'pagination' => 'true',
|
13 |
), $atts, 'testimonial-free' ) );
|
14 |
|
15 |
|
@@ -20,22 +17,22 @@ function sp_testimonial_free_shortcode( $atts ) {
|
|
20 |
'posts_per_page' => -1,
|
21 |
);
|
22 |
|
23 |
-
|
24 |
$que = new WP_Query( $args );
|
25 |
|
26 |
|
|
|
27 |
|
28 |
$outline = '';
|
29 |
|
30 |
$outline .= '
|
31 |
<script type="text/javascript">
|
32 |
jQuery(document).ready(function() {
|
33 |
-
jQuery("#sp-testimonial-free' . $
|
34 |
items: 1,
|
35 |
singleItem : true,
|
36 |
navigation: ' . $nav . ',
|
37 |
navigationText: ["<i class=\'fa fa-angle-left\'></i>","<i class=\'fa fa-angle-right\'></i>"],
|
38 |
-
pagination: '
|
39 |
autoHeight: true,
|
40 |
autoPlay: true,
|
41 |
slideSpeed: 900,
|
@@ -60,45 +57,45 @@ function sp_testimonial_free_shortcode( $atts ) {
|
|
60 |
|
61 |
$outline .= '<style type="text/css">
|
62 |
.sp-testimonial-section .owl-controls .owl-buttons div:hover{
|
63 |
-
color: '. $color .';
|
64 |
}
|
65 |
.sp-testimonial-section .owl-controls .owl-pagination .owl-page.active{
|
66 |
-
background-color: '. $color .';
|
67 |
}
|
68 |
</style>';
|
69 |
|
70 |
-
$outline .= '<div id="sp-testimonial-free' . $
|
71 |
if ( $que->have_posts() ) {
|
72 |
while ( $que->have_posts() ) : $que->the_post();
|
73 |
|
74 |
$tf_designation = esc_html( get_post_meta( get_the_ID(), 'tf_designation', true ) );
|
75 |
|
76 |
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
$outline .= '</div>';
|
82 |
-
}
|
83 |
-
$outline .= '<div class="tf-client-testimonial">';
|
84 |
-
$outline .= get_the_content();
|
85 |
$outline .= '</div>';
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
|
|
|
|
|
|
|
|
94 |
|
95 |
|
96 |
-
|
97 |
|
98 |
|
99 |
endwhile;
|
100 |
} else {
|
101 |
-
$outline .= '<h2 class="sp-not-found-any-testimonial">' .
|
102 |
}
|
103 |
$outline .= '</div>';
|
104 |
|
@@ -106,10 +103,8 @@ function sp_testimonial_free_shortcode( $atts ) {
|
|
106 |
wp_reset_query();
|
107 |
|
108 |
|
109 |
-
|
110 |
return $outline;
|
111 |
|
112 |
}
|
113 |
|
114 |
-
add_shortcode( 'testimonial-free', 'sp_testimonial_free_shortcode' );
|
115 |
-
|
1 |
<?php
|
2 |
+
if ( ! defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly
|
|
|
|
|
3 |
|
4 |
// Testimonial Free shortcode
|
5 |
function sp_testimonial_free_shortcode( $atts ) {
|
6 |
extract( shortcode_atts( array(
|
7 |
+
'color' => '#52b3d9',
|
8 |
+
'nav' => 'true',
|
9 |
+
'pagination' => 'true',
|
|
|
10 |
), $atts, 'testimonial-free' ) );
|
11 |
|
12 |
|
17 |
'posts_per_page' => -1,
|
18 |
);
|
19 |
|
|
|
20 |
$que = new WP_Query( $args );
|
21 |
|
22 |
|
23 |
+
$custom_id = uniqid();
|
24 |
|
25 |
$outline = '';
|
26 |
|
27 |
$outline .= '
|
28 |
<script type="text/javascript">
|
29 |
jQuery(document).ready(function() {
|
30 |
+
jQuery("#sp-testimonial-free' . $custom_id . '").owlCarousel({
|
31 |
items: 1,
|
32 |
singleItem : true,
|
33 |
navigation: ' . $nav . ',
|
34 |
navigationText: ["<i class=\'fa fa-angle-left\'></i>","<i class=\'fa fa-angle-right\'></i>"],
|
35 |
+
pagination: ' . $pagination . ',
|
36 |
autoHeight: true,
|
37 |
autoPlay: true,
|
38 |
slideSpeed: 900,
|
57 |
|
58 |
$outline .= '<style type="text/css">
|
59 |
.sp-testimonial-section .owl-controls .owl-buttons div:hover{
|
60 |
+
color: ' . $color . ';
|
61 |
}
|
62 |
.sp-testimonial-section .owl-controls .owl-pagination .owl-page.active{
|
63 |
+
background-color: ' . $color . ';
|
64 |
}
|
65 |
</style>';
|
66 |
|
67 |
+
$outline .= '<div id="sp-testimonial-free' . $custom_id . '" class="sp-testimonial-section">';
|
68 |
if ( $que->have_posts() ) {
|
69 |
while ( $que->have_posts() ) : $que->the_post();
|
70 |
|
71 |
$tf_designation = esc_html( get_post_meta( get_the_ID(), 'tf_designation', true ) );
|
72 |
|
73 |
|
74 |
+
$outline .= '<div class="testimonial-free text-center">';
|
75 |
+
if ( has_post_thumbnail( $que->post->ID ) ) {
|
76 |
+
$outline .= '<div class="tf-client-image">';
|
77 |
+
$outline .= get_the_post_thumbnail( $que->post->ID, 'tf-client-image-size', array( 'class' => "tf-client-img" ) );
|
|
|
|
|
|
|
|
|
78 |
$outline .= '</div>';
|
79 |
+
}
|
80 |
+
$outline .= '<div class="tf-client-testimonial">';
|
81 |
+
$outline .= get_the_content();
|
82 |
+
$outline .= '</div>';
|
83 |
+
$outline .= '<h2 class="tf-client-name">';
|
84 |
+
$outline .= get_the_title();
|
85 |
+
$outline .= '</h2>';
|
86 |
+
if ( $tf_designation ) {
|
87 |
+
$outline .= '<h6 class="tf-client-designation">';
|
88 |
+
$outline .= $tf_designation;
|
89 |
+
$outline .= '</h6>';
|
90 |
+
}
|
91 |
|
92 |
|
93 |
+
$outline .= '</div>'; //testimonial free
|
94 |
|
95 |
|
96 |
endwhile;
|
97 |
} else {
|
98 |
+
$outline .= '<h2 class="sp-not-found-any-testimonial">' . esc_html__( 'No testimonials found', 'testimonial-free' ) . '</h2>';
|
99 |
}
|
100 |
$outline .= '</div>';
|
101 |
|
103 |
wp_reset_query();
|
104 |
|
105 |
|
|
|
106 |
return $outline;
|
107 |
|
108 |
}
|
109 |
|
110 |
+
add_shortcode( 'testimonial-free', 'sp_testimonial_free_shortcode' );
|
|
main.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Testimonial Free
|
4 |
-
Description:
|
5 |
Plugin URI: http://shapedplugin.com/plugin/testimonial-pro
|
6 |
Author: ShapedPlugin
|
7 |
Author URI: http://shapedplugin.com
|
8 |
-
Version: 1.
|
9 |
*/
|
10 |
|
11 |
|
@@ -20,4 +20,141 @@ if(file_exists( SP_TF_PATH . 'inc/scripts.php')){
|
|
20 |
}
|
21 |
if(file_exists( SP_TF_PATH . 'inc/functions.php')){
|
22 |
require_once(SP_TF_PATH . "inc/functions.php");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
}
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Testimonial Free
|
4 |
+
Description: Testimonial Free is a clean, easy-to-use and Powerful Testimonials Management System for WordPress that allows you to manage and display Testimonials.
|
5 |
Plugin URI: http://shapedplugin.com/plugin/testimonial-pro
|
6 |
Author: ShapedPlugin
|
7 |
Author URI: http://shapedplugin.com
|
8 |
+
Version: 1.3
|
9 |
*/
|
10 |
|
11 |
|
20 |
}
|
21 |
if(file_exists( SP_TF_PATH . 'inc/functions.php')){
|
22 |
require_once(SP_TF_PATH . "inc/functions.php");
|
23 |
+
}
|
24 |
+
|
25 |
+
/* Plugin Action Links */
|
26 |
+
function sp_testimonial_free_action_links( $links ) {
|
27 |
+
$links[] = '<a target="_blank" href="https://shapedplugin.com/plugin/testimonial-pro/" style="color: red; font-weight: 600;">Go
|
28 |
+
Pro!</a>';
|
29 |
+
|
30 |
+
return $links;
|
31 |
+
}
|
32 |
+
add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), 'sp_testimonial_free_action_links' );
|
33 |
+
|
34 |
+
|
35 |
+
// Redirect after active
|
36 |
+
function sp_testimonial_free_active_redirect( $plugin ) {
|
37 |
+
if ( $plugin == plugin_basename( __FILE__ ) ) {
|
38 |
+
exit( wp_redirect( admin_url( 'options-general.php' ) ) );
|
39 |
+
}
|
40 |
+
}
|
41 |
+
add_action( 'activated_plugin', 'sp_testimonial_free_active_redirect' );
|
42 |
+
|
43 |
+
|
44 |
+
// admin menu
|
45 |
+
function sp_testimonial_free_options_framwrork() {
|
46 |
+
add_options_page( 'Testimonial Pro Info', '', 'manage_options', 'sp-tf-settings', 'sp_tf_options_framwrork' );
|
47 |
+
}
|
48 |
+
add_action( 'admin_menu', 'sp_testimonial_free_options_framwrork' );
|
49 |
+
|
50 |
+
|
51 |
+
if ( is_admin() ) : // Load only if we are viewing an admin page
|
52 |
+
|
53 |
+
function sp_testimonial_free_register_settings() {
|
54 |
+
// Register settings and call sanitation functions
|
55 |
+
register_setting( 'sp_tf_p_options', 'sp_tf_options', 'sp_tf_validate_options' );
|
56 |
+
}
|
57 |
+
add_action( 'admin_init', 'sp_testimonial_free_register_settings' );
|
58 |
+
|
59 |
+
|
60 |
+
// Function to generate options page
|
61 |
+
function sp_tf_options_framwrork() {
|
62 |
+
|
63 |
+
if ( ! isset( $_REQUEST['updated'] ) ) {
|
64 |
+
$_REQUEST['updated'] = false;
|
65 |
+
} // This checks whether the form has just been submitted. ?>
|
66 |
+
|
67 |
+
|
68 |
+
<div class="wrap about-wrap">
|
69 |
+
|
70 |
+
<h1>Welcome to Testimonial Free</h1>
|
71 |
+
|
72 |
+
<div class="about-text">Thank you for using our Testimonial Free plugin.</div>
|
73 |
+
|
74 |
+
|
75 |
+
<hr>
|
76 |
+
|
77 |
+
<h3>Want some cool features of this plugin?</h3>
|
78 |
+
|
79 |
+
<p>We've added many extra features in our <a href="https://shapedplugin.com/plugin/testimonial-pro/">Premium
|
80 |
+
Version</a> of this
|
81 |
+
plugin. Let see some amazing features. <a href="https://shapedplugin.com/plugin/testimonial-pro/">Buy Premium Version Now.</a></p>
|
82 |
+
|
83 |
+
|
84 |
+
|
85 |
+
<div class="feature-section two-col">
|
86 |
+
<h2>Pro Version Features</h2>
|
87 |
+
<div class="col">
|
88 |
+
<ul>
|
89 |
+
<li><span class="dashicons dashicons-yes"></span> 20+ Predefined Testimonial Theme Styles</li>
|
90 |
+
<li><span class="dashicons dashicons-yes"></span> Front-end Submission form</li>
|
91 |
+
<li><span class="dashicons dashicons-yes"></span> Notification e-mail for Testimonial submission to Admin</li>
|
92 |
+
<li><span class="dashicons dashicons-yes"></span> Testimonial pending for approval by Admin to show in frontend</li>
|
93 |
+
<li><span class="dashicons dashicons-yes"></span> Front-end submission form fields show/hide options</li>
|
94 |
+
<li><span class="dashicons dashicons-yes"></span> 100% Responsive & Mobile Friendly</li>
|
95 |
+
<li><span class="dashicons dashicons-yes"></span> Very Light weight, clean & beautiful design</li>
|
96 |
+
<li><span class="dashicons dashicons-yes"></span> Testimonials from specific Categories</li>
|
97 |
+
<li><span class="dashicons dashicons-yes"></span> Grid Testimonial Showcase</li>
|
98 |
+
<li><span class="dashicons dashicons-yes"></span> List Testimonial showcase</li>
|
99 |
+
<li><span class="dashicons dashicons-yes"></span> Filterable Testimonial Showcase</li>
|
100 |
+
<li><span class="dashicons dashicons-yes"></span> Testimonials Order by (Date, Title, modified, Author, Random)</li>
|
101 |
+
<li><span class="dashicons dashicons-yes"></span> Order (Decending, Ascending)</li>
|
102 |
+
<li><span class="dashicons dashicons-yes"></span> Set Testimonial Auto-play time</li>
|
103 |
+
<li><span class="dashicons dashicons-yes"></span> Testimonial stop on hover</li>
|
104 |
+
<li><span class="dashicons dashicons-yes"></span> Set different style client images (Circle, Round, Square, Border)</li>
|
105 |
+
<li><span class="dashicons dashicons-yes"></span> Show maximum number of testimonials displayed in devices</li>
|
106 |
+
</ul>
|
107 |
+
</div>
|
108 |
+
<div class="col">
|
109 |
+
<ul>
|
110 |
+
<li><span class="dashicons dashicons-yes"></span> Testimonial Auto height option</li>
|
111 |
+
<li><span class="dashicons dashicons-yes"></span> Simple Pagination Style</li>
|
112 |
+
<li><span class="dashicons dashicons-yes"></span> Unlimited Testimonials anywhere</li>
|
113 |
+
<li><span class="dashicons dashicons-yes"></span> Show/hide Testimonial next/prev buttons</li>
|
114 |
+
<li><span class="dashicons dashicons-yes"></span> Star Rating System</li>
|
115 |
+
<li><span class="dashicons dashicons-yes"></span> Unlimited colors</li>
|
116 |
+
<li><span class="dashicons dashicons-yes"></span> Widget Ready</li>
|
117 |
+
<li><span class="dashicons dashicons-yes"></span> Visual Composer Supported (Add-on)</li>
|
118 |
+
<li><span class="dashicons dashicons-yes"></span> All Major Browsers compatible</li>
|
119 |
+
<li><span class="dashicons dashicons-yes"></span> Fully Localized or Translation Ready</li>
|
120 |
+
<li><span class="dashicons dashicons-yes"></span> Mobile, Tablet touch-swiped</li>
|
121 |
+
<li><span class="dashicons dashicons-yes"></span> Work with all standard WordPress themes</li>
|
122 |
+
<li><span class="dashicons dashicons-yes"></span> Developer friendly & easy to customize</li>
|
123 |
+
<li><span class="dashicons dashicons-yes"></span> Extensive online documentation</li>
|
124 |
+
<li><span class="dashicons dashicons-yes"></span> Lifetime free update</li>
|
125 |
+
<li><span class="dashicons dashicons-yes"></span> 24/7 Free & Quick Developer support</li>
|
126 |
+
<li><span class="dashicons dashicons-yes"></span> And many more…</li>
|
127 |
+
</ul>
|
128 |
+
</div>
|
129 |
+
</div>
|
130 |
+
|
131 |
+
<h2><a href="https://shapedplugin.com/plugin/testimonial-pro/" class="button button-primary button-hero">Buy
|
132 |
+
PRO Version Now</a>
|
133 |
+
</h2>
|
134 |
+
<br>
|
135 |
+
<br>
|
136 |
+
|
137 |
+
</div>
|
138 |
+
|
139 |
+
<?php
|
140 |
+
}
|
141 |
+
|
142 |
+
|
143 |
+
endif; // EndIf is_admin()
|
144 |
+
|
145 |
+
|
146 |
+
register_activation_hook( __FILE__, 'shapedplugin_tf_activate' );
|
147 |
+
add_action( 'admin_init', 'shapedplugin_tf_redirect' );
|
148 |
+
|
149 |
+
function shapedplugin_tf_activate() {
|
150 |
+
add_option( 'shapedplugin_tf_activation_redirect', true );
|
151 |
+
}
|
152 |
+
|
153 |
+
function shapedplugin_tf_redirect() {
|
154 |
+
if ( get_option( 'shapedplugin_tf_activation_redirect', false ) ) {
|
155 |
+
delete_option( 'shapedplugin_tf_activation_redirect' );
|
156 |
+
if ( ! isset( $_GET['activate-multi'] ) ) {
|
157 |
+
wp_redirect( "options-general.php?page=sp-tf-settings" );
|
158 |
+
}
|
159 |
+
}
|
160 |
}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: rubel_miah, shapedplugin
|
|
3 |
Donate link: http://shapedplugin.com/donate
|
4 |
Tags: free testimonial, testimonial, testimonials, customer testimonial, customer testimonials, customer review, customer reviews, customers reviews, client testimonial, testimonial feed, testimonial widget, testimonials client, customer, quote, quotes, recommendation, reference, review, reviews, testimonial slider, slider, testimonial carousel, carousel, customer comments, comments, praise, rotator, rotators, shortcode, sidebar, shortcode plugin, testimonial shortcode, easy testimonial, best testimonial, advanced shortcode testimonial plugin, advanced testimonial showcase plugin, pro testimonial, premium testimonial plugin, testimony, witness, case studies, clients, flat design, grid, responsive, reviews, rich snippets, star rating, grid style testimonial, list style testimonial, rating, showcase, testimonial showcase, custom testimonial, easy testimonial slider, feedback, feedback slider, ratings, Responsive testimonial slider, simple testimonial, add testimonials, add testimonials widget, author data, company data, custom post type, display testimonials, multiple testimonials, unlimited testimonials, Testimonials plugin, testimonials shortcode, testimonials widget, translation-ready, user comments, widgets, best, content slider, responsive slider, sliders, super, Testimonial Rotator, testimonial slider, Testimonials Manager, top, testimonial layouts, testimonial shortcode, shapedplugin, 5 star testimonials
|
5 |
Requires at least: 4.0
|
6 |
-
Tested up to: 4.6
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -122,11 +122,18 @@ After install, you are ready to use Testimonial in your post, page, widget or an
|
|
122 |
3. Add testimonial going to wp-admin -> Testimonials -> Add New Testimonial.
|
123 |
4. Call shortcode to your WordPress editor directly, by using
|
124 |
`
|
125 |
-
[testimonial-free
|
126 |
`
|
127 |
Call shortcode to your php template file using
|
128 |
`
|
129 |
-
<?php echo do_shortcode('[testimonial-free
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
`
|
131 |
|
132 |
|
@@ -149,3 +156,8 @@ Now save your page, then visit the newly created page & see something awesome. :
|
|
149 |
|
150 |
= 1.2 =
|
151 |
* Navigation css issue fixed
|
|
|
|
|
|
|
|
|
|
3 |
Donate link: http://shapedplugin.com/donate
|
4 |
Tags: free testimonial, testimonial, testimonials, customer testimonial, customer testimonials, customer review, customer reviews, customers reviews, client testimonial, testimonial feed, testimonial widget, testimonials client, customer, quote, quotes, recommendation, reference, review, reviews, testimonial slider, slider, testimonial carousel, carousel, customer comments, comments, praise, rotator, rotators, shortcode, sidebar, shortcode plugin, testimonial shortcode, easy testimonial, best testimonial, advanced shortcode testimonial plugin, advanced testimonial showcase plugin, pro testimonial, premium testimonial plugin, testimony, witness, case studies, clients, flat design, grid, responsive, reviews, rich snippets, star rating, grid style testimonial, list style testimonial, rating, showcase, testimonial showcase, custom testimonial, easy testimonial slider, feedback, feedback slider, ratings, Responsive testimonial slider, simple testimonial, add testimonials, add testimonials widget, author data, company data, custom post type, display testimonials, multiple testimonials, unlimited testimonials, Testimonials plugin, testimonials shortcode, testimonials widget, translation-ready, user comments, widgets, best, content slider, responsive slider, sliders, super, Testimonial Rotator, testimonial slider, Testimonials Manager, top, testimonial layouts, testimonial shortcode, shapedplugin, 5 star testimonials
|
5 |
Requires at least: 4.0
|
6 |
+
Tested up to: 4.6.1
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
122 |
3. Add testimonial going to wp-admin -> Testimonials -> Add New Testimonial.
|
123 |
4. Call shortcode to your WordPress editor directly, by using
|
124 |
`
|
125 |
+
[testimonial-free]
|
126 |
`
|
127 |
Call shortcode to your php template file using
|
128 |
`
|
129 |
+
<?php echo do_shortcode('[testimonial-free]'); ?>
|
130 |
+
`
|
131 |
+
|
132 |
+
Shortcode attributes
|
133 |
+
`
|
134 |
+
nav = true / false
|
135 |
+
pagination = true / false
|
136 |
+
color = color code
|
137 |
`
|
138 |
|
139 |
|
156 |
|
157 |
= 1.2 =
|
158 |
* Navigation css issue fixed
|
159 |
+
|
160 |
+
= 1.3 =
|
161 |
+
* Removed view link
|
162 |
+
* Removed attribute "id"
|
163 |
+
* Added shortcode in backend
|