WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. smu-mike
    Member
    Posted 2 years 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 2 years ago #

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

  3. smu-mike
    Member
    Posted 2 years 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 2 years 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 1 year 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic

Tags

No tags yet.