# WordPress Embedding Best Practices and Policies

### <span style="font-weight: 400;">What does </span>*<span style="font-weight: 400;">embedding</span>*<span style="font-weight: 400;"> mean?</span>

### <span style="font-weight: 400;">Definitions</span>

**Shortcode**<span style="font-weight: 400;"> - Kind of like a widget in text form. Paste these into the Custom HTML widget.  
</span> <span style="font-weight: 400;">Example: </span><span style="font-weight: 400;">\[foogallery id="4772"\]</span>

**iframe**<span style="font-weight: 400;"> - Raw HTML code that embeds a web page. Commonly used to embed things like Google Calendar and Google Maps. </span>[<span style="font-weight: 400;">Submit a Help Desk ticket</span>](https://helpdesk.mlml.calstate.edu)<span style="font-weight: 400;"> for assistance.  
</span><span style="font-weight: 400;">Example: </span><span style="font-weight: 400;">&lt;iframe src=”https://example.org”&gt;&lt;/iframe&gt;</span>

- **Embedding**
- - - <span style="font-weight: 400;">Videos  
            </span>**Do not upload videos within WordPress. They will be removed.**
            - <span style="font-weight: 400;">Embed method(s)</span>
                - <span style="font-weight: 400;">Video widget</span>
                    - <span style="font-weight: 400;">Add Video &gt; Insert from URL</span>
                        - <span style="font-weight: 400;">YouTube, Vimeo, and other video services should work. Give it a try.</span>
        - <span style="font-weight: 400;">FooGallery</span>
            - <span style="font-weight: 400;">Embed method(s)</span>  
                
                - <span style="font-weight: 400;">Shortcode  
                    </span><span style="font-weight: 400;">  
                    </span>
        - <span style="font-weight: 400;">PDF’s</span>  
            
            - <span style="font-weight: 400;">Upload via media upload  
                </span>
                - <span style="font-weight: 400;">Insert as in-line text  
                      
                    </span>
        - <span style="font-weight: 400;">Web Forms</span>
            - **[Submit a Help Desk ticket](https://helpdesk.mlml.calstate.edu) before publishing a web form. IT needs to ensure that anti-spam protection is in place (reCAPTCHA).**
            - <span style="font-weight: 400;">Ninja Forms</span>
                - Embed method(s) 
                    - <span style="font-weight: 400;">Shortcode</span>
                    - <span style="font-weight: 400;">“Append a Ninja Form” option on Posts and Pages - located to the right of the editor.</span>

- - - <span style="font-weight: 400;">Google Maps/My Maps</span>
            - <span style="font-weight: 400;">Embed method(s)</span>
                - <span style="font-weight: 400;">iframe</span>

- - - <span style="font-weight: 400;">Google Drive</span>
            - <span style="font-weight: 400;">Embed method(s)</span>
                - <span style="font-weight: 400;">iframe</span>