Going mad, strong vs original shortcode
-
Hi,
I must be missing something or am just being plain stupid but no matter what I try I can’t get the whole text of a testimonial to show if I use the strong shortcodes, but I can if I use the original.
One the page linked to below I’ve used…
`
[strong][strong class=”beach,tabbed”]
[wpmtst-all]
Not sure what I am doing wrong, so any pointers greatfully appreciated.,
If you have a look at you’ll see the product of…
-
I’m very sorry for the trouble. The [wpmtst] shortcodes are on their way out so we need to move forward with [strong].
Please create another page with [wpmtst-all] so that I may compare the two.
Or send me a login using the contact form at wpmission.com and I’ll get to the bottom of it.
I noticed the ellipsis is dot-space-dot-space-dot. The plugin adds dot-dot-dot without spaces so perhaps there is a another culprit, perhaps a theme conflict. Have you tried a default theme like TwentyFifteen?
Scratch that last part about the ellipsis. I was mistaken. Trying a default theme is still worth a try, however.
Just out of curiosity, I de-activated all plug-ins bar Strong Testimonials and that didn’t change anything alas.
Thanks for trying that and the screenshots. I see double ellipses. Plus, when the plugin truncates according to the length limit parameter it adds a “truncated” CSS class; I don’t see that in your page code. So yes, something else is filtering the content and the fact that it happens in TwentyFifteen leads us to the plugins. You will need to deactivate each one individually and check the page each time to see.
Wait. All except Strong deactivated and TwentyFifteen and it’s still not right?
It works OK on TwentyFifteen (bar the Client name not being visible) with all plug-ins activated.
OK, I must have misunderstood which screenshot was which theme.
Before I forget, look here for a client name example.
And by the way, “beach,tabbed” are not included in the plugin stylesheet but the CSS is on the demo site.
If you care to send me your original theme zip file (chris at wpmission), I will look into it. Bar that, there’s not much I can do from afar.
I’d like to see the full text. Can you post a screenshot of that testimonial in the post editor, just the content part?
Sorry to confuse. I’ve sent you the zip file. Oh, and I took the beach, tabbed CSS from the demo site and placed it into my custom CSS.
Many thanks
/* Using CSS columns. Browser support for columns is around 92% as of Feb-2015, according to http://caniuse.com/#search=column. Thanks to http://css-tricks.com/guide-responsive-friendly-css-columns/ and http://css-tricks.com/almanac/properties/b/break-inside/ */ .strong-container.two-css-columns { display: block; } .strong-container.two-css-columns .strong-content { -webkit-column-count: 2; -moz-column-count: 2; column-count: 2; -webkit-column-width: 150px; -moz-column-width: 150px; column-width: 150px; -webkit-column-gap: 20px; -moz-column-gap: 20px; column-gap: 20px; } .strong-container.two-css-columns .testimonial { display: inline-block; /* fallback to prevent column break within a testimonial */ -webkit-column-break-inside: avoid; page-break-inside: avoid; break-inside: avoid; margin-top: 0; /* to prevent gap at top of 2nd column */ } /* Beach */ .beach .testimonial .heading { background: none; color: #39788D; font-size: 2.4em; letter-spacing: 1px; line-height: 1.2em; padding-left: 0; text-align: center; text-transform: lowercase; word-spacing: 4px; } .beach .testimonial .heading:before { content:"\201C"; margin-right: 5px; } .beach .testimonial .heading:after { content:"\201D"; margin-left: 5px; } .beach .testimonial .inner { background: #B9DCE7; color: #39788D; } /* Tabbed */ .tabbed .testimonial { border: none; border-left: 10px solid #ff9911; } .tabbed .testimonial .inner { border: none; border-radius: 0 50px 50px 0; padding-left: 10px; } .tabbed .testimonial p { margin-bottom: 0; } .tabbed .testimonial img { background: none; border: none; border-radius: 0 20px 20px 0; margin-left: -10px; margin-right: 5px; padding: 0; }is what I have in CSS
Got the theme, thanks. Unable to replicate the problem. Try viewing the testimonial via the “View Testimonial” link in the editor. That should use the theme’s post template with no extra formatting. Does that show the full content? Can you post a screenshot?
Here is the screenshot from view testimonial within editor..
The topic ‘Going mad, strong vs original shortcode’ is closed to new replies.