eft0
Forum Replies Created
Viewing 7 replies - 1 through 7 (of 7 total)
-
Forum: Hacks
In reply to: subcategory posts paginationnovakpeter: I solve it creating a subpage with the subcategory name, and putting the code on it 🙁
Forum: Hacks
In reply to: subcategory posts paginationHere is the code:
<?php $current_category = single_cat_title("", false); $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("category_name=". $current_category ."&posts_per_page=3&paged=". $paged); ?> <?php $i = 1; if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <div class="contenidos730"> <?php if ($i==1): ?><h3><?php echo $current_category ?></h3><?php endif; ?> <div class="caja730"> <h1><?php the_title(); ?></h1> <?php the_content(); ?> </div> <div class="shad730"><img src="<?php bloginfo('template_directory') ?>/img/caja730_shadow.png"></div> </div> <?php $i++; endwhile; endif; ?> <?php wp_paginate(); ?>Forum: Fixing WordPress
In reply to: Website Not Workingin wp-config.php change the
define(‘WP_DEBUG’, false);
to true, then watch again your page and copy the error here to see what’s happen.
Forum: Fixing WordPress
In reply to: Missing a temporary folderThat error is thrown by PHP and likely you will need to contact your host to have them specify a temporary directory (e.g. upload_tmp_dir in php.ini)
Forum: Fixing WordPress
In reply to: Change font for one pageyou must edit and change the CSS stylesheet
Forum: Plugins
In reply to: Show posts pertaining to a single category – on only that category page?Using query_post() ?
query_posts(‘category_name=Cupcake’);
Then just the loop.
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] – single image commentsYou can add a single image in a post or page:
ex: [singlepic=id,width,height,mode,float]
And the comments are provided from WP.
Viewing 7 replies - 1 through 7 (of 7 total)