Title: [Plugin: WP Issuu] Embedding ISSUU using custom_fields
Last modified: August 19, 2016

---

# [Plugin: WP Issuu] Embedding ISSUU using custom_fields

 *  [Marc Smits](https://wordpress.org/support/users/ctrlspatie/)
 * (@ctrlspatie)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-issuu-embedding-issuu-using-custom_fields/)
 * The following might help someone:
 * **My Goal: **
    - Display an introduction + image on the front page
    - Display the ISSUU-embed on the single-post-page (single.php)
    - Remove the sidebar to make space for the ISSUU-embed
 * Here’s how you can achieve this:
    0. Install the plugin
 * 1. Create custom wordpress-category-templates. [Check here](http://mattmedia.net/2007/10/09/how-to-set-up-custom-wordpress-category-templates-in-four-easy-steps/).
 * 2. Make a single_issuu_post.php for your ISSUU documents. embed it in your single.
   php file.
 * 3. Remove the sidebar code
    `<?php get_sidebar(); ?>`
 * 4. Add the WordPress ISSUU embed code in a custom field (I called it “issuu_embed_link”)
 * 5. Add the following code in single_issuu_docs.php
 *     ```
       <?php
         $this_post_id = the_ID();
         $custom_fields = get_post_custom( $this_post_id );
         $my_custom_field = $custom_fields['issuu_embed_link'];
         foreach ( $my_custom_field as $key => $value )
            //Call the ISSUU parsing function from the plugin
            echo(issuu_parse($value));
       ```
   
 * I removed `<?php the_content(); ?>` because I did not want to show my “front-
   page introduction”.

Viewing 1 replies (of 1 total)

 *  Thread Starter [Marc Smits](https://wordpress.org/support/users/ctrlspatie/)
 * (@ctrlspatie)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-issuu-embedding-issuu-using-custom_fields/#post-1220114)
 * `$this_post_id = the_ID();`
 * in the code snippet above should be:
 * `$this_post_id = get_the_ID();`

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WP Issuu] Embedding ISSUU using custom_fields’ is closed to 
new replies.

 * 1 reply
 * 1 participant
 * Last reply from: [Marc Smits](https://wordpress.org/support/users/ctrlspatie/)
 * Last activity: [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-issuu-embedding-issuu-using-custom_fields/#post-1220114)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
