Thanks for the link. Always helps to see things first-hand.
1. Try editing the test page in Text mode and make sure the shortcodes are not wrapped in quotes or tags like <code>
or <pre>
. Remove the ellipsis from [strong ...]
.
2. Linking to the testimonial post and having the client fields in that post requires a custom testimonials.php
template in your theme. (I really need to write a tutorial for this.)
But let’s solve #1 first.
Thread Starter
Carson
(@slowburn)
Hi Chris, thanks for the response. It has no wrappers in Text mode, and no ellipsis either. That’s what’s kind of confusing me. All I’m using is
[strong]
Here is a screen shot of my WordPress editor:
I even went back and retyped what you see there, published, and it came up the same as what you see on the test page. Happy to try something else if you’ve ideas. Thanks!
Deactivate any caching plugin or web host caching. I see this: http://screencast.com/t/09VNDzPOptT
Thread Starter
Carson
(@slowburn)
Finally was able to confirm no caching on GoDaddy’s side, and no caching plugins installed.
Yeah, sorry, I meant I’m seeing the same thing that you’re seeing on the output, ellipsis and all. But nothing but the
[strong]
by itself on the input side, so no way to remove the ellipsis that I can see as it’s not on the editing pages.
Puzzling. If you want me to look into it, send me a temporary admin login via https://www.wpmission.com/contact
Thread Starter
Carson
(@slowburn)
Sweet thanks so much for your help. I have sent the info through the link you provided.
We narrowed this down to the EventBrite theme. The shortcode worked after switching to a default theme. But we still don’t know the real cause.
Thread Starter
Carson
(@slowburn)
Thank you for looking into it. I can live without the shortcodes as the widget seems to work fine, if I could get the page linked to “Read More” to display at least author info.
To create the unique testimonials.php
template, I looked over this topic:
https://wordpress.org/support/topic/read-more-link-from-widget?replies=8
I was unable, however, to adapt it to my theme.
Any chance you uncovered the tweaks needed for the testimonials.php
template?
I just found the problem. You somehow created a template testimonials.php
with just the shortcode instead of copying the default template from the plugin as a foundation. (I really need to write a tutorial for this.)
So the shortcodes will work now. See the test page.
Every theme is different. To add the author info to the single testimonial page requires steps similar to the topic you mentioned.
In your case, that means:
1. copying single.php to single-wpm-testimonial.php
2. copying tmpl/post-loop.php to tmpl/post-loop-testimonial.php
3. editing that new file and adding the author field after the content, like in this snippet:
<?php the_content( __( 'Read the rest of this entry »', 'eventbrite-event' ) ); ?>
<?php // for Strong Testimonials: ?>
<p class="client">
<div class="name"><?php wpmtst_field( 'client_name' ); ?></div>
</p>
Or contact me again via email and I will gladly do it for you.
And remember, the testimonials.php template in your theme now controls how the testimonials are displayed when using the shortcode. If that’s not what you want then simply delete the file and control will revert to the shortcode attributes like “title”, “thumbnail”, “length”, etc.
One more thing. In single-wpm-testimonial.php, change
get_template_part( 'tmpl/post-loop' );
to
get_template_part( 'tmpl/post-loop-testimonial' );
Thread Starter
Carson
(@slowburn)
Absolutely brilliant! Worked like a charm. Thank you!