WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WordPress Loop] How to show the excerpts instead of the whole posts? (15 posts)

  1. bluebird2
    Member
    Posted 4 years ago #

    Excellent plugin!
    Two questions:
    1. How to show the excerpts instead of the whole posts?
    2. I tested the plugin. At the beginning it showed the entire posts and the images. I changed the setting to see how it changes. I could never go back to the way it was on default. The images do not show up any more. How should I set it up to get the images again.

    And two bug report:
    1. I set "post_status" to publish but it goes back to All after I save the setting.
    2. When it showed the images the first image was not re-sized.

    http://wordpress.org/extend/plugins/wordpress-loop/

  2. Ovidiu
    Member
    Posted 4 years ago #

    I can confirm that the first image is not being resized.

  3. Ptah Dunbar
    Member
    Posted 4 years ago #

    How to show the excerpts instead of the whole posts?

    Change the content_length param from -1 to 55 which stands for the word count.

    I tested the plugin. At the beginning it showed the entire posts and the images. I changed the setting to see how it changes. I could never go back to the way it was on default. The images do not show up any more. How should I set it up to get the images again.

    Check the enable post thumbnails feature and make sure you set the values in thumbnail_size_w/h. That should do the trick.

    And two bug report:

    I set "post_status" to publish but it goes back to All after I save the setting.

    Can you confirm this again? I just tried setting the post_status to publish and it didn't go back to 'all'.

    When it showed the images the first image was not re-sized.

    The post thumbnail feature only works with newly uploaded images. Have you tried re-uploading it the image? I just tried changing the thumbnail size and it worked for me.

  4. Ovidiu
    Member
    Posted 4 years ago #

    The post thumbnail feature only works with newly uploaded images. Have you tried re-uploading it the image? I just tried changing the thumbnail size and it worked for me.

    Not sure about this, but what I meant, was that I had the content length at -1 so the whole post was shown, and the first image inside the post was shown full size. I haven't used post thumbnails at all, neither in my posts nor in the configuration of this plugin...

  5. Ptah Dunbar
    Member
    Posted 4 years ago #

    Oh.. well the thumbnail sizes only apply to the post thumbnail feature not the images within the content. Try using the post thumbnail feature if you want to display one image next to the post.

  6. Ovidiu
    Member
    Posted 4 years ago #

    Ok, I understand but what happens if I chose to display the_content and at the beginning of the_content I have an image?

  7. bluebird2
    Member
    Posted 4 years ago #

    When I use the widget fresh it shows 10 posts (full text with not-resized image) even though the content_length parameter is set to -1.
    I change -1 to 30 and it shows the excerpt with 30 words, but does not show the thumbnail even if I set the widget to show the thumbnails and set the size for them.
    I set the posts_per_page to 3 but the widget keeps showing 10 posts. I change the content_length parameter to -1, and this time it only shows the titles.

    What do I do wrong?
    What I need is a list certain number of posts with their excerpts and thumbnails, and no mention of tags and categories.

  8. Ptah Dunbar
    Member
    Posted 4 years ago #

    Ok, I understand but what happens if I chose to display the_content and at the beginning of the_content I have an image?

    That still won't work. It needs to be a post thumbnail in order to show up at the thumbnail size.

    When I use the widget fresh it shows 10 posts (full text with not-resized image) even though the content_length parameter is set to -1.

    if the_content is set to -1, then the full post will show. that's expected behavior.

    The resize functionality only works with post thumbnails, not any images from within the post.

    I change -1 to 30 and it shows the excerpt with 30 words, but does not show the thumbnail even if I set the widget to show the thumbnails and set the size for them.

    You still have to set a post thumbnail for each post you want an image for. There's a new panel called post thumbnails when you go to write/edit a post. Upload a new image, and it will work.

    I set the posts_per_page to 3 but the widget keeps showing 10 posts. I change the content_length parameter to -1, and this time it only shows the titles.

    Not sure why that didn't work. Try deleting that widget, and drag and fresh new one over. If that doesn't work, try downloading the plugin again. The latest version is 0.4

  9. marcelopalmas
    Member
    Posted 4 years ago #

    when i updated plugin, widget page show me:
    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'wl_widgets_css' was given in /home/sibapane/public_html/wp-includes/plugin.php on line 339

    when deactive plugin, widget page works.

  10. Ptah Dunbar
    Member
    Posted 4 years ago #

    when i updated plugin, widget page show me:
    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'wl_widgets_css' was given in /home/sibapane/public_html/wp-includes/plugin.php on line 339

    when deactive plugin, widget page works.

    Is that still happening? Are you on the latest 0.4 version?

  11. bluebird2
    Member
    Posted 4 years ago #

    Yes, I have Version 0.4.
    I guess there should be a conflict with one of my plugins, or maybe it does not work with m current theme. I have to check this on another theme to see how it works.

  12. marcelopalmas
    Member
    Posted 4 years ago #

    Bluebird2, did you resolve the conflict? about error above? thanks.

  13. bluebird2
    Member
    Posted 4 years ago #

    Not yeat. I cannot do disable the plugins on the site I discussed. I have to do a new installation of WP and test this on a brand new "test" site to figure out what plugin does not work with WordPress Loop, or if the problem is caused by the theme.

  14. Ptah Dunbar
    Member
    Posted 4 years ago #

    Let me know when you've tested WordPress Loop on a fresh installation.

  15. Jose
    Member
    Posted 3 years ago #

    Wait wait wait. Can you please go over how to show the excerpts on the home page instead of the posts (and vice-versa)?

Topic Closed

This topic has been closed to new replies.

About this Topic