Merhaba arkadaşlar. Ben ColorMag isimli temayı kullanıyorum. Tema ayarlarında yazı içinde ve anasayfada yazı kategorilerini kaldıracağım bir seçenek koymamışlar. Tema dosyalarından değişiklik yapmam gerekiyor. İncelemedim ama bulamadım. Single ve index dosyalarımı ekledim.

Single.php

<?php
/**
 * Theme Single Post Section for our theme.
 *
 * @package ColorMag
 *
 * @since   ColorMag 1.0.0
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

get_header();
?>

<div class="cm-row">
	<?php
	/**
	 * Hook: colormag_before_body_content.
	 */
	do_action( 'colormag_before_body_content' );
	?>

	<div id="cm-primary" class="cm-primary">
		<div class="cm-posts" class="clearfix">

			<?php
			/**
			 * Hook: colormag_before_single_post_page_loop.
			 */
			do_action( 'colormag_before_single_post_page_loop' );

			while ( have_posts() ) :
				the_post();

				get_template_part( 'template-parts/content', 'single' );
			endwhile;

			/**
			 * Hook: colormag_after_single_post_page_loop.
			 */
			do_action( 'colormag_after_single_post_page_loop' );
			?>
		</div><!-- .cm-posts -->
		<?php

		if (true === apply_filters('colormag_single_post_page_navigation_filter', true)) :
				get_template_part('navigation', 'single');
		endif;

		if (!class_exists('Auto_Load_Next_Post')) :

			/**
			 * Functions hooked into colormag_action_after_single_post_content action.
			 *
			 * @hooked colormag_author_bio - 10
			 * @hooked colormag_related_posts - 20
			 */
			do_action('colormag_action_after_single_post_content');

		endif;

		/**
		 * Hook: colormag_before_comments_template.
		 */
		do_action('colormag_before_comments_template');

		/**
		 * Functions hooked into colormag_action_after_inner_content action.
		 *
		 * @hooked colormag_render_comments - 10
		 */
		do_action('colormag_action_comments');

		/**
		 * Hook: colormag_after_comments_template.
		 */
		do_action('colormag_after_comments_template');
		?>
	</div><!-- #cm-primary -->

	<?php

	colormag_sidebar_select();
	?>
</div>

<?php
/**
 * Hook: colormag_after_body_content.
 */
do_action( 'colormag_after_body_content' );

get_footer();

 

index.php

 

<?php
/**
 * Theme Index Section for ColorMag theme.
 *
 * @package ColorMag
 *
 * @since   ColorMag 1.0.0
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

get_header();
?>
<div class="cm-row">
	<?php

	$grid_layout = 'layout-2';

	$style = 'cm-layout-2-style-1';

	$col = 'col-2';

	/**
	 * Hook: colormag_before_body_content.
	 */
	do_action( 'colormag_before_body_content' );
	?>

		<div id="cm-primary" class="cm-primary">

			<?php
			$pagination_enable = get_theme_mod( 'colormag_enable_pagination', 1 );
			$pagination_type   = get_theme_mod( 'colormag_pagination_type', 'default' );
			?>

			<div class="cm-posts <?php echo esc_attr( 'cm-' . $grid_layout . ' ' . $style  . ' ' . $col ); ?>" >
				<?php
				if ( have_posts() ) :

					/**
					 * Hook: colormag_before_index_page_loop.
					 */
					do_action( 'colormag_before_index_page_loop' );

					while ( have_posts() ) :
						the_post();

						/**
						 * Include the Post-Type-specific template for the content.
						 * If you want to override this in a child theme, then include a file
						 * called content-___.php (where ___ is the Post Type name) and that will be used instead.
						 */
						get_template_part( 'template-parts/content', '' );
					endwhile;

					/**
					 * Hook: colormag_after_index_page_loop.
					 */
					do_action( 'colormag_after_index_page_loop' );

				else :

					if ( true === apply_filters( 'colormag_index_page_no_results_filter', true ) ) :
						get_template_part( 'no-results', 'none' );
					endif;

				endif;
				?>
			</div><!-- .cm-posts -->

			<?php
			if ( 1 == $pagination_enable ) :
				colormag_pagination();
			endif;
			?>

		</div><!-- #cm-primary -->

	<?php

	colormag_sidebar_select();

	/**
	 * Hook: colormag_after_body_content.
	 */
	do_action( 'colormag_after_body_content' );
	?>
</div>

<?php
get_footer();