Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • As far as I can tell any unattached image should work just upload a couple of media files and then check the plugin they should be there…

    Thread Starter blackest

    (@blackest)

    I’ve done a little digging the name bug seems to be in metadata.php

    specifically this section

    cho ‘<li class=””>’;
    echo ‘<span itemprop=”author” class=”author”>’;
    // check to see if the user has a url set in their meta data; if they have then use it as the rel=author link
    $user_url = get_the_author_meta(‘user_url’);
    if ( ! empty($user_url)) {
    echo ‘‘;
    printf(
    __(‘ created by %s’, ‘multiloquent’),
    get_the_author()
    );
    echo ‘
    ‘;
    } else {
    printf(
    __(‘ by %s’, ‘multiloquent’),
    the_author_posts_link()
    );
    }
    echo ‘</span>’;

    The if section seems to work with one user it says e.g by john
    the else section initially said blackestby but i added a space to the beginning of the string so now it says blackest by which is better but I’m no php expert and i would expect the %s to be replaced by blackest but it isn’t which is strange.

Viewing 2 replies - 1 through 2 (of 2 total)