
Mentito
Gamma
Verificación en dos pasos activada
Verificado por Whatsapp
Hola betas, eh estado viendo como eliminar el thumbnails que se generan al inicio de todos las publicaciones en una pequeña web, solucione lo de generar thumbnails por medio de urls externas, pero no puedo hacer nada para ocultar las imágenes destacadas, instale el plugin Hiden thumbs pero no funciona, probé algunos codigos pero se bajaron el function y en single. El theme que uso es el generatepress, pero solo tiene la opción de ocultar el thumbs en la web entera. Espero que me den una mano..:sorrow:
Este es el content single.php
if ( ! defined( 'ABSPATH' ) ) exit;
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> <?php generate_article_schema( 'CreativeWork' ); ?>>
<div class="inside-article">
<?php do_action( 'generate_before_content'); ?>
<header class="entry-header">
<?php do_action( 'generate_before_entry_title'); ?>
<?php if ( generate_show_title() ) : ?>
<?php the_title( '<h1 class="entry-title" itemprop="headline">', '</h1>' ); ?>
<?php endif; ?>
<?php do_action( 'generate_after_entry_title'); ?>
</header><!-- .entry-header -->
<?php do_action( 'generate_after_entry_header'); ?>
<div class="entry-content" itemprop="text">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'generatepress' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
<?php do_action( 'generate_after_entry_content' ); ?>
<?php do_action( 'generate_after_content' ); ?>
</div><!-- .inside-article -->
</article><!-- #post-## -->
Este el single.php
// No direct access, please
if ( ! defined( 'ABSPATH' ) ) exit;
get_header(); ?>
<div id="primary" <?php generate_content_class();?>>
<main id="main" <?php generate_main_class(); ?>>
<?php do_action('generate_before_main_content'); ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'single' ); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() ) : ?>
<div class="comments-area">
<?php comments_template(); ?>
</div>
<?php endif; ?>
<?php endwhile; // end of the loop. ?>
<?php do_action('generate_after_main_content'); ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php
do_action('generate_sidebars');
get_footer();
Este es el content single.php
if ( ! defined( 'ABSPATH' ) ) exit;
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> <?php generate_article_schema( 'CreativeWork' ); ?>>
<div class="inside-article">
<?php do_action( 'generate_before_content'); ?>
<header class="entry-header">
<?php do_action( 'generate_before_entry_title'); ?>
<?php if ( generate_show_title() ) : ?>
<?php the_title( '<h1 class="entry-title" itemprop="headline">', '</h1>' ); ?>
<?php endif; ?>
<?php do_action( 'generate_after_entry_title'); ?>
</header><!-- .entry-header -->
<?php do_action( 'generate_after_entry_header'); ?>
<div class="entry-content" itemprop="text">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'generatepress' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
<?php do_action( 'generate_after_entry_content' ); ?>
<?php do_action( 'generate_after_content' ); ?>
</div><!-- .inside-article -->
</article><!-- #post-## -->
Este el single.php
// No direct access, please
if ( ! defined( 'ABSPATH' ) ) exit;
get_header(); ?>
<div id="primary" <?php generate_content_class();?>>
<main id="main" <?php generate_main_class(); ?>>
<?php do_action('generate_before_main_content'); ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'single' ); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() ) : ?>
<div class="comments-area">
<?php comments_template(); ?>
</div>
<?php endif; ?>
<?php endwhile; // end of the loop. ?>
<?php do_action('generate_after_main_content'); ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php
do_action('generate_sidebars');
get_footer();
Última edición: