Sign in

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

  • This topic has 3 replies, 3 voices, and was last updated 4 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9144
    Avatar photocumlaude

    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 photoTomasz Dziuda

    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

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #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.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #9198
    Avatar photocumlaude

    @bob

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.