Horje
htaccess rewrite - Wordpress Solution
[Solved] - htaccess rewrite - Wordpress Solution
Try following codes
I wanna change the link http://anime-exceed.com/?genre=action to http://anime-exceed.com/genre/action using .htaccess fast solution please Hi Marvin If you're happy modifying the category.php file, try this (this is the one from the TwentyTen theme, but you'll get the idea:


<?php
/**
 * The template for displaying Category Archive pages.
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.0
 */

get_header(); 

?>

		<div id="container">
			<div id="content" role="main">

				<?php
				// Here's the mod
					$pageID = 0;

					switch(get_cat_name($cat)) {
						case "Dramatisc":
							$pageID = XXXXX; // replace with the id of the page
							break;
					}


					if($pageID >0) {
						$page = get_page($pageID);
						echo "<div>". $page->post_content . "</div>";
					}

				// End of  mod
				?>

				<h1 class="page-title"><?php
					printf( __( 'Category Archives: %s', 'twentyten' ), '<span>' . single_cat_title( '', false ) . '</span>' );
				?></h1>
				<?php
					$category_description = category_description();
					if ( ! empty( $category_description ) )
						echo '<div class="archive-meta">' . $category_description . '</div>';

				/* Run the loop for the category page to output the posts.
				 * If you want to overload this in a child theme then include a file
				 * called loop-category.php and that will be used instead.
				 */
				get_template_part( 'loop', 'category' );
				?>

			</div><!-- #content -->
		</div><!-- #container -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>


This is What I Want http://www.crunchyroll.com/coffee-prince Scroll Down to Cast Characters this is what I want. I'm Testing The Knowledge of php you Guys Have! I Have Bigger Things I Need. Will Be Paying 50-$200.
This is What I Want http://www.crunchyroll.com/coffee-prince
Sorry Marvin, I'm not clear about how that content exists in your WP install. Is each photo a separate page? john The Picture Will be Something Like Echo Post Thumbnail I Have Another Way, How About If I Made Sub Category In the Category of the Series and them their!? I Want The character Sub category to show the thumbnail but i dont want it to be listed with the others My English isnt good hope you get it ill make a screenshot Here the Screenshot

Solution - 1

Hi Marvin If you're happy modifying the category.php file, try this (this is the one from the TwentyTen theme, but you'll get the idea:



<?php
/**
 * The template for displaying Category Archive pages.
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.0
 */

get_header(); 

?>

		<div id="container">
			<div id="content" role="main">

				<?php
				// Here's the mod
					$pageID = 0;

					switch(get_cat_name($cat)) {
						case "Dramatisc":
							$pageID = XXXXX; // replace with the id of the page
							break;
					}


					if($pageID >0) {
						$page = get_page($pageID);
						echo "<div>". $page->post_content . "</div>";
					}

				// End of  mod
				?>

				<h1 class="page-title"><?php
					printf( __( 'Category Archives: %s', 'twentyten' ), '<span>' . single_cat_title( '', false ) . '</span>' );
				?></h1>
				<?php
					$category_description = category_description();
					if ( ! empty( $category_description ) )
						echo '<div class="archive-meta">' . $category_description . '</div>';

				/* Run the loop for the category page to output the posts.
				 * If you want to overload this in a child theme then include a file
				 * called loop-category.php and that will be used instead.
				 */
				get_template_part( 'loop', 'category' );
				?>

			</div><!-- #content -->
		</div><!-- #container -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>


Date: 2022-10-21 05:20:24
Category: Wordpress
More for You