Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
If the asker does not get an answer then they have 10 days to request a refund.
$12
older post / newer post
http://trentfineartadvisory.com/tfaa-blog/page/3/
(this site was built using thematic)
This question has been answered.
karenmessing | 05/01/10 at 6:55pm
Edit
(5) Possible Answers Submitted...
See a chronological view of answers?
Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
-

Last edited:
05/01/10
7:07pmBuzu B says:The links are working. You can see that the url changes. The problem is when you are pulling the post.Can we see your php code?
- 05/01/10 7:22pm
karenmessing says:i a built a thematic child theme. this is my functions.php:
<?php
// remove thematic_access()
function remove_thematic_actions() {
remove_action('thematic_header','thematic_blogtitle',3);
}
add_action('init','remove_thematic_actions');
function tfaa_header(){
?>
<div id="logo">
<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
</div>
<?php
}
add_action('thematic_header','tfaa_header',4);
function get_custom_field($key, $echo = FALSE) {
global $post;
$custom_field = get_post_meta($post->ID, $key, true);
if ($echo == FALSE) return $custom_field;
echo $custom_field;
}
function add_my_query()
{
if (is_page_template('blog.php'))
{
query_posts("cat=1");
}
}
add_action('thematic_above_indexloop', 'add_my_query');
function childtheme_content($content) {
if (is_category()) {
$content= 'full';}
return $content;
}
add_filter('thematic_content', 'childtheme_content');
then the blog.php page (the tfaa blog page is set to this page template)
<?php
/**
* @package WordPress
* @subpackage Default_Theme
*/
/*
Template Name: Blog
*/
?>
<?php
include TEMPLATEPATH . "/index.php";
?> - 05/01/10 7:24pm
karenmessing says:one last thing i should mention. i changed the my reading settings to 1 post per page in the wordpress backend.
- 05/01/10 7:43pm
Buzu B says:It looks like it's easy to solve. Do you mind sending me you child theme? I'll PM you my email address.
- 05/01/10 7:44pm
karenmessing says:sure.
- 05/01/10 8:37pm
Buzu B says:I'm trying to reproduce the error on my local server, but I can't it seems to work just fine. I have set my reading settings to show 1 post per page. I set the front page as a single page and selected a page to show the posts. I'm using blog.php as the template for the posts page. When I press older or newer it shows the right post. Did you modify thematic?
- 05/01/10 7:22pm
-

Last edited:
05/01/10
7:26pmThomas Maier says:I suppose the PHP code, which should display the post, lost it’s personal ID. Compare the original Wordpress standard theme (index.php) with your one.
-

Last edited:
05/02/10
12:43amRok Don says:Use
query_posts('posts_per_page=1&cat=1');
instead of
query_posts("cat=1");- 05/02/10 10:38am
karenmessing says:i tried this and it did not work. clicking on older posts takes you to the same post...
- 05/02/10 10:38am
-

Last edited:
05/02/10
6:21pmErez S says:Replace:
query_posts("cat=1");
with:
query_posts("cat=1&pages=".((get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1));
Enjoy- 05/02/10 10:35am
karenmessing says:this did not work.
- 05/02/10 11:26am
Erez S says:My bad,this is the right line:
query_posts("cat=1&paged=".((get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1)); - 05/02/10 2:21pm
karenmessing says:this still doesnt work.
- 05/02/10 3:04pm
Erez S says:And this one:
query_posts("cat=1&posts_per_page=1&paged=".((get_query_var('paged')) ? get_query_var('paged') : 1));
? - 05/02/10 5:52pm
karenmessing says:that works. thanks
- 05/02/10 10:35am
-

Last edited:
05/02/10
11:22am
This question has expired.
Current status of this question: Completed
Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
If the asker does not get an answer then they have 10 days to request a refund.
