WordPress.org

Forums

User Submitted Posts
[resolved] featured image is not immidiately available (5 posts)

  1. smu-mike
    Member
    Posted 10 months ago #

    Hello,

    user submitted posts works well, i use featured images, but the image is not available until i klick in the backend at posts.

    I use this code for getting the image:
    <?php the_post_thumbnail('thumbnail'); ?>

    Is there an option to make it immidiatlely available?

    https://wordpress.org/plugins/user-submitted-posts/

  2. Jeff Starr
    Member
    Plugin Author

    Posted 10 months ago #

    Normally it shows immediately, so it sounds like something may be interfering..

  3. smu-mike
    Member
    Posted 10 months ago #

    Thank you,

    i tried this on a new installed wordpress server(3.9.1), unfortunately its the same.

    But the featured image will be created
    - after clicking on posts in the backend,
    - or by clicking on archives in the sidebar,
    - or by clicking on the category in categories in the sidebar
    - or by loading the post directly by clicking on a link in the sidebar

    So i think I'm doing something wrong by reading the posts. Could it be that wordpress needs some kind of refresh after uploading?

    I'm reading the posts this way in page.php to get all post from one category:

    query_posts( 'category_name=pinnwand' );
    while (have_posts()) : the_post();?>
    ...
    the_content();
    ...
    the_post_thumbnail('thumbnail');
    ...
  4. Jeff Starr
    Member
    Plugin Author

    Posted 10 months ago #

    I'll look into this for the next update, so far I am not seeing this behavior on any of my test sites. It could be the theme perhaps, or some custom functions, that you can check.

  5. Jeff Starr
    Member
    Plugin Author

    Posted 6 months ago #

    Looked into this and featured images appear immediately as expected. Gonna go ahead and close this thread, but feel free to post again if any further clues or infos.

Reply

You must log in to post.

About this Plugin

  • User Submitted Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.