Posts Tagged ‘Blog Posts’

WordPress Plugin to List Posts with Pingbacks and Trackbacks

screenshot 1 171x300 WordPress Plugin to List Posts with Pingbacks and Trackbacks imageThe plugin allows you to select the number of links to show, control how they are shown and include a link to the third party websites (with or without nofollow links) as a thank you for linking to your articles.

I wrote the plugin for my new theme and use it here on thisismyurl as part of the new magazine style format.

Download

Support forums are now online! If you have any questions, please visit http://forums.thisismyurl.com.

Easy Popular Posts Plugin for WordPress

While I was working on my new theme for thisismyurl.com I came across the need to publish a series of popular posts in the side bar and so I put together a simple plugin for WordPress. The tool works like most WordPress theme calls and features:

  • Customizable number of links returned
  • Customizable before and after to ensure you can display the results
  • The ability to echo or return results
  • Let’s you control how popular a post should be

To use the plugin, install it to your WordPress website and edit your theme files by placing the following code:

General results
Without passing any parameters, the plugin will return ten results or fewer depending on how many posts you have.

[source lang="php"]<?php popularPosts();?>[/source]

Specific number of results
If you would like to return a specific number of results as your maximum:

[source lang="php"]<?php popularPosts(‘count=10′);?>[/source]

Altering the before and after values
By default the plugin wraps your code in list item (

  • ) tags but you can specify how to format the results using the following code:
    [source lang="php"]<?php popularPosts(‘before=<p>&after=</p>’);?>[/source]

    Echo vs. Return
    Finally, if you’d like to copy the results into a variable you can return the results as follows:

    [source lang="php"]<?php popularPosts(‘echo=false’);?> [/source]

    Minimum Comments
    To ensure you only return truly popular articles, you can limit the returned posts to posts with a minimum number of comments

    [source lang="php"]<?php popularPosts(‘comments=10′);?> [/source]

    Download the plugin

    Support forums are now online! If you have any questions, please visit http://forums.thisismyurl.com.