• Resolved lameian

    (@lameian)


    i use the plugin WordPress MU Sitewide Tags Pages to pull posts from sub-blogs. text are fine however the feature images cannot be pulled. may anyone help me with this? thanks a lot.

Viewing 15 replies - 1 through 15 (of 26 total)
  • The featured image does not come through, because they aren’t copied to the main blog.

    You need to use the custom_fields feature on the SWT options page and and.. thumbnail_html (I think that’s it).

    Thread Starter lameian

    (@lameian)

    my theme use thiss to load the thumbnail:
    <?php the_post_image(‘thumbnail’); ?>

    how to integrate with custom field? instead of using the feature image function?
    thanks

    Try

    <?php the_post_image('thumbnail_html'); ?>

    and make sure you have the use thumbnail option checked in sitewide tags.

    Also, the post thumbnail support is in the development version. You can find the link for that under Other Versions

    Im having the same issue. It pulls the text from the posts just fine, but the thumbnails/featured images are not showing up. I am using the Arras theme if you needed to know that.

    You have to add a function to the theme to show the thumbnails that are pulled.

    I have just tried with several themes to get the thumbnails to work. The other ones dont even use featured images. I created custom fields, thumb, thumbnail, thumbnail_html. But have had no success. Any ideas?

    Did you look at the SWT settings page?

    Hi and thanks for the help,

    Yes I have looked at the settings under Super admin > Sitewide Tags. Include Post Thumbnails has been enabled but the thumbnails still are not showing.

    You need to edit your theme or use a theme that uses the WordPress thumbnail functions. See https://wpmututorials.com/plugins/post-thumbnails-for-sitewide-tags/

    So have been looking around for solutions and have not been able to find one that works. What I have found out is that the SWT plugin creates at custom field in the post called thumbnail_html. In that field it has the link to the featured image that was added in the sub blog. I guess my theme is then not able to use that custom field and set it as the featured image on the main site.

    Is there any way a custom field can be used to set a featured image?

    Did you read the post Ron linked to above? It explains how to do that.

    Hi,

    Yes i read the link that Ron posted above. I am still just learning php so i really don’t know where this <?php the_post_thumbnail(); ?> has to go. I tried several spots in the arras theme but cant seem to find a working location.

    Any ideas where i have to put it?

    Thanks.

    Here’s the codex page on the WP loop: https://codex.www.ads-software.com/The_Loop_in_Action

    You have to find something similar to that in your theme.

    I have read this multiple times, along with the help links here too. I am new to WP and PHP so I need a little help. I am using a WPZOOM theme (CadabraPress). I use the same theme for all blogs, including the main blog, so I assumed it would be seamless.

    Looking at the home file, it uses this code to pull the image:

    <em>[mod edit: please use pastebin for large code snippets]</em>

    Can someone give me a detailed explanation how to fix the image issue?

    Thanks for the help.

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘[WordPress MU Sitewide Tags Pages] images cannot be pulled from sub-blogs’ is closed to new replies.