hero image

Slider images

Home Forums WordPress Themes Epilog Slider images

Forums WordPress Themes Epilog Slider images

PLEASE NOTE A RECENT CHANGE:
The forum is read-only. Please submit any support request here.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts

  • jromero37
    Member
    TT Client
    #73341

    My client want this theme, but she has around 450 posts without featured images.
    I used this to establish featured images:

    function auto_featured_image() {
    global $post;

    if (!has_post_thumbnail($post->ID)) {
        $attached_image = get_children( "post_parent=$post->ID&post_type=attachment&post_mime_type=image&numberposts=1" );
    
      if ($attached_image) {
              foreach ($attached_image as $attachment_id => $attachment) {
                   set_post_thumbnail($post->ID, $attachment_id);
              }
         }
    }
    

    }
    // Use it temporary to generate all featured images
    add_action(‘the_post’, ‘auto_featured_image’);
    // Used for new posts
    add_action(‘save_post’, ‘auto_featured_image’);
    add_action(‘draft_to_publish’, ‘auto_featured_image’);
    add_action(‘new_to_publish’, ‘auto_featured_image’);
    add_action(‘pending_to_publish’, ‘auto_featured_image’);
    add_action(‘future_to_publish’, ‘auto_featured_image’);

    Now my problem is that her images are all different sizes.

    I want to use the slider on the homepage but the images are all different sizes, so it looks really bad.
    Is there a way to make all of the featured images resize to the slider size automatically?
    Is there a code snippet that will automate this process?

    Or should I just manually edit all of her photos?

    Joe


    Anonymous
    Inactive
    Inactive
    #73353

    Hello Joe,

    Do you have your site hosted on a server? If the answer is yes, please send us the WordPress credentials. This problem could be easily fixed with help of custom CSS. If you don’t have your site hosted, wait till the next theme update, this bug will be removed.

    Best regards,
    Michael


    Anonymous
    Inactive
    Inactive
    #73902

    Hello Joe. I have tried to contact you about this support request but we haven’t heard back from you yet. Please let us know if we can be of further assistance. Thanks.


    jromero37
    Member
    TT Client
    #73919

    Thanks Michael for reaching out again.

    I will not need further assistance at this time. The issue was not resolved, however, I have moved to a different theme that better suits the needs of my client.
    You may close the ticket if needed

    Thank you

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

Slider images

Home Forums WordPress Themes Epilog Slider images

[i]
[i]
[i]
[i]