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

    (@guido07111975)

    Hi,

    It should be: taxonomy="post_tag"

    So your shortcode will be:

    
    [knowledgebase-two taxonomy="post_tag" include"54,57"]
    

    Or if you want to display all tags with all its posts:

    
    [knowledgebase-two taxonomy="post_tag"]
    

    Guido

    Thread Starter Cheng(Alex) Peng

    (@chengpeng)

    Hi Guido,

    Thank you for your quick reply!
    I really appreciated it.

    Cheers,
    Alex

    Thread Starter Cheng(Alex) Peng

    (@chengpeng)

    Hi Guido,

    Sorry to bother you again as I am not good at css.
    Could you tell how to arrange the category title at the center and read more button to right. Photos are at https://www.xybabyshop.com/wp-content/uploads/2019/06/1.png

    In terms of the post title length, could we have a way to limit the length of the post title and show the dot symbol(…) if they exceed the limit.

    Examples are shown like that.
    I have a way to make a lot of money and achieve happiness in my life.
    I have a way to make a lot of money…

    Plugin Author Guido

    (@guido07111975)

    Hi,

    You can add this at the custom CSS page of the Customizer:

    
    .vskb-cat-name {text-align:center;}
    .vskb-all-link {text-align:right;}
    

    There’s no easy way to cut off the post title, after a certain number of characters.

    Guido

    Thread Starter Cheng(Alex) Peng

    (@chengpeng)

    Thank you again!

    Plugin Author Guido

    (@guido07111975)

    You’re welcome!

    Guido

    Thread Starter Cheng(Alex) Peng

    (@chengpeng)

    Hi Guido,

    Sorry to bother you again!
    I followed your css .vskb-all-link {text-align:right;}, I found that it did work on my page. Could me give me some help?

    Also, could you tell me how to change the displaying order of the tag or categories? For example, I like to display the tag1 before tag2 or put some categories before other categories?
    The related photo is attached at this link https://www.xybabyshop.com/very-simple-knowledge-base/

    Thread Starter Cheng(Alex) Peng

    (@chengpeng)

    Sorry! I have another question on the layout of these categories.
    How can I set the distance between a row of categories(the container of these posts) or distance between each category.

    The related photo is attached at this link https://www.xybabyshop.com/very-simple-knowledge-base_2/

    Thread Starter Cheng(Alex) Peng

    (@chengpeng)

    @guido07111975

    Hi Guido, may you give me some help?

    Plugin Author Guido

    (@guido07111975)

    Hi,

    Sorry, did not notice your previous reply.

    You cannot display the tags in a custom order, unfortunately. The tags / categories order is ascending (A-Z).

    I will look further into this, maybe there’s a simple way to add a feature so the cats / categories are listed similar to the order in your dashboard. The default order in your dashboard is ascending (A-Z). But there are plugins available that add a drag/drop interface so you can set your own custom tags / categories order in dashboard. So it would be nice if the frontend of your dashboard uses that order too.

    To get more space between each category try this:

    
    #vskb-one .vskb-cat-list, #vskb-two .vskb-cat-list, #vskb-three .vskb-cat-list, #vskb-four .vskb-cat-list {margin-bottom:40px}
    

    Guido

    • This reply was modified 5 years, 8 months ago by Guido. Reason: updated reply
    Thread Starter Cheng(Alex) Peng

    (@chengpeng)

    @guido07111975 No worries! Thank you for your help!
    In terms of css .vskb-all-link {text-align:right;}, I found that it did work on my page. Could me look into it? The related photo is attached at this link https://www.xybabyshop.com/very-simple-knowledge-base/

    Thread Starter Cheng(Alex) Peng

    (@chengpeng)

    Hi Guido, After I used the

    code #vskb-one .vskb-cat-list, #vskb-two .vskb-cat-list, #vskb-three .vskb-cat-list, #vskb-four .vskb-cat-list {margin-bottom:40px}

    , the space between each row of categories is different. The space or margin between the first row of categories and second row of categories is different to the space between the second row of categories and third row of categories. The code works well on some categories but not all of them. The associated web link is https://www.xybabyshop.com/miffy_diapers_college/

    Plugin Author Guido

    (@guido07111975)

    Hi,

    Other CSS of my plugin is overriding the margin of certain columns.
    Try to add the !important declaration:

    
    #vskb-one .vskb-cat-list, #vskb-two .vskb-cat-list, #vskb-three .vskb-cat-list, #vskb-four .vskb-cat-list {margin-bottom:40px !important;}
    

    Same applies to the text align of the View All link:

    
    .vskb-all-link {text-align:right !important;}
    

    Guido

    Thread Starter Cheng(Alex) Peng

    (@chengpeng)

    Hi Guido,
    Thank you again! I really appreciated your help, and I also love your plugin very much, so I am trying to translate it into Chinese and hope it can be used by many people in the future.

    Plugin Author Guido

    (@guido07111975)

    You’re welcome!

    Thanks in advance for the Chinese translation.

    Guido

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Display posts by tag’ is closed to new replies.