Home Forums Support TBTestimonials TB Testimonials – help please

TB Testimonials – help please

This topic is: resolved

This topic contains 7 replies, has 3 voices, and was last updated by  Travis Ballard 11 years, 2 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
Author Posts
Author Posts
January 3, 2013 at 9:15 pm #611

johndove523
Participant

Hi,

I just downloaded your TB Testimonials plugin and I’m pretty sure it’s what I’m looking for. However, I’m a relative newb to WordPress and have the following questions:

In templates, I created a new template:

[CODE]<div class=”in-content-testimonial”>
<div class=”testimonial-data”>
<p class=”testimonial-content”>{{ testimonial }}</p>
<p class=”testimonial-author”>{{ author }}</p>
{% if  company_url %}
<p class=”testimonial-company”><a href=”{{ company_url }}”>{{ company_name }}</a></p>
{% endif %}
</div>[/CODE]

Ideally, I would like to add an author title in there but no big deal. Where do I put this code?

I went to my testimonials page and attempted to put add a testimonial. I selected the double bubble icon and it inserted the shortcode. That resulted in this error:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 43 bytes) in /home/content/12/10256312/html/wp-includes/query.php on line 1406

I’m sure I’m missing some steps here. Can you fill in the blanks for me?

Thanks,

John

  • This topic was modified 11 years, 2 months ago by  Travis Ballard. Reason: [code] to `
  • This topic was modified 11 years, 2 months ago by  Travis Ballard.
  • This topic was modified 11 years, 2 months ago by  Travis Ballard.
  • This topic was modified 11 years, 2 months ago by  Travis Ballard.
  • This topic was modified 11 years, 2 months ago by  Travis Ballard.
January 4, 2013 at 5:48 pm #615

Travis Ballard
Keymaster
Post count: 34

Your template looks good, however using the bubble icon, there’s not currently an option to select the output template to use so it will use the default one. the shortcode accepts a ‘template’ parameter where you can tell it which template to use like so:

[testimonial id="10" template="TEMPLATENAME"]

you will need to replace TEMPLATENAME with whatever the name of the template is that you wish to use.

Not really sure why the memory exhausted error but if it still persists after getting the template right, let me know and I’ll see if I cant help you resolve that as well.

Thanks,
Travis Ballard

January 4, 2013 at 6:20 pm #616

johndove523
Participant

Travis,

I did as you suggested and inserted the template name:  [testimonial id='188' template="TESTIMONIALS"]. Same result:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 43 bytes) in /home/content/12/10256312/html/wp-includes/query.php on line 1406

??

 

January 4, 2013 at 7:32 pm #617

Travis Ballard
Keymaster
Post count: 34

If you want to create me an admin account on the site with the email address junk@ansimation.net I will log in and see if I can’t help you figure it out. Have you disabled all the plugins except for tb-testimonials to verify that it is the culprit? if you disable tb-testimonials does the error still persist?

January 4, 2013 at 11:33 pm #623

Travis Ballard
Keymaster
Post count: 34

After jumping into it, the culprit was a conflict with the shortcode. Apparently something was using the same shortcode and I’m not sure exactly what it was. The theme being used is a Catalyst Child Theme named Dynamik.

Because of this and another user mentioning the need for a filter to change the shortcode I just released an update ( version 1.6.4 ) but unfortunately the filter that it added does not work so yeah, still sorting that out. For now if anyone else comes across this error, it can be changed temporarily by editing tb-testimonials.php and changing the shortcode in there.

January 5, 2013 at 3:02 am #624

Travis Ballard
Keymaster
Post count: 34

Alight, just updated the plugin on your site to version 1.6.5 that was just released and edited the  functions.php file in your theme folder so that it changes the shortcode.

Here’s the code that I added https://gist.github.com/4459453

January 18, 2013 at 10:53 am #643

timamigo
Participant

Hi Travis,

I like the TB testimonial a lot, thx!

I use it on http://www.accentic.nl in the sidebar, but since a day or 2, the text freezes… Something is wrong, but i don’t know what….?

I allready removed en install te plugin again.

Do you have an idea??

January 18, 2013 at 3:22 pm #644

Travis Ballard
Keymaster
Post count: 34

Hey there, did you install a new plugin or theme a day or two ago? There seems to be quite a few JavaScript errors that need to be addressed that are unrelated to TB Testimonials which would cause it to stop working as it should. If you have any other questions, please feel free to open a new thread.

Thanks,Travis Ballard

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘TB Testimonials – help please’ is closed to new replies.