Trish Ladd

Developer - Designer - Educator

  • Home
  • Portfolio
    • WordPress
    • HTML 5
    • Illustrations
  • Blog
    • Des/Dev Thoughts
    • My Thoughts
  • Contact
You are here: Home / Portfolio / WordPress / Simple Quotes Plugin

Simple Quotes Plugin

December 2, 2014

This plugin lets you use a widget to place a random quote or testimonial that you have created in your site.

This plugin creates a custom post type called ‘quote’ that allows you to create a set of quotes or testimonials. To create a quote once the plugin is installed, go to the dashboard and underneath posts you should find a post type called “Quotes”. Click Add New and fill out the fields there.

There is a title region for the quote, so you can have control over the URL of the quote, but the title will not be shown. The editor area works like a normal, but the auto p tag has been stripped so that your quotes will fit nicely inside a blockquote tag. If you want breaks or paragraphs inside, you can set these as you will. The quotes are set inside a blockquote tag with no additional CSS, so it uses your theme’s CSS automatically.

Below the editor you will find a post meta-data field: Quote Attribution. This is where you would put who said the quote or testimonial. The attribution sits inside a span tag with a class of “quote-attribution” so that you can style it separately from the blockquote if you desire. If this field is left blank it and the span tag will not show.

To place a randomly generated quote or testimonial on your site, take the widget and move it into a widget area. Set a title for the widget if you want, create some quotes and you are all set.

The quote post type has an archive called quotes, which will use your theme’s default archive page to display its content. This is for your convenience so that you can ensure there are no duplicates.Since there are no categories, if your theme displays a “filed under” the value will be blank.

Your quotes content will be excluded from searches so that your quotes do not interfere with the regular content of your site.

You can see this plugin in action directly below this content in the random quote section. You can download this plugin from GitHub.

Screenshots are also provided with this text.

← The Walden Project

About Me

I am a web developer, designer, and educator.

Currently, I teach Computer Science at Lincoln High School. Next year I am going to teach multimedia as well.

I really enjoy helping people out by passing on my knowledge, so much so I decided to become a teacher in our public schools. I cleared my CTE Credential and am qualified to teach in both Arts, Media and Entertainment (AME) and Information Communication Technologies (ICT).

I taught at Platt College, starting with Flash and ActionScript in 2013. In 2014 I taught JavaScript, PHP/MySQL, and Responsive Design as well. I also taught JavaScript I at UCSD Extension and have taught Introduction to Programming for the University of San Diego’s Accelerated Summer Academic Program for a number of years.

I am an advocate for women in STEM and the practice of Tai Chi for health and self-defense.

My other interests include Writing, Wicca, Art, Gaming, and Autism.

Random Quote:

The success of a site almost always hinges on its content. Content, as we are frequently reminded, is king. But if that’s the case, then navigation is the establishment that keeps him on the throne. - Aaron Gustafson

Copyright © 2025 · Trish's Outreach Pro on Genesis Framework · WordPress · Log in