• bricevp

    (@bricevp)


    I am using the plugin Sobek’posts in category.
    Unfortunatly, after having put the following code on my page :

      <?php sobeks_posts_in_category(6) ; ?>

    only one post appears instead of the list of posts composing the category n°6.

    Please, do you know why ?

Viewing 6 replies - 1 through 6 (of 6 total)
  • MichaelH

    (@michaelh)

    Please provide a link to download the plugin so volunteers might duplicate the problem.

    Thread Starter bricevp

    (@bricevp)

    MichaelH

    (@michaelh)

    Did a clean 2.3.1 install, installed/activated that plugin, created a new Category, wrote two posts and assigned that Category, put <ul><?php sobeks_posts_in_category(3) ; ?></ul> code in wp-content/themes/default/sidebar and it displayed the two posts.

    smoczokwik

    (@smoczokwik)

    There is one thing I noticed: being in a different country and having set another timezone in the blog settings the plugin may delay displaying the posts until the time where server time equals the time your blog assumes.

    It’s the server time versus blog time offset.
    If you change post date in the SQL query in line 76 from
    AND {$wp_tp}posts.post_date < NOW( ) to AND {$wp_tp}posts.post_date != '0000-00-00 00:00:00'.

    After that it should work fine.

    / Hami

    thanks for this! Solved my problem, too! This is a great plugin for making WP a CMS.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘probleme with Sobek’posts in category’ is closed to new replies.