Support » Plugin: Cleverwise Daily Quotes » Help with the quote styling please

  • Hello could you please help me with the code to display the quotes in a particular way,
    Basically the lines that i want to show are:
    Date (my text) Example: January 1
    Quote Title (my text) Example: Vigilance
    Quote body (my text) Example: “We keep what we have only with vigilance…”
    Quote reference (my text) Example: Basic text p.54
    Quote Foot:(my text) Example: Just for today: I will be vigilant, doing everything necessary to guard my process.

    Thanks in advance!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Jeremy O’Connell


    The most efficient method would be to use the multipart quote system. I am not sure of the formatting you desire but will give you an example:

    Custom theme for quote section

    Now of course in the theme you could add colors, bold text, put extra text like ‘Date:’, add spacing, etc. It is all up to you.

    For the quote part:

    January 1{{DQP}}Vigilance{{DQP}}We keep what we have only with vigilance…{{DQP}}Basic text p.54{{DQP}}Just for today: I will be vigilant, doing everything necessary to guard my process.

    Hit enter/return and repeat for each day. Do keep mind not to hit enter/return until the next quote or the system will think it is the next day’s quote. If you want a return in the daily quote you’ll need to use and set a custom separator as mentioned in the plugin.

    Good luck!

    Thread Starter moranhector


    Thank you!!!!! your plugin is so great, i dont know jack about code (well just a little tiny bit to get by) but i could manage to make it work.

    Another quick question… how do i write the code and where do i insert to format each DPQ. for example
    DPQ1= Tahoma, Bold, size 18, color black, justify.
    DPQ2= Tahoma, regular, size 16, color black, justify.
    Thanks again.

    Plugin Author Jeremy O’Connell


    You are welcome. Thank you.

    There are multiple ways to approach this using inline CSS, an external CSS file, using HTML code, etc.

    The easiest so you do not have to edit your site’s CSS file(s) is to use inline CSS. Of course you may create a border with rounded corners (or not), padding, margins, etc. There are endless combinations.

    However here is an example:

    <div style="border: 1px solid #000000; padding: 10px; margin: 10px;">
    <div style="font-family: Tahoma, Arial; font-weight: bold; font-size: 18px; width: 100%;">{{DQP1}}</div>
    <div style="font-family: Tahoma, Arial; font-size: 16px; text-align: center; width: 100%;">{{DQP2}}</div>

    Of course edit and add the code to create the desire looked. Again there are endless combinations.

    Finally leaving an honest review of the plugin helps the community.

    Good luck.

    Thread Starter moranhector


    Hello Jeremy, another quick question, lets say i am in the USA and my WP site time zone settings is for new york city its december 28 here 1am, but in Korea the date is already december 29 1pm which daily quote will be displayed at that moment in Korea, the 28 or the 29?

    Plugin Author Jeremy O’Connell


    It is based on server time so 28.



    Yes, this question is an interesting one. Some time ago I had a similar query. Basically, as this plugin does not read the date/time off of the visitor’s computer, browser, whatever, this means that some people in some places will potentially be seeing the wrong quote for quotes that utilise specific days/dates (such as is on my own website). I currently have no other options, and so continue to use this plugin (which is otherwise an excellent plugin).

    I’d still like to see a means whereby it’s possible (an optional feature) there are arrows or something to the left and right of the quote that would allow the visitor to scroll back or forward between the daily quotes, thereby able to access to correct quote if the incorrect one for their day/time is displaying.

    Still, thanks for the great plugin.

    • This reply was modified 1 year, 2 months ago by stvace.
    Thread Starter moranhector


    It is a beautiful plugin, i have not donated yet, still working on many things of the website and still learning to use this particular plugin. It would be great if Jeremy could do a fix to display for the client date or arrows as you mention could be a decent option also.
    great work jeremy,thanks!

    Plugin Author Jeremy O’Connell


    Unfortunately it is not a straight forward process to get the visitor’s timezone. It is possible but rather clumsy as PHP is a server side language.

    I will look into the possibility of adding these features at a future date when I have time.

    Thank you for the kind words and enjoy the plugin!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Help with the quote styling please’ is closed to new replies.