Tech and Coding

Posts related to tech and coding

Enabling FULL-SCREEN function in Articulate Storyline

Reading Time: 2 Minutes The Challenge: I often face situations where the course(s) are embedded into a page and get frequent requests to enable a full-screen option for the embedded content. Articulate Storyline does not have a built-in full-screen option when the course plays in an iframe, or at an optimal size.  The Solution: Although it is better to let the IT …

Enabling FULL-SCREEN function in Articulate StorylineRead More »

Remove ‘Comments’ section from a WordPress page

Reading Time: 1 Minute   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 …

Remove ‘Comments’ section from a WordPress pageRead More »

Hiding a category from recently published posts in WordPress

Reading Time: 1 Minute To hide a category and its posts from recent posts: Get the category id(s), (for example 3) Find index.php Paste the following code just before *’THE LOOP’.   <?php query_posts(‘cat=-3’); ?> Note: Please take a backup of your index.php before doing this. *THE LOOP: Although it may differ in some cases, the basic loop would …

Hiding a category from recently published posts in WordPressRead More »

Creating a table with rounded corners

Reading Time: 1 Minute Here the css has the code for the rounded corner. You call the table class in the html whenever you want the round corner. <!DOCTYPE html> <html> <head> <style type=text/css> .rounded_edges { -moz-border-radius: 15px; border-radius: 15px; border: 1px solid black; } </style> </head> <body> <table class=”rounded_edges”> <tr> <th>Head 1</th> <th>Head 2</th> <th>Head 3</th> </tr> <tr> …

Creating a table with rounded cornersRead More »

Insert a picture in a table

Reading Time: 1 Minute To put a repeating pic in table:   <table style=”background-image:url(http://kawstov.com/downloads/noisy_grid);”> <tr> <th>Table header</th><th>Table header</th> </tr> <tr> <td>Table cell 1</td><td>Table cell 2</td> </tr> </table>   Source:  http://www.quackit.com/html/codes/tables/html_table_background.cfm  

Top