Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter flaquedeau

    (@flaquedeau)

    Hey silvoslaf
    good plug in quick support
    Thanks so much ??

    Thread Starter flaquedeau

    (@flaquedeau)

    Hello silvoslaf
    I’ve deleted the wp_random_posts function and it works fine ??
    Thanks a lot for your quick help ??

    PS : by the way I didn’t find the css to edit the font family/size of the “Related Posts Title” displayed
    Could you help ??

    Thread Starter flaquedeau

    (@flaquedeau)

    Hey Silvo
    You’re right I didn’t see a Fatal Error when installing the Plug in

    Fatal error: Cannot redeclare wp_random_posts() (previously declared in /home/users4/p/flaquedeau/www/wp-content/themes/sahifa/functions/theme-functions.php:908) in /home/users4/p/flaquedeau/www/wp-content/plugins/wordpress-23-related-posts-plugin/compatibility.php on line 48

    I suspect my Sahifa Theme because it includes a related post setting (I’ve turned off) in its dashboard !
    Probably a conflict between your plug in and the Sahifa related post setting “previously declared” in the function.php file
    I must investigate further ??

    Thread Starter flaquedeau

    (@flaquedeau)

    I’ve FOUND myself thanks your note on Query post ??
    In my .php blog page the code were wrong because of 2 query_posts:

    <?php query_posts('paged='.$paged.'&posts_per_page='. $cat_query); ?>
    <?php query_posts('cat=4'); ?>

    I’ve edited the code and delete the second query :

    <?php query_posts('paged='.$paged.'&posts_per_page='. '&cat=4'); ?>
    		<?php get_template_part( 'loop', 'category' );	?>

    Good Plug in
    Thanks

    Thread Starter flaquedeau

    (@flaquedeau)

    sorry just have a look at your FAQ about Query post…
    I think the issue is in it but where…??? same issue for these 3 pages

    The bloglist.php page (any categories of post) Query code is :

    <?php query_posts('paged='.$paged.'&posts_per_page='. $cat_query); ?>
    <?php get_template_part( 'loop', 'category' );	?>
    <?php if ($wp_query->max_num_pages > 1) tie_pagenavi(); ?>

    The bloglistexterieur.php (only category exterieur ID=7) Query code is :

    <?php query_posts('paged='.$paged.'&posts_per_page='. $cat_query); ?>
    <?php query_posts('cat=7'); ?>
    <?php get_template_part( 'loop', 'category' );	?>
    <?php if ($wp_query->max_num_pages > 1) tie_pagenavi(); ?>

    The bloglistinterieur.php (only category interieur ID=6) Query code is :

    <?php query_posts('paged='.$paged.'&posts_per_page='. $cat_query); ?>
    <?php query_posts('cat=6'); ?>
    <?php get_template_part( 'loop', 'category' );	?>
    <?php if ($wp_query->max_num_pages > 1) tie_pagenavi(); ?>

Viewing 5 replies - 1 through 5 (of 5 total)