scottybt
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Forcing a page link to redirect to custom link?Thanks. Allthough that didn’t tell me much. Where do I find that phrase? How do I proceed?
Scott
Forum: Fixing WordPress
In reply to: Making a page into a category?Anyone?
Forum: Fixing WordPress
In reply to: Making a page into a category?I followed the steps, but doesn’t seem to work? I made a post within the category personal, but it doesn’t show on the page.
This is the modified personal.php file:
<?php /* Template Name: personal */ ?> <?php /** * The template for displaying all pages. * * This is the template that displays all pages by default. * Please note that this is the WordPress construct of pages * and that other 'pages' on your WordPress site will use a * different template. * * @package WordPress * @subpackage Twenty_Ten * @since Twenty Ten 1.0 */ get_header(); ?> <div id="container"> <div id="content" role="main"> <?php // query posts to get only posts with personal category assigned query_posts('cat=5'); //example ID for category "personal" ?> <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if ( is_front_page() ) { ?> <h2 class="entry-title"><?php the_title(); ?></h2> <?php } else { ?> <h1 class="entry-title"><?php the_title(); ?></h1> <?php } ?> <div class="entry-content"> <?php the_content(); ?> <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?> <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?> </div><!-- .entry-content --> </div><!-- #post-## --> <?php comments_template( '', true ); ?> <?php endwhile; ?> </div><!-- #content --> </div><!-- #container --> <?php get_sidebar(); ?> <?php get_footer(); ?>Forum: Fixing WordPress
In reply to: Making a page into a category?Thanks. I found this plugin, but it seems to be outdated; http://ww.wp.xz.cn/extend/plugins/page2cat/
I’ve read the Page of Posts, but can’t say that I completely understand it. For me the language used is too difficult to understand, I’m norwegian and don’t unserstand all. If you could write it in an easier way what that modification does then that would be much appreciated!
If the above is not what I’m after.. would it be possible to code the page URL so that it just redirects to a category?
Scott