Title: Finding PHP code for plugins
Last modified: August 21, 2016

---

# Finding PHP code for plugins

 *  Resolved [NovaSev](https://wordpress.org/support/users/novasev/)
 * (@novasev)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/finding-php-code-for-plugins/)
 * I’ve tried the search but not even sure how to search for what I’m wondering.
 * I’m completely new to WordPress _(about a weeks experience now)_. I’ve been playing
   with a lot of things so there are a few issues here and maybe I could be helped
   with them all.
 * I’m adding some plugins that I’ve found on WordPress.org but need help on adding
   them to a page using code instead of the admin panel. For instance:
 * I have a static home page, newly created called page-index.php. I’ve added the
   recent posts widget `<?php the_widget( 'WP_Widget_Recent_Posts', $instance, $
   args ); ?>` and it works. Now I need to limit the number of posts it shows and
   can’t find documentation on doing that.
 * I also need some education in making pages. I’ve created a bunch of pages specific
   to what I want – because I didn’t want the default page with the content.php 
   part added. I could only edit content.php once and need more pages then that.
   Hope that makes sense on what I’m trying to say there. Anyhow, I’ve downloaded
   plugins and wish to add them in these pages as I had with the recent posts above–
   but haven’t a clue what exactly that piece of code would be called or where to
   find it.
 * Lastly, and this kind of goes in with the last thing I asked – is there a good
   site or doc that would show how WordPress will put together a full site using
   the different php files that it comes with? I get the header/footer part but 
   can’t see how the rest works and more importantly how to go about changing how
   I do that. If I click on a category for posts, it shows content.php for each 
   and every post – I’m not sure why it does that.
 * I realize I’m asking a lot here but i’ve honestly tried searching and reading
   for this stuff. I’ve learned a lot from it, but sadly nothing specific to what
   I’m actually doing the research for. Any help would be appreciated, even if it’s
   just a link that will show me what I need to learn so I can answer myself.

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

 *  Thread Starter [NovaSev](https://wordpress.org/support/users/novasev/)
 * (@novasev)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/finding-php-code-for-plugins/#post-4553800)
 * I’ve figured out the recent replies part as far as limiting posts. Still looking
   for how I can add a plugin using just code – wondering where I would find that
   code at least, and then the way that wordpress utilizes it’s php files in a full
   site creation I’m further along with – still hazy on the content.php being used
   everywhere though.
 *  Thread Starter [NovaSev](https://wordpress.org/support/users/novasev/)
 * (@novasev)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/finding-php-code-for-plugins/#post-4553928)
 * I’ve gotten it figured out – far as how I need to add code needed in order to
   display most/some plugins in content instead of sidebar.
 * Still looking for the way wordpress php files work together, but I’ll figure 
   it out sooner or later.

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

The topic ‘Finding PHP code for plugins’ is closed to new replies.

## Tags

 * [beginner](https://wordpress.org/support/topic-tag/beginner/)
 * [php codes](https://wordpress.org/support/topic-tag/php-codes/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [NovaSev](https://wordpress.org/support/users/novasev/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/finding-php-code-for-plugins/#post-4553928)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
