Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #872276
    Righteye
    Participant

    Hey guys, great theme thanks.

    Post URL: http://brandtales.com.au/using-humour-in-content-marketing/

    For some reason I can’t figure out, the Alternate Index Title won’t work on one post. The others are fine.

    Thanks in advance.

    #872855
    Zeshan
    Member

    Hi there @Righteye,

    Thanks for writing in!

    Would you mind providing us with your WordPress admin login credentials so that we can take a closer look to the issue? Don’t forget to select Set as private reply to ensure your data remains hidden from other users.

    Thank you!

    #874790
    Righteye
    Participant
    This reply has been marked as private.
    #875236
    Rupok
    Member

    Hi there,

    Thanks for the credentials. It seems you are using SEO by YOAST to manage this – http://prntscr.com/aqidob

    You can control this from the Snippet editor of the SEO plugin.

    Hope this makes sense.

    Cheers!

    #1007027
    Righteye
    Participant

    Hey X-ers.

    No, this doesn’t make sense, sorry. I have now completed another issue of the online magazine and it’s the same problem.

    Changing the Yoast snippet doesn’t correct the issue of the Alternate Index Title not functioning on the first Post Carousel Display.

    Can you please take another look and explain why this would happen only to the first Post Carousel Display?

    Here’s the post: http://brandtales.com.au/wp-admin/post.php?post=252&action=edit

    Many thanks for your assistance.

    #1007032
    Righteye
    Participant

    FYI: The Alternative Index Title displays correctly on any Archive such as a category display: http://brandtales.com.au/category/book-review/

    Thanks again.

    #1007181
    Paul R
    Moderator

    Hi,

    To fix it, you can ad this in your child theme’s functions.php file.

    
    function x_ethos_entry_cover( $location ) {
    
        if ( $location == 'main-content' ) { ?>
    
          <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 x_the_alternate_title(); ?></span></h2>
            </a>
          </article>
    
        <?php } elseif ( $location == 'post-carousel' ) { ?>
    
          <?php GLOBAL $post_carousel_entry_id; ?>
    
          <article <?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  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 }
    
      }
    

    Hope that helps.

    #1015773
    Righteye
    Participant

    Thank you, that fixed it!

    #1015872
    Nico
    Moderator

    Happy to hear that.

    Feel free to ask us again.

    Thanks.

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