Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #253352
    zoeleblanc
    Participant

    Hi X Themeco Staff,

    I followed the above, as well as your other post on placing the post-carousel above the footer. I’m having two issues:

    1. The featured pages are not showing up in the carousel. The post carousel works when set to most commented or random, but not featured. I’ve placed the custom field on pages but for some reason the pages are being pulled up in the source code when set to featured.

    2. I would like to change the x-post-carousel-meta to have a small text or excerpt about the page instead of meta info. I realize what I need to change is in the ethos.php, and I’ve copied the section below but I wasn’t sure what class to give and whether I should use get_the_content or some other function.

      <?php GLOBAL $post_carousel_entry_id; ?>
    
          <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
            <a class="entry-cover" href="<?php the_permalink(); ?>" style="<?php echo x_ethos_entry_cover_background_image_style(); ?>">
              <h2 class="h-entry-cover"><span><?php ( $post_carousel_entry_id == get_the_ID() ) ? the_title() : x_the_alternate_title(); ?></span></h2>
              <div class="x-post-carousel-meta">
                <span class="entry-cover-author"><?php echo get_the_author(); ?></span>
                <span class="entry-cover-categories"><?php echo x_ethos_post_categories(); ?></span>
                <span class="entry-cover-date"><?php echo get_the_date( 'F j, Y' ); ?></span>
              </div>
            </a>
          </article>
    
        <?php }
    
      }

    Thanks in advance for your help, and my website is http://www.zoeleblanc.com . I’ll post my private info after this post.
    Cheers,
    Zoe

    #253354
    zoeleblanc
    Participant
    This reply has been marked as private.
    #253466
    Rad
    Moderator

    Hi Zoe,

    Thanks for writing in.

    I’m not sure how you set it up, but it’s best if I can directly check it. Would you mind starting a new thread linking here with this following information?

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks!

    #254108
    zoeleblanc
    Participant

    Hi ThemeCo Staff,

    Just started a new thread here: https://theme.co/x/member/forums/topic/ethos-carousel-with-featured-pages-help/

    Thanks,
    Zoe

    #254186
    Nico
    Moderator

    Thank you for starting a new thread.

    When sharing a private message it would be best that you started a new thread.

    Thanks.

  • <script> jQuery(function($){ $("#no-reply-222220 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>