Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter breazey9

    (@breazey9)

    Thanks much! That page didn’t quite answer my question, and the template files confuse me, because I don’t know exactly what to do with which file(s). However I did come across this page: https://nodedesk.zendesk.com/hc/en-us/articles/202244562-How-do-I-customize-my-testimonials-archive-layout-
    which talks about the archive page… strangely enough, it looks like my main testimonial page (www.mywebsite.com/testimonial/) is set up like the archive page… SO, for anybody else who reads this post and needs help, this is what I did:
    1. I copied the archive.php page from my theme into my child theme
    2. Changed the name of the file to archive-testimonials-widget.php as stated in the help page I listed above
    3. I wanted to add a title at the top that said “Testimonials” instead of “Archive”, so I added <h1>Testimonials</h1> in the appropriate spot on that php page, and used CSS to hide .entry-header (so that the word “archives” would go away.)
    4. I wanted the testimonials to be shown with FULL text on this page, so I added this style to hide the “read more” button:
    .entry-content .short-content .bttn {display:none; }
    AND to make the page show the full text instead of an excerpt, I changed this:
    <?php
    get_template_part( ‘content’, ‘summary’ );
    ?>

    to this:
    <?php
    get_template_part( ‘content’, ‘single’ );
    ?>

    Hope this helps anybody else in need!

Viewing 1 replies (of 1 total)