Title: Custom HTML Output
Last modified: August 21, 2016

---

# Custom HTML Output

 *  Resolved [jonathanappleseed](https://wordpress.org/support/users/jonathanappleseed/)
 * (@jonathanappleseed)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/custom-html-output/)
 * Hi Michael,
 * I’m trying to do something very similar to [GC](http://wordpress.org/support/topic/move-image-to-below-quote?replies=11).
 * I need to move the citation above the quote so that I can wrap both the image
   and the citation in a div and float them to the right.
 * I’ve tried to apply the [sample filter](https://gist.github.com/4333863) that
   you posted. But even if I just use the code right out of the box all of the output
   on the homepage disappears. It comes back the second I remove the filter.
 * What am I doing wrong?
 * [http://wordpress.org/plugins/testimonials-widget/](http://wordpress.org/plugins/testimonials-widget/)

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Contributor [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/custom-html-output/#post-4142822)
 * If the home page goes away, then there’s an error in the code someplace.
 * I’ve just downloaded the gist and ensure it compile fine.
 * Did you copy and paste the custom code without the `<?php` `?>` PHP tags into
   your theme’s `functions.php` file?
 *  Thread Starter [jonathanappleseed](https://wordpress.org/support/users/jonathanappleseed/)
 * (@jonathanappleseed)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/custom-html-output/#post-4142830)
 * Yes, I just tried it again, copying and pasting it (minus the php tags), and 
   everything vanishes.
 *  Plugin Contributor [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/custom-html-output/#post-4142874)
 * Please copy and paste into pastebin your functions.php file with the added code.
 *  Thread Starter [jonathanappleseed](https://wordpress.org/support/users/jonathanappleseed/)
 * (@jonathanappleseed)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/custom-html-output/#post-4142881)
 * Sure thing. And thank you! [Here](http://pastebin.com/vHTTY5Dv)
 *  Plugin Contributor [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/custom-html-output/#post-4142885)
 * I’m bummed, the file compiled in PHP just fine.
 * Can you chase down your error_log with the notices on why the home page goes 
   blank?
 *  Thread Starter [jonathanappleseed](https://wordpress.org/support/users/jonathanappleseed/)
 * (@jonathanappleseed)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/custom-html-output/#post-4142891)
 * Hmmm…
 * For some reason I wasn’t able to get a php error logging plugin to work.
 * However, when I turned on debugging mode I got this result on the homepage instead
   of the testimonials.
 *     ```
       Notice: Undefined index: hide_author in /home/ahovoyages/ahovoyages.com/wp-content/themes/ahovoyages/functions.php on line 85
   
       Notice: Undefined index: hide_author in /home/ahovoyages/ahovoyages.com/wp-content/themes/ahovoyages/functions.php on line 85
       ```
   
 *  Thread Starter [jonathanappleseed](https://wordpress.org/support/users/jonathanappleseed/)
 * (@jonathanappleseed)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/custom-html-output/#post-4142896)
 * Even stranger…
 * If I select “Hide Author/Source” in the settings menu then the only output I 
   get on the homepage are the names of the citation sources and nothing else.
 *  Plugin Contributor [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/custom-html-output/#post-4142898)
 * I’m a silly man, the CSS class names are pre 2.10.0 update. Please try the Gist
   again, [https://gist.github.com/michael-cannon/4333863](https://gist.github.com/michael-cannon/4333863).
 *  Thread Starter [jonathanappleseed](https://wordpress.org/support/users/jonathanappleseed/)
 * (@jonathanappleseed)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/custom-html-output/#post-4142900)
 * Works like a charm. Thank you!
 *  Plugin Contributor [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/custom-html-output/#post-4142901)
 * So good now?
 * If not, what specifically are you wanting to accomplish?
 *  Thread Starter [jonathanappleseed](https://wordpress.org/support/users/jonathanappleseed/)
 * (@jonathanappleseed)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/custom-html-output/#post-4142902)
 * No it’s all good. I can take care of the html now.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Custom HTML Output’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/testimonials-widget_c56561.svg)
 * [Testimonials Widget](https://wordpress.org/plugins/testimonials-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/testimonials-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/testimonials-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/testimonials-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/testimonials-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/testimonials-widget/reviews/)

## Tags

 * [custom html](https://wordpress.org/support/topic-tag/custom-html/)
 * [filter](https://wordpress.org/support/topic-tag/filter/)
 * [testimonial widget](https://wordpress.org/support/topic-tag/testimonial-widget/)

 * 11 replies
 * 2 participants
 * Last reply from: [jonathanappleseed](https://wordpress.org/support/users/jonathanappleseed/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/custom-html-output/#post-4142902)
 * Status: resolved