WordPress.org

Ready to get started?Download WordPress

Forums

two blockquote images? (5 posts)

  1. maorb
    Member
    Posted 4 years ago #

    Hi,

    I have a blockquote image that appears in the background and it's being used as an opening image of a blockquote.
    I want to have also another image at the bottom of the quote to "close" that quote.
    The problem is that I can't make one file with both images at the corners, since the quotes' sizes are different.
    Is that possible to call 2 different background images for tha quotes? One for the top and the other for the bottom?

    Thanks,
    M

  2. whooami
    Member
    Posted 4 years ago #

    you dont need to use them both as background images. if you look at how the sites that are doing that, do it -- they aren't either. I would show you a working example, but I no longer do that soo...

    http://css-tricks.com/examples/Blockquotes/

  3. maorb
    Member
    Posted 4 years ago #

    Well, that nice trick with the span, but how could I do that with WordPress? as when I add a blockquote in the editor it adds the

    tag, how could I enter the <span> at the end of it?
    Should I change it in the core wordpres files someehre to have this ending span?

  4. whooami
    Member
    Posted 4 years ago #

    what I did was edit the wp-includes/quicktags.js file so that when I added a blockquote, it automatically added all the nify stuff around it.

    edButtons[edButtons.length]=new edButton("ed_block","b-quote","\n\n<blockquote>","</blockquote>\n\n","q");

    -->

    edButtons[edButtons.length]=new edButton("ed_block","b-quote","\n\n<blockquote>","---stuff you want to happen at the end the blockquotes would go here--</blockquote>\n\n","q");

    it really depends on how you do it though.

  5. maorb
    Member
    Posted 4 years ago #

    Thanks for that. Anyway, I really prefer to find solutions that don't deal with changing WordPress core files, since all of them are being replaced on a version upgdate, and it's quite uncomfortable to re-replace all of those changed core files on every version upgrade.

    Isn't there around a solution that can be made without changing code in the wordpress core files?

Topic Closed

This topic has been closed to new replies.

About this Topic