Support » Plugin: Bible Verse of the Day » Adding Content To The Shortcode

  • Resolved bward

    (@bward)


    We just went live with this today, looks good so far.

    Is it possible to add content to the shortcode?

    It would be nice to add quotes around the verse and/or add a dash between the verse text and the verse reference.

    Like this,

    Heaven and earth shall pass away, but my words shall not pass away.” –
    Matthew 24:35

    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author dailyverses

    (@dailyverses)

    This is by default not possible in the plugin… But I found a way to do this!

    You can add the following CSS to add the quotes and the dash:

    .dailyVerses.bibleText:before {
        content: '"';
    }
    
    .dailyVerses.bibleText:after {
        content: '" -';
    }
    • This reply was modified 6 months, 1 week ago by dailyverses.

    Thanks for the response. This does work, but it seems to add the dash after a page break.

    Like this,

    Whether therefore ye eat, or drink, or whatsoever ye do, do all to the glory of God.
    – 1 Corinthians 10:31

    Instead of

    Whether therefore ye eat, or drink, or whatsoever ye do, do all to the glory of God. – 1 Corinthians 10:31

    It must be the way the script is set up. I am still enjoying it though, much lighter on the site than what we used before.

    Thanks so much.

    Plugin Author dailyverses

    (@dailyverses)

    You could try adding the following CSS to remove the enter:

    .dailyVerses.bibleText {
        display: inline;
    }
    
    .dailyVerses.bibleVerse {
        display: inline;
    }

    That did it! Thanks so much and have a great day.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding Content To The Shortcode’ is closed to new replies.