Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter JeremyBorum

    (@jeremyborum)

    In short: I’m trying to force the single-page testimonials to use the default template and to always show the small featured image, no matter what the various rotator settings are. They currently use the longform template because of my rotator settings as you can see here.

    You provide this filter on your site to change the theme of the single-page testimonial:

    function hg_testimonial_rotator_single_page_theme( $current, $testimonial_id )
    {
      if( $testimonial_id == 100) return "longform";
      return $current;
    }
    add_filter( 'testimonial_rotator_single_page_theme' , 'hg_testimonial_rotator_single_page_theme', 10, 2 );

    I have 2 questions regarding this snippet:

    Is “default” a valid value instead of “longform” ?

    What are the values 10 and 2 for?

    Many thanks.

    Thread Starter JeremyBorum

    (@jeremyborum)

    Hi Hal,

    I’d really appreciate a little help with this issue. I would love to get the small image back on my testimonial permalink pages and don’t know how to do it. All of the links above are still active and working. If I need to pay you for support I’m happy to do so.

    Many thanks.

    – Jeremy

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Little image disappeared’ is closed to new replies.