Add photo credit to author byline

General questions pertaining to how certain issues can be resolved
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

Add photo credit to author byline

Postby paulspen » 10 Mar 2012, 14:47

Hi there:

I'm using the photodropper plugin to integrate creative commons images into my blog. The plugin also grabs the photographers attribution information, and will allow me to put it anywhere on the page. The line of code is:

Code: Select all
<?php if ( function_exists('photodropper_attribution') ) { photodropper_attribution(); } ?>


I would like this to appear to the right of the "posted by XXX at XXX pm" below each post (the author byline)

In which php file should I place this line of code, and where should I place it in the file? (I'll use a child theme to make it upgrade proof)

Many thanks!

p.
paulspen
 
Posts: 6
Joined: 16 Feb 2012, 12:13

Re: Add photo credit to author byline

Postby Colin » 11 Mar 2012, 00:41

I'll leave Sayontan to answer the which file to add it to.

One thing to consider is to try an ad-hoc widget area with a php widget in it . This could be placed below the image and above the posted by so that the photographers attribution is right by the image.This widget area could be styled as appropriate with custom CSS if necessary. (Just a thought)
Colin
 
Posts: 2793
Joined: 27 Oct 2009, 10:46

Re: Add photo credit to author byline

Postby paulspen » 13 Mar 2012, 08:02

Thanks, Colin, I'll give that a try.

p.
paulspen
 
Posts: 6
Joined: 16 Feb 2012, 12:13


Return to Support Requests

Who is online

Users browsing this forum: Google [Bot], hasguliKZA and 1 guest