I have built a Testimonials slider and I would like to have it in the footer of all the pages of the website. Is there a way this can be done by repeating that block on all pages, so that when one testimonial is added it gets added on all other pages? I have done something similar on non-WordPress websites by manually coding the slider in a function that gets re-called, but I would like an expert's opinion on what the best way would be to achieve a similar functionality with this theme.
You will likely have to call the function that builds the testimonial slider in footer.php if you want it there on all pages. The relevant code can be found in "Salient/nectar/tinymce/shortcode-processing.php" .
I have built a Testimonials slider and I would like to have it in the footer of all the pages of the website. Is there a way this can be done by repeating that block on all pages, so that when one testimonial is added it gets added on all other pages? I have done something similar on non-WordPress websites by manually coding the slider in a function that gets re-called, but I would like an expert's opinion on what the best way would be to achieve a similar functionality with this theme.
Thanks!
Hey Greg!
You will likely have to call the function that builds the testimonial slider in footer.php if you want it there on all pages. The relevant code can be found in "Salient/nectar/tinymce/shortcode-processing.php" .
Best,
-T
ThemeNectar Support Team
Thanks, I wrote my own custom shortcode calling upon those shortcodes and it worked perfectly. Thanks again.