• Hi,
    I copied the code mentioned in the FAQs

    add_filter( 'the_content', 'ac_image_credits' );
    function ac_image_credits( $content ) {
        if ( is_singular( 'post' ) ) {
            $content .= '<p>[image-credits]</p>';
        }
        return $content;
    }

    into my functions.php and nothing happens.
    Sorry, but I am a complete WP-Newbie and I don’t now what to do. I want to get the credits of every picture on the page into the footer and this plugin seemed to be the best solution for me. But I cannot get it to run. Do I have to change anything besides the functions.php?

    Thanks in advance!

    https://ww.wp.xz.cn/plugins/image-credits/

Viewing 1 replies (of 1 total)
  • Thread Starter Otterfinger

    (@otterfinger)

    Ok, I got it to run. I simply did not see the credits because I was looking for them at the end of a post which is for me the footer of the page. But actually it really is at the end of the post, just below the last sentence.
    Is there any way to show the credits in the footer? I need to show the images credits on category pages too.

Viewing 1 replies (of 1 total)

The topic ‘Can't get plugin to run’ is closed to new replies.