Close

Account

Documentation

Forum

Menu

Disable sidefeed on few pages.

  • Post count: 4
    dshiladitya
    March 14, 2018 at 2:23 pm #29569

    Hi Guys

    I have installed the latest update of Jnews, in the changelog you mentioned that i can disable sidefeed on a single page. However after checking i realised that it is disabling the sidefeed on the entire site.

    I would like to have the sidefeed on my homepage and would like to disable it on some custom pages i have created.

    Can you please provide me with the code as i tried to disable it using display none, but then the content does not center align.

    Post count: 10472
    Adek
    March 14, 2018 at 2:48 pm #29570

    Hi dshiladitya,

    Can you tell me which page that you want to show the sidefeed? I will need to get the ID of the page that you want to disable the sidefeed.

    Thank you

    Post count: 4
    dshiladitya
    March 14, 2018 at 2:59 pm #29571

    Hi Adek,

    ID: 10674
    ID:10267

    These 2 pages.

    • This reply was modified 6 months, 2 weeks ago by  dshiladitya.
    Post count: 10472
    Adek
    March 14, 2018 at 3:12 pm #29573

    Hi dshiladitya,

    Please try to add this code below into functions.php file:

    Thank you

    Post count: 4
    dshiladitya
    March 14, 2018 at 3:33 pm #29574

    Thanks a lot,

    It worked. Please try and add this as a feature in future updates.

    Post count: 10472
    Adek
    March 15, 2018 at 9:27 am #29602

    Hi dshiladitya,

    Glad to hear that. We will take a look at this thing for next theme update. Also, i will recommend you to use JNews Child theme to avoid losing the changes that you made when doing theme update. Anyway, don’t forget to leave 5 stars rating for JNews 😀

    Let me know if you need something else in there.

    Thank you

You must be logged in to reply to this topic.