Sticky problem

  • Adrianw

    #1042

    Just upgraded to 1.3 and I love the improvements.

    However I have a sticky post which is not being stuck to the front page any more.

    I have searched the source code for graphene 1.3 for “sticky” and there only hits are in changelog.txt, style.css and rtl.css.

    So I don’t know where else to look to try to figure out why sticky posts aren’t working.

    Any suggestions?

    Admin

    Syahir Hakim

    #14032

    Hurm..nothing changed with regard to sticky post in version 1.3. URL to the site?

    Adrianw

    #14033

    After some more trials, I found the following:

    With the Graphene option “Front page posts categories” at its default setting of Disabled, the sticky post displays as expected.

    If you override the default, (even if you select all possible categories), the sticky post is not promoted to the front page.

    If you follow the links to find the sticky post among older posts, the sticky post is not put on a coloured background as it normally should be.

    The website is http://compton.parish.hants.gov.uk/web/

    At present I have put the Front Page Posts Categories back to default so the sticky post is displayed correctly.

    Admin

    Syahir Hakim

    #14034

    OK, I think I’ve fixed this but I need you to test it. Can you go and replace the theme’s functions.php and index.php file with the updated ones here:

    http://code.google.com/p/graphene/source/browse/trunk/graphene/functions.php

    http://code.google.com/p/graphene/source/browse/trunk/graphene/index.php

    Adrianw

    #14035

    Many thanks for the speed response.

    I installed the new code on my live site which stopped working, so I backed it out quickly.

    It may be my fault.

    I’ll need to take a bit more care and put up a test site to try again.

    Will let you know how it goes.

    Adrianw

    #14036

    It was my fault.

    Now I’ve installed the new functions.php and index.php correctly, it seems to be working fine.

    Sticky posts are displayed first on the home page (as long as they are in a category selected for inclusion on the front page)

    Thank you.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.