Remove ‘Comments’ section from a WordPress page


Goto page.php. It will appear something like this:


get_header(); ?>

<div id=”primary” class=”site-content”>
<div id=”content” role=”main”>

<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( ‘content’, ‘page’ ); ?>
<?php comments_template( ”, true ); ?>
<?php endwhile; // end of the loop. ?>

</div><!– #content –>
</div><!– #primary –>

<?php get_sidebar(); ?>
<?php get_footer(); ?>


Remove the line that is highlighted.Read the rest...

Using JavaScript for interactivity in Storyline

In the previous post, we discussed about using JavaScript to build a custom menu. Today, we shall discuss about using JavaScript for interactivities, which involves some math.

We shall compare Simple Interest and Compound Interest with the help of JavaScript. The reason I chose this comparison, was to show how JavaScript can help in performing complex calculations, which is currently not easy (if not impossible) in Storyline.Read the rest...

Creating a custom menu with Javascript in Storyline

It has been Christmas for me, since I hit James’s blog. Every day I am getting fresh ideas about how to customize the overall appearance of storyline. Today I shall discuss one of his ideas of using Javascript to create a customized menu.

We can create this basis the fact that the javascript takes the variable from storyline and toggles it, whenever the user clicks to view menu.Read the rest...