Xhanch Studio Professional Web Development and Graphic Solutions

31Jan/1029

WP Plugin – My Quote

hostgator

My Quote is a free WordPress plugin made by Xhanch Studio to show a random quote with provided predefined quotes or your own collections. The collections of quotes are expandable for sure. We will keep adding more collections to the database.

With this plugin, you can provide useful and worthy knowledge, words and information to your visitor. Else, your website will be more dynamic and more keyword-rich since the content of every pages of your WordPress website will keep changing due to this plugin.

WP Plugin - My Quote - Preview

Installation Procedure

  1. Download and unzip the package.
  2. Upload/FTP the entire "my-quote" directory to your /wp-content/plugins/ directory on your blog
  3. Activate the plugin on the "Plugins" tab of the administration panel.
  4. Put "My Quote" widget to a sidebar.
  5. Open the widget options and put in your details

Widget Settings

Once this plugin installed, My Quote will be listed on your widgets so you can determine where to place it. The widget contain several settings

WP Plugin - My Quote - Widget Setting

Settings explanation:

  1. Title: optional, the title of the widget
  2. Display Credit: optional, give us a back link

How to Add My Own Quotes?

Hack #1

  • You can add your own quotes by using plugin editor.
  • From the left admin menus, choose "Plugins" -> "Editor".
  • select the plugin "My Quote" and click "Select" button.
  • From the plugin files listed on the right, quotes database files are ended with extension ".db.php"
  • Click any of those database files you want to modify (adding, modify or removing quotes)
  • Click "Update File" button as you finished editing

Hack #2

  • Create a file with extension ".db.php" on your local computer (for example: sample.db.php)
  • Fill the file with this default content
    <?php
    $db = array(
        'quote1',
        'quote2',
    );
    ?>
  • You can add more quotes by adding lines to the middle part so it will look like this
    <?php
    $db = array(
        'quote1',
        'quote2',
        'quote3 new quote',
        'quote4 new quote',
    );
    ?>
  • Save the file
  • Upload it to your server into this directory "/wp-content/plugins/my-quote/db"
  • Done!

Download

Click here to download the latest version of Xhanch - My Quote

Click here to support our work. Thanks :)

Check these out too!

Comments
  • version – 1.1.5 is released
    * Quotes database updated (added quotes from John Mayer)

  • I have a small problem. I do not wish to use the database that comes with your installs. I have created and uploaded file somename.db.php and wish to use that only. I tried deleting the remaining files and the plugin stopped working. Is it allowed and how do I do it. Thank you

    • It is mostly caused by your DB file. Can you send your db file via email to admin@xhanch.com so I can take a look and fix it if necessary.

      • Hi Susanto,

        I uploaded the file you edited for me. Still it is not working. I tried it on my local install of wordpress on my notebook, it worked like a piece of cake. But not on the site. Any suggestion what I should be looking at?

        • I rechecked the file you send me and I found another issue which I think your server requires a stricter PHP commands.

          On the bottom line,

              )
          ?>

          it should be

              );
          ?>

  • version – 1.1.6 is released
    * All quotes are updated to make it more compatible to any web server

1 2
Leave a Comment