Title: How does embed script work exactly / WordPress post on external website?
Last modified: August 30, 2016

---

# How does embed script work exactly / WordPress post on external website?

 *  [Ceyar](https://wordpress.org/support/users/ceyar/)
 * (@ceyar)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/how-does-embed-script-work-exactly-wordpress-post-on-external-website/)
 * Hello, I’ve found an embed link to get the latest news from a wordpress blog.
   On this website: [http://www.planetehockey.com/manchette.php](http://www.planetehockey.com/manchette.php).
 * How does this code works exactly?
 * `<script type="text/javascript" language="javascript" src="http://www.planetehockey.
   com/include/manchette.php?nb_news=10"></script>`
 * Can someone just explain me the basics content of the manchette.php include?
 * It would be very helpful to understand how can I make a same thing.
 * Thank you!

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

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [10 years, 8 months ago](https://wordpress.org/support/topic/how-does-embed-script-work-exactly-wordpress-post-on-external-website/#post-6462419)
 * That’s a PHP file, you cannot just see how it works.
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [10 years, 8 months ago](https://wordpress.org/support/topic/how-does-embed-script-work-exactly-wordpress-post-on-external-website/#post-6462420)
 * Do you have a query regarding WordPress? The website you have linked is not using
   WordPress.
 *  Thread Starter [Ceyar](https://wordpress.org/support/users/ceyar/)
 * (@ceyar)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/how-does-embed-script-work-exactly-wordpress-post-on-external-website/#post-6462447)
 * Yes it is not wordpress site, but i was thinking about creating something similar
   for wordpress post.
 * I was thinking about creating a php page whit a wordpress call like this:
 *     ```
       <?php
       define('WP_USE_THEMES', false);
       require('./wp-blog-header.php');
       ?>
       ```
   
 *  And than just get my query. What do you think about this?

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

The topic ‘How does embed script work exactly / WordPress post on external website?’
is closed to new replies.

## Tags

 * [embed](https://wordpress.org/support/topic-tag/embed/)
 * [external](https://wordpress.org/support/topic-tag/external/)
 * [script](https://wordpress.org/support/topic-tag/script/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Ceyar](https://wordpress.org/support/users/ceyar/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/how-does-embed-script-work-exactly-wordpress-post-on-external-website/#post-6462447)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
