skip to Main Content

Hey Guys Extremely sorry for the silly question because I am newbie to wordpress. I just wanted to show user testimonials.

For that I Installed Easy Testimonials Plugin.
Then I creates a new page called Testimonials. In that I give the below shortcode

[testimonials theme="default_style" paginate="all" count="5" orderby="date" order="ASC" show_title="0" use_excerpt="0" show_thumbs="1" show_date="1" show_other="1" hide_view_more="1" output_schema_markup="1" show_rating="stars"]

Upto now all are working fine, But in my site its showing that shortcode that I have given in the testimonial page.
enter image description here

My admin panel
enter image description here

This is my page.php

<?php
/**
 * The template for displaying all pages.
 *
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages and that other
 * 'pages' on your WordPress site will use a different template.
 *
 * @package OceanWP WordPress theme
 */

get_header(); ?>

    <?php do_action( 'ocean_before_content_wrap' ); ?>

    <div id="content-wrap" class="container clr">

        <?php do_action( 'ocean_before_primary' ); ?>

        <div id="primary" class="content-area clr">

            <?php do_action( 'ocean_before_content' ); ?>

            <div id="content" class="site-content clr">

                <?php do_action( 'ocean_before_content_inner' ); ?>

                <?php
                // Elementor `single` location
                if ( ! function_exists( 'elementor_theme_do_location' ) || ! elementor_theme_do_location( 'single' ) ) {

                    // Start loop
                    while ( have_posts() ) : the_post();

                        get_template_part( 'partials/page/layout' );

                    endwhile;

                } ?>

                <?php do_action( 'ocean_after_content_inner' ); ?>

            </div><!-- #content -->

            <?php do_action( 'ocean_after_content' ); ?>

        </div><!-- #primary -->

        <?php do_action( 'ocean_after_primary' ); ?>

        <?php do_action( 'ocean_display_sidebar' ); ?>

    </div><!-- #content-wrap -->

    <?php do_action( 'ocean_after_content_wrap' ); ?>

<?php get_footer(); ?>

2

Answers


  1. I suggest you to go to admin panel Testimonials->All Testimonials select edit testimonial and check description content there

    Login or Signup to reply.
  2. in your page.php put below code anywhere and check it working or not

    <?php echo do_shortcode('[testimonials theme="default_style" paginate="all" count="5" orderby="date" order="ASC" show_title="0" use_excerpt="0" show_thumbs="1" show_date="1" show_other="1" hide_view_more="1" output_schema_markup="1" show_rating="stars"]'); ?>
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search