• Resolved olivseo

    (@olivseo)


    PW to open the site: T@mpa2022

    I am in the process of building this new website, and I used PODs to create custom post type for obituaries. I created a custom template, and I am using the shortcode to view a list with 3 most recent obituaries. I have two questions:

    1. Is there a way to display the list in line? So I would like to show 3 posts in the row.
    2. What is the shortcode to add a link to specific post?

    Here is my template code:

    <div class="owl-item active" style="width: 245px; margin-right: 30px;">
    	<div class="card text-center ds ms" data-index="1">
    			<div class="item-media">
    
    				<a href="">{@post_thumbnail}</a>
    					
    			</div>
    			<div class="card-body">
    					<h5 class="card-title fs-20">{@post_title}</h5>
    					<p class="card-text">{@date_of_birth} -<br> {@date_of_death}</p>
    			</div>
    	</div>
    </div>

    And here is the shortcode I am using to insert the list on the page:
    [pods name=”obituary” orderby=”date” limit=”3″ template=”Home Obituaries”]

    Please let me know if you have any suggestions. Thanks in advance!

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

Viewing 1 replies (of 1 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @olivseo

    The first question is not really Pods related but more a general CSS related question.
    You could look at using the Bootstrap CSS library as a base for your theme.
    It could also be that your theme already contains grid CSS classes. Please ask them ??

    As for the link, please use the post permalink: {@permalink} within the href tag.

    Cheers, Jory

Viewing 1 replies (of 1 total)
  • The topic ‘Display List view in line’ is closed to new replies.