July 4th, 2009 | RSS Content Feed | RSS Comment Feed | 2,176,130 words posted since July 10, 1997 | Archives

Which person do you find to be the most trustworthy?

View Results

Loading ... Loading ...


 


 
  • Hi Hi Hi, this is really funny pictures. You pleas... »
  • The reason for posting it is because he has chosen... »
  • My apologies. Yes I did read your note however, th... »
  • Now who is running with the sheeple with his consp... »
  • Just as I suspected. You don't care about the trut... »

  • "My favorite war criminal"


    "Interesting Schtuff even if sometimes out to lunch."


    "You have a style of writing I just can't do."


    "You, of course, rawk."


    "What an awesome blog."


    "You're a nice filter."

    All original content is
    copyright © 1997-2009,
    Michael T. Barrett,
    The One And Only Slobokan.
    Serving The Schtuff Since 1997!
    All other material and brand or product names are copyright and/or registered trademarks of their respective holders.

    Creative Commons License
    This work is licensed under a Creative Commons License.


     

     

    Georgia Bloggers


     
    E-Mail sent to any slobokan.com address, or the feedback address listed at the top of the page, may be considered for publication unless the recipient is expressly notified otherwise.
    Posted on Apr 20th, 2006 @ 12:28 under Programming

    It’s been a while since I announced my first ‘Inline Pingback and Trackbacks’ plugin for Wordpress.

    John Stansbury emailed me with a revision he made, which allows you to place IPAT in the sidebar of single pages, rather than underneath each individual post on the main page.

    So, I am now announcing IPAT 1.0.1, which lets you do both, thanks to John.

    Once you download the plugin, simply unzip it, upload it to your plugin folder, activate it, and put the appropriate line of code (shown below) in your template.

    ————————————————–

    If you would like IPAT to show after each post on your main page, place the following line of code within the “loop”:

    <?php ipat(); ?>

    Make sure you place it in the loop where you would like the pingback and trackback links to appear.

    You can also customize the code:

    <?php ipat(’<br />’, 50, ‘<br />’); ?>

    The first <br /> tag represents what you would like shown before the entry.
    50 represents the maximum number of entries you would like shown.
    The second <br /> tag represents what you would like shown after the entry.

    ————————————————–

    If you would like IPAT to show in the sidebar of single pages, place the following line of code within the sidebar.php file:

    <?php ipat_side(); ?>

    Make sure you place it in the sidebar in the location where you want the pingback and trackback links to appear.

    Here is the example John included in the comments of the plugin:

    <?php if (is_single()) {; ?>
    <div class=”inline_trackbacks”><?php ipat(’<strong>Other site discussions:</strong><br />’, 50, ‘<br />’); ?></div>
    <?php } ?>

    He even made sure to define the div classes so you can customize the look for your sidebar

    .inline_trackbacks {
    color: #606060;
    font-size: 9px;
    line-height: 11px;
    }
    .inline_trackbacks_display {
    margin-bottom: -15px;
    }
    .inline_pingbacks_display {
    margin-bottom: -15px;
    }

    ————————————————–

    Again, use this plugin at your own risk.

    Sphere: Related Content

    Comments Off Print This Post
    No Comments

    RSS feed for comments on this post.

    Sorry, the comment form is closed at this time.




    Aria Interactive

    Buttercup 149

    Buttercup Mercantile


    Click the stars to read my reviews.


    James Scott Bell

    Polly D. Boyette

    Jessica Hatchigan

    Dee Henderson

    Ray Pritchard

    Jonathan Rogers

    Jonathan Rogers

    Timothy Smith

    Kevin T. Favero

    Samuel J. Alibrando

    Johannah Bluedorn

    Tim Bete

    Herbert & Jill Meyer

    Jerry B. Jenkins

    William O. Levi

    Magazine

    Randall K. Harp

    Nathaniel & Hans Bluedorn

    Kevin E. Schmiesing

    Terry C. Barber

    W. Dale Cramer

    Nancy Pearcey