Support » Plugin: Blogger Importer » Setting featured image by default

Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Author Workshopshed

    (@workshopshed)

    The beta version does do that, it uses the first image found in the page.

    http://core.trac.wordpress.org/attachment/ticket/4010/blogger-importer.zip

    Thread Starter Paul

    (@armstrong698)

    Thanks for that. I will give that a try.

    Thread Starter Paul

    (@armstrong698)

    Hi

    As described your plugin works almost perfectly. Saves the image to the media library and sets it as the featured image.

    However, in order to display it on my blog list which are brief excerpts and with optional image, I need to click ‘update’ on each post individually before they will appear.

    Do you have any ideas of a way I could get round this?

    Thread Starter Paul

    (@armstrong698)

    Also, on import, the plugin download posts, comments but then pauses and freezes completely when importing images, it only ever gets to 9 and then freezes.

    More than 9 images get imported though but it never reaches links or allows me to select the author.

    Your help would be hugely appreciated.

    Plugin Author Workshopshed

    (@workshopshed)

    Paul, I wonder if you are using a caching plugin? If so then that might be why you need to do the update?
    If you are then let me know and I’ll see if there is some way we can get the image import to tell the cache to update.

    There is a known issue with the image import that the status is not getting updated correctly, as you mention it is running through the posts to process the images. What kind of numbers of posts are you migrating?

    Thread Starter Paul

    (@armstrong698)

    105 posts
    32 comments
    9 images (stuck) – Action button displays ‘Continue’, however if you press this it just does the same thing
    0 links

    Plugins:
    Blogger Importer
    Contact Form builder
    LayerSlider WP
    Revolution Slider
    User Role Editor
    WooCommerce
    WooCommerce Menu Cart

    Plugin Author Workshopshed

    (@workshopshed)

    105 posts should process fairly quickly, however on mine it can take upto 30 minutes to get through 900 images on 300 posts.

    There’s nothing there that suggests caching. What theme do you have?

    Thread Starter Paul

    (@armstrong698)

    Its called magique from theme forest

    http://themes.cmsmasters.net/?theme=magique

    Do you think it could be something to do with the theme then?

    Plugin Author Workshopshed

    (@workshopshed)

    It might be or it could be a bug in the importer.
    Is it possible to test this with a different theme?

    Thread Starter Paul

    (@armstrong698)

    Ok so it appears I am totally lying…

    Although the plugin illustrates that it is importing 9 images and is half way done, it has actually imported almost 600 images which suggests there are possibly 1200 images in total.

    Even still I have left the computer on for 24 hours and it still stops at the same point.

    I have just deleted all posts, comments and images. I then downloaded and installed the twenty twelve theme but it still behaves in the same way.

    On re-import the plugin firstly downloaded 16 images, and then stopped. I restarted it and then it imported a total of 27 and then did the same again and totaled 52 images.

    Thread Starter Paul

    (@armstrong698)

    I will leave this on all day with the twenty twelve theme running and update you. Thanks for your help thus far!

    Plugin Author Workshopshed

    (@workshopshed)

    The half way of the status bar has processed approx 50 of the 100 posts rather than the number of images. I’m not sure I can do much about the performance as a lot of the time has to do with the downloading of the files but I do hope to fix the display issue.

    You could set the image size smaller if you want but obviously then you’d get smaller images.

    Thread Starter Paul

    (@armstrong698)

    Right so here is the update.

    I left it on all day and it stopped on its own accord a few times but I kept just pressing continue. It is now stuck and wont go any further than something like 95-98% (progress bar indication). I have all the images I need however.

    Have you any thoughts on why I need to update the page for the featured image to appear in the blog? This is the only major issue I have at the moment as I can make due with 95 of the images?

    Thanks

    Plugin Author Workshopshed

    (@workshopshed)

    It is puzzling, as setting the featured image is just a call to set_post_thumbnail as per this example

    The post is also updated with the new URL for the images with wp_update_post so I can’t see what’s the difference between what the importer is doing and what the save post is doing.

    It could be something specific to the theme, such as it’s setting up it’s own data when the post is saved. You might find toggling between the 2020 theme and magique will work.

    Perhaps searching the forums for the theme or posting something. I did have a look on their site but can’t access the forums because I’m not a paying member.

    Thread Starter Paul

    (@armstrong698)

    Well thanks for your help anyways buddy, I am sure I will get to the bottom of it.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Setting featured image by default’ is closed to new replies.