Fortune theme designers: can you help me out?

  • Author
    Posts
  • #159629

    gctwnl
    Member

    I am using the Fortune theme for https://ea.rna.nl/. I am using a static home page because of the upper half, the header with CSS-trickery, buttons and all that. I don’t want to lose that part. Below, I have a grid that I fill with the latest posts.

    I have a single problem: I want to have the posts part honour the sticky settings on posts, so that a few posts remain on top. I might be able to do this using the block editor and use a posts block. But I am afraid to mess with my hard won home page which I created (including the CSS) a few years ago.

    Can you help me out in creating what I want while not destroying what I have?

    The blog I need help with is ea.rna.nl.

    The blog I need help with is ea.rna.nl.

    #159642

    tarasdashkevych
    Theme Author

    Hello,

    Could you please tell me more about your problem because I am not sure if I understand what you mean by “honour the sticky settings on posts” ?

    Do you want to keep some of your blog posts on the Front Page template without changing their order in the Recent Posts section?

    If yes, then I am afraid it’s not possible to do because the Recent Posts section is designed to display posts based on their posted date in reverse chronological order (newer posts first).

    If you want to create a static grid on your Front Page template then I would recommend to use the Featured Page section. To see it in action, please check “Our Services” section at https://fortunedemo.wordpress.com/

    To learn how to set up the Featured Page, please see “Featured Pages #1 and #2” at https://wordpress.com/theme/fortune/setup

    Please let me know if you have any additional questions.

    Kind regards,
    Taras

    #159649

    gctwnl
    Member

    So no chance for an update to Fortune in which the “Recent Blog” post honours the ‘sticky’ setting on blog posts? Or a way, I can influence it myself with some extra code?

    Anyway, I also have a ‘Favourites’ page (in my menu). And I just noticed that I lost the grid on that one. No idea when and how that happened (I guess wordpress upgrade and something with the new blocks editor) but it used to look like a grid like Recent Posts. Sigh. Now I first have to repair than one.

    #159650

    gctwnl
    Member

    Hmm. I was able to recreate a grid on my favourites page with the new block editor.

    I could use a feature page on the home page and use the same trick, but that would mean editing the home page every time I add a blog post.

    #159651

    gctwnl
    Member

    Actually, what I want is that my home page shows the most recent posts, but that the ones that have the Sticky flag set end up on top.

    Maybe I could create a category instead. So, a ‘sticky’ category for posts and have a section with a grid of sticky posts followed by a recent posts section. But that would mean a recent sticky post would appear in both.

    #159664

    tarasdashkevych
    Theme Author

    “… I also have a ‘Favourites’ page (in my menu). And I just noticed that I lost the grid on that one …”
    – Hmm… this is strange. Could you please tell me what did you use to create a grid? Columns block? Or the Grid template?

    “I could use a feature page on the home page and use the same trick, but that would mean editing the home page every time I add a blog post.”
    – Please allow me a few days to think how to implement a sticky functionality on the Front Page template without affecting thousand of sites that use the Fortune theme.

    I am currently not use if this functionality will work on a regular page. The thing is that a sticky functionality works on a blog page but it seems like it does not affect archive pages (See a tag link below).

    I will let you know when I have an update on this matter.

    For now, we can try this:

    1) Tag (https://wordpress.com/support/posts/tags/) your sticky posts with a special tag. WordPress will automatically create an archive view for posts with that tag. Here is an example of the tag archive: https://fortunedemo.wordpress.com/tag/announcement/

    2) Create a static Featured Page section on the Front Page template with a link to the archive page of your sticky posts. Here is example: https://snipboard.io/TiaCsw.jpg

    You can create a general message that does not need to be edited every time you add a new sticky post, and include a link to the archive view where your sticky posts will appear based on a posted date.

    Hope this helps. Please let me know if you have any additional questions.

    Kind regards,
    Taras

    #159672

    gctwnl
    Member

    I think I originally used the grid template (I am almost certain). I have no idea how this got lost. At some point I added a few articles to the grid, it must have happened then. I was already planning to try the tag workaround.

    #159673

    gctwnl
    Member

    I just realised that using the ‘tag’ workaround and having just a single sticky post will mean that the Featured Page section of my Front Page will have only single article pushing the rest down. Hmm. And of course a new sticky post will be displayed twice on the Front Page. Hmm, again. I am going to think this over.

    #159674

    gctwnl
    Member

    I have implemented the tag workaround. Have a look at https://ea.rna.nl/

    I have created a special page with two blocks of posts, one with the Sticky ones, one with all posts. This kind of works though I get the sticky post twice and separate on a single grid row.

    Having this integrated would be far better, of course.

    #159684

    tarasdashkevych
    Theme Author

    Nice work! I can see that you’ve used the Featured Page section along with the blocks designed to display blog posts.

    I am still going to investigate a possibility to add a sticky functionality to the Recent Blog Posts section provided by the theme. I’ll keep you posted.

    Kind regards,
    Taras

    #159692

    gctwnl
    Member

    What would be another possibility if I could set a filter on the posts in a ‘posts block’ that is negative. E.g. ‘exclude category x’. But that would still leave me with an incompletely filled top row.

    I hope you find a solution. I like Fortune a lot and this is one of the few things where it is less than optimal.

    #159819

    tarasdashkevych
    Theme Author

    Hi,

    A new version of the theme has been submitted for a WordPress.com review. This new version will include an option to display sticky posts on the Front Page template. I’ll let you know when this update is ready for production sites at WordPress.com.

    Kind regards,
    Taras

    #159876

    gctwnl
    Member

    Thank you.

    #160002

    tarasdashkevych
    Theme Author

    Hello,

    I just want to let you know that I’ve not forgotten about you. The update is still under a WordPress.com review.

    Thank you,
    Taras

    #160009

    gctwnl
    Member

    No problem. Thank you for having done this and I will wait patiently.

    #160050

    tarasdashkevych
    Theme Author

    Hello,

    The update is now available on your site. Navigate to Theme Options > Front Page Template Options, and click on the Configure button under the Blog Posts label. You should see a new options: Exclude Sticky Posts. Uncheck it if you want to display sticky posts in the section.

    Kind regards,
    Taras

    #160055

    gctwnl
    Member

    Thank you.

    The term ‘exclude sticky posts’ somewhat confused me as these are displayed (and thus not excluded), maybe ‘ignore sticky setting’ in a future update?

    #160068

    tarasdashkevych
    Theme Author

    Thank you for a suggestion! I am going to update the label of this option in the next version of the theme.

    Kind regards,
    Taras

The topic ‘Fortune theme designers: can you help me out?’ is closed to new replies.