Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1214391

    We’re using WPeMatico to pull blog posts in from another WordPress site. However, the featured images are not showing up on our end (http://mtgstaging.m-t-g.com/website/news/). Is there any custom css I can add to fix this? Thanks!

    Erin

    #1215483

    Hey ESWEENEY113,

    It seems that images are not loaded from another website, CSS cannot help here. How the posts are pulled?

    Best regards,
    Victoria

    #1215549

    The posts are being pulled from another WordPress blog using the plugin WPeMatico.

    #1215727

    Hi ESWEENEY113,

    I meant how does the plugin pull the posts? Maybe there is an error in the process that we do not know anything about.

    Best regards,
    Victoria

    #1215867

    It’s supposed to be pulling the articles in as a feed (https://www.electroverge.com/category/suppliers) which it IS doing. The only problem is the featured images from the articles (which are set to make the first image in a post the featured image) is the part that’s not working. It’s most likely an issue on the plugin’s end.I just wondered if this might have come up at some point and, if so, if there was a possible fix. Thanks!

    #1216321

    Hi,
    I took a look at the WPeMatico RSS Feed Fetcher plugin and I notice it says:

    FULL Content: Takes the item permalink and scratches its web page to find the full content. Set the featured image from meta tags of source web page, Open Graph or Twitter images. Also allows set up a configuration file for every domain pointing to what section of the web page must be obtained.

    So I wonder if your featured image is not targeted correctly or perhaps the site you are scraping is using a lazy load plugin.
    Try disabling all plugins and cashing on both sites except for the WPeMatico and ensure the Enfold Theme Options > Performance > Load jQuery in your footer is disabled and then test.

    Best regards,
    Mike

    #1308504

    I am using a standard wp feed, and the standard wp RSS widget but the featured images are not showing. I can see that the images are in the feed. Can you suggest?

    this page displays the feed: https://mentorhubapp.org/mentorhub-blog/

    THe images are in the feed. Here is the <img snippet of feed (https://www.evidencebasedmentoring.org/category/mentorhub/feed/) for the first article:

    I already added this to functions.php

    `function featuredtoRSS($content) {
    global $post;
    if ( has_post_thumbnail( $post->ID ) ){
    $content = ‘<div>’ . get_the_post_thumbnail( $post->ID, ‘medium’, array( ‘style’ => ‘margin-bottom: 15px;’ ) ) . ‘</div>’ . $content;
    }
    return $content;
    }
    add_filter(‘the_excerpt_rss’, ‘featuredtoRSS’);
    add_filter(‘the_content_feed’, ‘featuredtoRSS’);

    #1308582

    Hi,
    Thank you for your code snippet but it doesn’t work, I search Google and tested many versions on this function and none of them work in Enfold or in the current version of WordPress without Enfold, I recommend looking for a plugin to also show the rss featured images, there are quite a few to choose from.
    If you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Featured images not displaying’ is closed to new replies.