I used to add the <p><?php echo types_render_field( "home-testimonial", array( ) ); ?></p> into the <p></p> on the page and then create a new taxonomy called 'home-testimonial' and select toolset's WYSYWIG, so when I go into Pages > Home, there is a text box, where I enter the text for the p tag.
This has not worked. Nothing appears in the p tag on the page.
The link to my site is: hidden link
Site details:
user
!dimitri2020
It is the testimonial row further down, you can see that there should be some text in there, but its empty.
I used to do this with the tool set plug-in back in 2016, and in Pages > Home there would be a big text box for me to add the testimonial text into. That is what I am trying to do. This is the call I used to use: <?php echo types_render_field( "home-testimonial", array( ) ); ?>
By the way I hadn't added a field with WYSYWIG earlier, but I have created that now and I can see the text box in 'Pages > Home', which is good.
So I need to add this call to my homepage code (html) homepage.php.
Is this correct?
<?php echo do_shortcode('[wpv-post-taxonomy type="home-testimonial" separator=", " format="link" show="name" order="asc"]'); ?>
So it will need to look like this:
<p><?php echo do_shortcode('[wpv-post-taxonomy type="home-testimonial" separator=", " format="link" show="name" order="asc"]'); ?></p>
I will have to add many of these <?php echo ?> calls around <p> <h2> and <h1> in my site.
I think I am not adding the code correctly.
Please see screenshot after I added the above code.