Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

TechNews theme: no more than 5 featured posts displayed in the sidebar

  • #9144
    Avatar photo[anonymous]

    Hello everyone, I hope you are well.

    I am using the TechNews 2.5.2.0 theme, I have configured 20 featured posts to be displayed on the sidebar, these are displayed without any problems on the home page and post pages, but on the tag pages only five are displayed.

    example.

    Home page.

    Article page.

    Tag page.

    I was wondering if this is the default behaviour or is it due to some bug in the theme.

    If it’s not too much to ask I would like to know what steps I need to take to add the option to add a button to the links to the WYSIWYG editor, as I currently have to go into the HTML of the post and add the .btn class.

    Thank you.

    #9175
    Avatar photo[anonymous]

    Hi,

    I will consult it with Bob – looks like an issue with theme.

    Temporary you can try to find the following line in the theme config.json:

    “featuredPostsNumber”: 5,

    And add below:

    “authorsFeaturedPostsNumber”: 20,
    “tagsFeaturedPostsNumber”: 20,
    That should solve your issue
    #9182
    Avatar photoBob

    cumlaude,

    Download the attached computed-options.js.zip file, unzip and move it to the following location:  Documents ▸ ⁨Publii⁩ ▸ ⁨sites⁩ ▸ ⁨YOUR_SITE ▸ ⁨input⁩ ▸ ⁨themes⁩ ▸ ⁨technews

    Then it should work as expected.

    #9198
    Avatar photo[anonymous]

    @bob

    Thank you very much, this solved the problem of the labels.