Forums

Callout excerpt or other content within post? (7 posts)

  1. sbiehle
    Member
    Posted 11 months ago #

    If I am laying out an article for print, say in InDesign, I can create little content boxes that may reference an excerpt of the article or showcase a list of tips that go with the article. I lay out the body content to wrap around this other "side content" much the same way content would wrap around an image.

    Basically something like this, where it says "Cardinal Avery Dulles, center, with Pope John Paul II at the Vatican in 2001," minus the image.

    How do I float an excerpt or other content to call it out from the body of the post or the page? Is there a plugin or custom field I can use?

  2. buddha trance
    Member
    Posted 11 months ago #

    Did you try posting using the html tab, not visual, and then set a div with a class to float left in your style.css?

    in your post/page
    <div class="contentbox">your content here</div>

    in your style sheet

    div.contentbox{
    float: left;
    display: inline;
    border: 1px solid black;
    padding: 5px;
    }

    something like that.

  3. sbiehle
    Member
    Posted 11 months ago #

    I know I can set up a CSS class for this - in fact I've done it with alert boxes before, such as

    .alert {
    	background: #FFCCCC url('/wp-content/theme/images/exclamation.png') no-repeat 15px !important;
    	font-size: large !important;
    	font-weight: bold !important;
    	font-variant: small-caps !important;
    	}

    but the person entering content for this site isn't very technically inclined and I wondered if there was a plugin that made it a little easier/wysiwyg.

  4. buddha trance
    Member
    Posted 11 months ago #

    sbiehle,

    This post explains a similar method, I've been looking for plugins, no luck so far.

    Wait! I just found this tutorial, and you can add a Quicktag button to your text editor. Look at the bottom of the page for this. This should make it really easy.

  5. sbiehle
    Member
    Posted 11 months ago #

    Thanks for sending. I know that I've seen a plugin recently somewhere, I just can't rack my feeble brain to find it.

  6. sbiehle
    Member
    Posted 11 months ago #

    Found it! (I think) Javascript Pullquotes. There's also the Fancy Pullquotes Plugin.

  7. dglambert
    Member
    Posted 3 weeks ago #

    FYI, I'm working on a plugin to do something like this. See http://wordpress.org/extend/plugins/insert-callout/

Reply

You must log in to post.

About this Topic