Title: wp-Notable plugin &#8211; Where do I put the code?
Last modified: August 18, 2016

---

# wp-Notable plugin – Where do I put the code?

 *  Resolved [deadhippo](https://wordpress.org/support/users/deadhippo/)
 * (@deadhippo)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/wp-notable-plugin-where-do-i-put-the-code/)
 * Hi, I am trying to add this plugin but I have to add code as per the [install instructions](http://www.calevans.com/view.php/page/notable)
   but I don’t know where I am supposed to add it. I am very new to wordpress and
   know almost nothing about php.
 * This is the code I have to install
 * `<?php if (function_exists('wp_notable')) wp_notable(); ?>`
 * I am told to add it “to your template in the loop area.” I am using the tarski
   template and I have no idea where the loop area is.
 * Can anyone help?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/wp-notable-plugin-where-do-i-put-the-code/#post-532469)
 * The loop almost always begins:
 *     ```
       <?php if (have_posts()) : ?>
       <?php while (have_posts()) : the_post(); ?>
       ```
   
 * and ends:
 * `<?php endif; ?>`
 * So you want to put the notable code in between there – probably just above it,
   so the icons will be below the post content area.
 * [See [The_Loop](http://codex.wordpress.org/The_Loop) for documentation on the
   loop.]
 *  Thread Starter [deadhippo](https://wordpress.org/support/users/deadhippo/)
 * (@deadhippo)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/wp-notable-plugin-where-do-i-put-the-code/#post-532473)
 * Thank again for your help. I was wondering which file the loop is in but I may
   be able to find out from your link, thanks.
 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/wp-notable-plugin-where-do-i-put-the-code/#post-532474)
 * Ouch. Sorry, forgot that! Sheesh. It’s in your theme’s index.php file.
 * Wow. Must be bedtime….
 *  Thread Starter [deadhippo](https://wordpress.org/support/users/deadhippo/)
 * (@deadhippo)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/wp-notable-plugin-where-do-i-put-the-code/#post-532475)
 * Hi,
    NP, I thought that is where it should be but this is the total contents 
   of my theme’s index.php
 *     ```
       <?php get_header(); ?>
       <?php include(TEMPLATEPATH . '/loop.php'); ?>
       <?php get_sidebar(); ?>
       <?php if(is_single() || is_page()) { comments_template(); } ?>
       <?php get_footer(); ?>
       ```
   
 * I guess that I should put the code in loop.php but I don’t know where. I have
   tried a few positions but to no visible effect.
 * This is the code in the loop.
 * [http://wordpress.pastebin.ca/380653](http://wordpress.pastebin.ca/380653)
 * To moderator: Sorry about that, but you also deleted some of my post.
 * [moderated: WAY too much code. Consider using a pastebin service such as [http://wordpress.pastebin.ca](http://wordpress.pastebin.ca)
   and posting a link back to here.]
 *  Thread Starter [deadhippo](https://wordpress.org/support/users/deadhippo/)
 * (@deadhippo)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/wp-notable-plugin-where-do-i-put-the-code/#post-532478)
 * OK, It was my mistake. I thought it would display on the main page but I now 
   understand that you have to click on the actual article to see it.
    Thanks for
   your help guys.
 * I do have one more problem though. The images are not showing and [according to the creators](http://www.calevans.com/view.php/page/notable)
   it means my mage path is wrong. Does anybody know where to find it and how to
   fix it?
 * You can see and [example ](http://phpfromscratch.com/blog/archives/my-php-journey/47)
   of the problem on my blog.
 *  Thread Starter [deadhippo](https://wordpress.org/support/users/deadhippo/)
 * (@deadhippo)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/wp-notable-plugin-where-do-i-put-the-code/#post-532820)
 * As this was a separate topic originally I created a new post. You can find the
   solution to my problem there.
 * [http://wordpress.org/support/topic/108780?replies=1](http://wordpress.org/support/topic/108780?replies=1)

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘wp-Notable plugin – Where do I put the code?’ is closed to new replies.

 * 6 replies
 * 2 participants
 * Last reply from: [deadhippo](https://wordpress.org/support/users/deadhippo/)
 * Last activity: [19 years, 2 months ago](https://wordpress.org/support/topic/wp-notable-plugin-where-do-i-put-the-code/#post-532820)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
