• Hello All,

    Im a newbie to wordpress and am stuck at an issue for a while now. I have a couple of queries and would appreciate if someone could guide me.

    I’am using the inkness theme of wordpress, https://wordpress.org/themes/inkness/

    1. I can not understand from where is the slider being invoked. I have kept the front page to show latest posts (i.e not static). There is a file named slider-nivo.php, commenting out the entire file removes slider, but I can not understand from where is the file being invoked/ I searched theme code base but there is no mention in code for “slider-nivo”. I very confused from where is it being invoked.

    2. There is a template file content-home.php which is being invoked in a loop to show the 6 latest blogs on the home page. I wanted to know form where is the template being invoked. Similar to #1 I searched the code based but could not find a search for “content-home” or “content-home.php”.

    Although it would be difficult to give exact solution, can someone please help me how can I get into debugging this. Any help would be appreciated. Please let me know if you need any more information.

    Thank you.

Viewing 1 replies (of 1 total)
  • Slider can be enabled or disabled by checking checkbox, which is in Appearance > Inkness Settings > Slider Settings tab.

    If above checkbox is checked, nivo.slider.js is enqueued in functions.php around line 133.

    content-home.php is called in home.php line 32:
    get_template_part( 'content', 'home' );

    This command search for content-home.php first, and if none, search for content.php next.

Viewing 1 replies (of 1 total)

The topic ‘WordPress Template Invokation – Inkness Theme’ is closed to new replies.