Show "Full Post Content on Index" for video posts

hi there,
i have “Full Post Content on Index” in x, icon turned on. but the text/description is not showing for video posts on the index page of the blog. how can i make the text show like on the individual post page?
even better just like 4 rows of text and then a “more” link.
thanks a million! kai

Hi There,

Please update your code to this:

<?php
// =============================================================================
// VIEWS/ICON/CONTENT-VIDEO.PHP
// -----------------------------------------------------------------------------
// Video post output for Icon.
// =============================================================================
?>
> 

<?php x_icon_comment_number(); ?> 

<?php x_get_view( 'icon', '_content', 'post-header' ); ?> 

<?php x_featured_video(); ?> 

<?php x_get_view( 'global', '_content', 'the-content' ); ?> 

Let us know how it goes!

dear thai! your code is identical with the one i posted to you. it does not show the text info below the video. pls see webseite in inline reply. thanks! kai

Hi There,

Please take a closer look at the code it’s different.

My code doesn’t have the IF condition.

<?php if ( is_single() ) : ?> 

hi thai!
thanks for pointing that out! sorry for overlooking.
but the reason why i overlooked this is, that the code is missing all the divs at least. even the one i posted only looks familiar to me if i open the secure note. but the moment i leave the edit window of the secure note the code is missing alls the divs.
so i really can’t figure out what to do or delete. i am not a php programmer.
deleting the php line with the if breaks the page.
could you please tell me what to delete or replace exactly? to show you the original code with divs i attach a screenshot. this is what i see when i edit the php file on the server via ftp.
thanks a lot! kai

Hi,

Please replace the entire code with this.

<?php

// =============================================================================
// VIEWS/ICON/CONTENT-VIDEO.PHP
// -----------------------------------------------------------------------------
// Video post output for Icon.
// =============================================================================

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  <div class="entry-wrap">
    <?php x_icon_comment_number(); ?>
    <div class="x-container max width">
      <?php x_get_view( 'icon', '_content', 'post-header' ); ?>
      
        <?php x_featured_video(); ?>
      
        <?php x_get_view( 'global', '_content', 'the-content' ); ?>

    </div>
  </div>
</article>

Hope that helps

hi paul, that worked perfectly :slight_smile: thanks so much! great support! best regards, kai

Hi there,

Glad that we could be of a help :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.