WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Sitewide Tags Pages
[resolved] Thumbnails Only Work on Latest Blog Posts Mode, Not on Static Page Mode (6 posts)

  1. franciscogarciapr
    Member
    Posted 12 months ago #

    I installed WordPress MU Sitewide Tags Pages and it's doing a great job pulling the posts from the subsites to the main site. The problem is that the thumbnails are not showing up. Instead the default thumbnail image is shown.

    However, if I go to my theme settings and go to customize the front page to show the latest posts instead of the static front page they show up...

    On the front page I have a static page that pulls content from all the subsites. I would like to have this static page instead of the latest posts mode. But thumbnails are not showing in this mode. Anybody HELP!

    I have tried changing:
    <?php has_post_image('thumbnail_html'); ?>

    to

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

    I have tried adding this code to different files like
    index.php, page.php, single.php and style.css without any luck!

    Any idea why is it only working on latest posts mode? What can I do to get it working??

    http://wordpress.org/extend/plugins/wordpress-mu-sitewide-tags/

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 12 months ago #

  3. franciscogarciapr
    Member
    Posted 12 months ago #

    Thanks for the quick response, but I already saw that post and it was not helpful..
    Where im I supposed to add that code? On what file? Style.css? Index.php? Page.php?
    Like I said, I tried them all without any luck.

    I really want to use this plugin, I just need to get it working... Again, please help, and please bear with me as I have some experience but im no php wizard...

  4. franciscogarciapr
    Member
    Posted 12 months ago #

    Please note that it did work if my homepage is set to show latest post, it's just not working if i choose a static page as my homepage...

  5. franciscogarciapr
    Member
    Posted 11 months ago #

    Ok.. Got it to work! I will explain for the benefit of other users having the same issue.

    The reason why my thumbnails were showing on latest post mode and not on a static front page was because I edited the index.php and got it to work, but when I used a static page, I was really using a plugin called recent posts widget extended to show the recent posts embeded on the page...

    Well, like I said, I edited index.php and change the:

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

    to

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

    But I didn't do this change on the recent post widget extended plugin.

    So to get it working I went into the plugins php file and did the same change to the thumbnail tag, and that did the trick!

  6. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 11 months ago #

    Glad you got it working :)

    Where im I supposed to add that code?

    That varies by theme which is why the tutorial I wrote & linked to above is not more specific.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.