[Resolved] Sections with blog post of a category

Home Forums Support [Resolved] Sections with blog post of a category

Home Forums Support Sections with blog post of a category

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1035891
    domedele

    Hi,
    I want to add a section (like three columns) with the last blog post filtered with a category)
    Can I do it?

    #1036175
    David
    Staff
    Customer Support

    Hi there,

    you would need to use a plugin.
    Will the user be able to select which category to display?

    #1036362
    domedele

    No. Is a clouse of webmaster.
    Thank you

    #1036364
    David
    Staff
    Customer Support

    You can use the WP Show Posts plugin:

    https://wpshowposts.com

    This will allow to create Post lists, and display them using shortcodes anywhere on the site.

    #1048523
    domedele

    how can insert the plugin in a section ?

    #1048659
    David
    Staff
    Customer Support

    You create your List in WP Show Posts – whilst editing the list you will find a shortcode in the righthand side metabox. Just add the shortcode to your section.

    #1050032
    domedele

    Thanks plugin works
    two problem
    a) in section I can’t view visual mode with the editor
    b) i want that the 3 box are alligned (read more at the same height)
    Thanks!

    #1050097
    David
    Staff
    Customer Support

    Hi there,

    1. Do you mean you can’t see the WPSP list in the Visual editor? If so then that is not possible, as Shortcodes do not render in the WP editor.

    2. Add this CSS to force columns to the same height:

    .wp-show-posts-columns .wp-show-posts-inner {
        display: flex;
        flex-direction: column;
    }
    
    .wp-show-posts-inner .wpsp-read-more {
        margin-top: auto;
    }
    #1050849
    domedele

    IT WORKS, GREAT!

    #1050855
    David
    Staff
    Customer Support

    You’re welcome

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.