• Resolved shunya

    (@oshungha)


    Hi,

    Is there any way I can remove/hide excerpt and published date from the list of the posts loaded? FYI, I have purchased Layout add-on and using CTA (not sure if it affects the process though). Please let me know how to configure.

    Best,
    Shunya

Viewing 12 replies - 16 through 27 (of 27 total)
  • Thread Starter shunya

    (@oshungha)

    * the posts

    Thread Starter shunya

    (@oshungha)

    I appreciate your response in advance. Thank you ??

    Thread Starter shunya

    (@oshungha)

    To double check is this out of your support?

    Plugin Author Darren Cooney

    (@dcooney)

    Hi @oshungha,
    Did we not settle this one in another thread or through email support?

    I thought we did.

    Thread Starter shunya

    (@oshungha)

    We can opt for email support. How can I do this?

    Regarding what I asked a hand for, it’s not resolved yet as the posts this plugin loads and shows don’t fit into a designated space.

    Thank you.

    Plugin Author Darren Cooney

    (@dcooney)

    When you add the layout you can remove the excerpt and date. After that, click save template.

    I’m not sure what the other issue is I will need a link to the issue to be able to help more.

    Thread Starter shunya

    (@oshungha)

    Here you can see how it looks.

    https://yoso-walk.net/links/

    Plugin Author Darren Cooney

    (@dcooney)

    Ok, I see it. The issue is your theme styles interferring.
    If you switch ALM to use <div/> instead of <li/> it will fix the issue.

    Add container_type="div" to your shortcode and update your repeater template to use:

    <div class="alm-layout alm-cta">
    // your template code
    </div>

    Let me know how you make out.

    Thread Starter shunya

    (@oshungha)

    Nice, it seems very good. Though my code still shows “li” it works well… Can you have a final look and tell me if it’s good, or there is a potential issue?

    [Live page here]

    https://yoso-walk.net/links/

    [Code that I have now]

    <li class=”alm-layout alm-cta”>
    <?php if ( has_post_thumbnail() ) { ?>
    “><?php the_post_thumbnail(‘alm-cta’); ?>
    <?php }?>
    <div class=”details”>
    <h3>“><?php the_title(); ?></h3>
    </div>

    [Another thing I did]

    In the “Global settings” in “Setting”, I have chosen “<div> <!– Ajax Posts Here –> </div>”.

    • This reply was modified 8 years ago by shunya.
    Plugin Author Darren Cooney

    (@dcooney)

    It looks good.
    But change your template to be:

    <div class=”alm-layout alm-cta”>
       <?php if ( has_post_thumbnail() ) { ?>
    “><?php the_post_thumbnail(‘alm-cta’); ?>
    <?php }?>
      <div class=”details”>
         <h3>“><?php the_title(); ?></h3>
      </div>
    </div>
    Thread Starter shunya

    (@oshungha)

    Ok, thank you for your very patient help. I really appreciate it!

    Plugin Author Darren Cooney

    (@dcooney)

    You’re welcome!

Viewing 12 replies - 16 through 27 (of 27 total)
  • The topic ‘How can I remove the excerpt and published date?’ is closed to new replies.