homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / WordPress
Forum Library, Charter, Moderators: lorax & rogerd

WordPress Forum

searching for a wordpress post credit plugin

 8:01 am on Sep 18, 2012 (gmt 0)

Please I am searching for a plugin I can use to source posts. Like after my posts,just below the share buttons. I want something that can display. Source: (origin site). That is the site I got the post from.

If u open any post. Below u will find source: and the lik to the original site. That's what I want.


[edited by: lorax at 10:31 am (utc) on Sep 18, 2012]
[edit reason] no example URLs please [/edit]



 10:33 am on Sep 18, 2012 (gmt 0)

I'm not aware of any plugins that can do this but it should be pretty easy to write the code into your theme to do this.


 10:40 am on Sep 18, 2012 (gmt 0)

Pls can u asist with the code that can do dis? Am not a programmer.



 10:41 pm on Sep 19, 2012 (gmt 0)

Wish I could help. Easy doesn't necessarily mean it won't take time to write the code. Maybe the developer of your theme has something already written up. Have you tried contacting them?


 11:15 pm on Sep 19, 2012 (gmt 0)

Take a look into some of the author tools in the wp plugin repository. If you setup a user profile for your authors, you can use WordPress hooks to call the data into an author type box under the posts.

Wordpress author codex [codex.wordpress.org]



 1:14 am on Oct 18, 2012 (gmt 0)

This sounds like a perfect use of Custom Fields, see the wordpress docs here: [codex.wordpress.org...]

You'd probably need to get a bit more into the code than just using the_meta() function as explained on that page, but you could do something like:

<div class='source'>
<span class='source-title'>Source: </span><span><?php echo get_post_meta(get_the_ID(), "Source", true)' ?></span>

This code would go at the bottom of the loop in your template code, see: [codex.wordpress.org...]

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / WordPress
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved