• On single-testimonial pages, I want to show social sharing buttons, but not in single testimonials embedded within pages using a shortcode.

    The current code, however, seems to use the same function to render both, so there’s no way to tell the difference.

    If I’m missing something, please let me know how to detect that shortcode processing, so I can remove the social buttons action BEFORE the output is produced.

    Otherwise, please provide such a way, e.g. an action hook at the start of outputSingleTestimonial().

The topic ‘Differentiating shortcode from single testimonial page’ is closed to new replies.