Home Forums Plugin Support WP User Frontend Pro Only the featured image shows up at the post page

This topic is: not resolved

This topic contains 13 replies, has 4 voices, and was last updated by  Tareq Hasan 6 years ago.

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #4149

    csapoa
    Participant
    Post count: 11

    Dear Support,

    I have User Frontend Pro, but the User Frontend had the same bug before.

    A User creates a post > the post created successfully, and all data is there at the back end. When you click on the post, then only the featured image is showing up. This doesn't happen with all the posts, just with a few.

    Examples:
    Happened with this post:
    http://www.mypetpassedaway.com/darcy/

    Didn't happen with this post:
    http://www.mypetpassedaway.com/fanny/

    Thank you and kind regards,

    Adrian

    #4164

    Mahi
    Member
    Post count: 1555

    if both posts are same type then it sounds funny !

    Possible to allow me admin access for testing ? You can reply as private with login details.

    Thanks.

    #4165

    csapoa
    Participant
    Post count: 11

    Sure! Thanks. Let me know your email!

    Adrian

    #4166

    Mahi
    Member
    Post count: 1555

    support at wedevs.com

    #4179

    csapoa
    Participant
    Post count: 11

    I have sent the login details.

    #4188

    Mahi
    Member
    Post count: 1555

    You may forgot to add loin details . We only received your site url.

    #4249

    csapoa
    Participant
    Post count: 11

    Hi Mahi, I have sent you the test login information, did you receive it?

    Thanks,
    Adrian

    #4342

    Mahi
    Member
    Post count: 1555

    Hello Adrian,

    Sorry, we didn't receive it. Can you please resend ?

    #4356

    csapoa
    Participant
    Post count: 11
    This reply has been marked as private.
    #4545

    csapoa
    Participant
    Post count: 11
    This reply has been marked as private.
    #4554

    Tareq Hasan
    Keymaster
    Post count: 2831

    Do you know how to regenerate the problem?

    #4563

    paperweight
    Participant
    Post count: 122

    I use code the below in the single.php template to first display the featured image and then to display any other images attached to the same Post.

    <!-- this shows the featured image-->
     <?php 
     if ( has_post_thumbnail()) {
       $large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'large');
       echo '<a href="' . $large_image_url[0] . '" title="' . the_title_attribute('echo=0') . '" >';
       the_post_thumbnail('thumbnail');
       echo '</a>';
     }
     ?>
    
    <!-- this shows any other images-->
    <?php
    $images = get_post_meta( $post->ID, 'additional_images' );
    if ( $images ) {
        foreach ( $images as $attachment_id ) {
            $thumb = wp_get_attachment_image( $attachment_id, 'thumbnail' );
            $full_size = wp_get_attachment_url( $attachment_id );
     
            printf( '<a href="%s" title="' . the_title_attribute('echo=0') . '">%s</a>', $full_size, $thumb );
        }
    }
     ?>
    #4941

    csapoa
    Participant
    Post count: 11

    Hello,

    Any news with this issue?

    Thanks a lot!

    Adrian

    #4942

    Tareq Hasan
    Keymaster
    Post count: 2831

    I asked a question above, you didn't answer.

Viewing 14 posts - 1 through 14 (of 14 total)

The topic ‘Only the featured image shows up at the post page’ is closed to new replies.