Hello There,
Thank you for the very detailed post information.
1.) You will have to add modify the condition so that full content will be displayed when the category is neuromidia
. The contents of _content.php should be like this:
<?php
// =============================================================================
// VIEWS/GLOBAL/_CONTENT.PHP
// -----------------------------------------------------------------------------
// Display of the_excerpt() or the_content() for various entries.
// =============================================================================
$stack = x_get_stack();
$is_full_post_content_blog = is_home() && x_get_option( 'x_blog_enable_full_post_content' ) == '1';
?>
<?php
if ( is_singular() || $is_full_post_content_blog || is_category('neuromidia') ) :
x_get_view( 'global', '_content', 'the-content' );
if ( $stack == 'renew' ) :
x_get_view( 'renew', '_content', 'post-footer' );
endif;
else :
x_get_view( 'global', '_content', 'the-excerpt' );
endif;
?>
2.) You will need to copy the file /pro/framework/views/global/_content-the-content.php
to /pro-child/framework/views/global/_content-the-content.php
and modify the code like this:
<?php
// =============================================================================
// VIEWS/GLOBAL/_CONTENT-THE-CONTENT.PHP
// -----------------------------------------------------------------------------
// Display of the_content() for various entries.
// =============================================================================
?>
<?php do_action( 'x_before_the_content_begin' ); ?>
<div class="entry-content content">
<?php do_action( 'x_after_the_content_begin' ); ?>
<?php the_content(); ?>
<?php if ( in_category('neuromidia') ) : ?>
<?php the_field( 'titulo_do_clipping' ); ?>
<?php the_field( 'data_publicacao' ); ?>
<?php the_field( 'nome_veiculo' ); ?>
<?php the_field( 'tipo_veiculo' ); ?>
<?php the_field( 'link_publicacao' ); ?>
<?php if ( get_field( 'upload_img' ) ) { ?>
<a href="<?php the_field( 'upload_img' ); ?>">Download File</a>
<?php } ?>
<?php endif; ?>
<?php x_link_pages(); ?>
<?php do_action( 'x_before_the_content_end' ); ?>
</div>
<?php do_action( 'x_after_the_content_end' ); ?>
Hope this helps. Please let us know how it goes.