Close

Account

Documentation

Forum

Menu

Comments visibility

  • Post count: 30
    hellhr
    April 5, 2018 at 5:00 pm #30201

    Hi,
    I would like to have control for comments visibility on homepage https://preporucamo.com. I want them visible (numboer of comment,s of course).
    Can we do that please…?
    thx!
    BR,
    Sasa

    Post count: 10896
    Adek
    April 5, 2018 at 5:28 pm #30205

    Hi Sasa,

    The number of comment will be disabled by default on certain post block element. Can you tell me more detail which post block element that you refer on above?

    Thank you

    Post count: 30
    hellhr
    April 5, 2018 at 5:36 pm #30207

    Hi!
    Thx for fast resposne.
    Hero 10, module 2, module 19, module 1, module 14

    Post count: 10896
    Adek
    April 6, 2018 at 9:25 am #30221

    Hi Sasa,

    1. For hero 10, please replace this file wp-content/themes/jnews/class/Module/Hero/Hero_10_View.php with this one here https://pastebin.com/tPBzihfx

    2. For module 2, please replace this file wp-content/themes/jnews/class/Module/Block/Block_2_View.php with this one here https://pastebin.com/WegZFqaG

    3. For module 19, please replace this file wp-content/themes/jnews/class/Module/Block/Block_19_View.php with this one here https://pastebin.com/qTUhSfvL

    4. For module 1, please replace this file wp-content/themes/jnews/class/Module/Block/Block_1_View.php with this one here https://pastebin.com/V0hQ4PhF

    5. For module 14, please replace this file wp-content/themes/jnews/class/Module/Block/Block_14_View.php with this one here https://pastebin.com/SpPK288U

    Thank you

    Post count: 30
    hellhr
    April 6, 2018 at 8:59 pm #30244

    Brilliant, thx!
    I suppose I will have to do it again, after v2.0 update :_)?
    Thx for your excellent theme and support!

    Post count: 10896
    Adek
    April 7, 2018 at 2:56 pm #30258

    Hi hellhr,

    Thanks for your compliment. I will recommend you to use JNews Child theme to avoid losing all the changes that you made when doing them update. You just need to create the same folder structure based on the file that you modified. For example, if you want to modify this file wp-content/themes/jnews/class/Module/Hero/Hero_10_View.php then you need to make like this wp-content/themes/jnews-child/class/Module/Hero/Hero_10_View.php on JNews child theme.

    Thank you

You must be logged in to reply to this topic.