• Resolved Essie

    (@de-webconnectie)


    Hi,

    How can I start the Post Details each on a new line? I’ve tried several things, like adding a empty line but that does something very odd: it creates columns….?

    This it the current template:

    %thumb%

    %title%

    %category%

    %date%

    And also: is it possible to have the categories be separated by comma’s?

    Thanks!

    • This topic was modified 6 years, 6 months ago by Essie.
    • This topic was modified 6 years, 6 months ago by Essie.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Daniel Floeter

    (@kometschuh)

    You can use one emty line between two elements.

    Do you have read our post here: https://tiptoppress.com/template-arrange-post-details/

    Use only a new line or a space in the Template: The next HTML element should be in the same line. It’s like a inline-element.

    Use one empty line between two elements in the Template: The next HTML element will be rendered in a new line. It’s like a block-element.

    About the separator you can use CSS :after and add a comma with a ‘content’ attribute:

    .cat-post-tax-category:not(:last-child):after {
        content: ",";
    }

    May we should also write a blog post about that separator topic … ? ??

    Thread Starter Essie

    (@de-webconnectie)

    Hi Daniel,

    Thanks for your fast response. Have you taken a look at my site? Yes, I’ve read the post. But like I said: the post details are now displayed in columns…not in new lines!

    Also, I’m trying to find out how to configure the shortcodes. I see no option added to the preview mode (yes, I’ve read the docs). How can I see the list of items to add to the shortcode?

    Oh, I’ve had all other plugins disabled as well, this is not a plugin conflict

    Plugin Author Daniel Floeter

    (@kometschuh)

    Can you disable this option: “Do not wrap thumbnail with overflowing text”.
    It seems there is a bug ;(
    (We will fix it but that will take till next week.)

    To edit the shortcode you should save as draft your post and than you have the customizer link at the top bar. Click to the customizer and edit the shortcode options with the customizer. That should work for draft posts.

    Plugin Author Daniel Floeter

    (@kometschuh)

    We fixed the option and will release the patch only with the next version (4.9).

    This version is very stable and you can try to download it at GitHub before we will release it at wordpress-org: https://github.com/tiptoppress/category-posts-widget/tree/4.9

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to start post details on new line?’ is closed to new replies.