Title: Shorcode and HTML Div
Last modified: August 22, 2016

---

# Shorcode and HTML Div

 *  Resolved [robertosalemi](https://wordpress.org/support/users/robertosalemi/)
 * (@robertosalemi)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/shorcode-and-html-div/)
 * Hi Funnj,
    I would insert the shortcode [frontier-post] in a HTML DIV, for example:
 *     ```
       <div id="my_div">
       [frontier-post]
       </div>
       ```
   
 * but it not works.
 * I would insert my DIV only in one page, not in all page where I use your plugin.
 * What am I doing wrong?
 * Thanks.
 * [https://wordpress.org/plugins/frontier-post/](https://wordpress.org/plugins/frontier-post/)

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

 *  Plugin Author [finnj](https://wordpress.org/support/users/finnj/)
 * (@finnj)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/shorcode-and-html-div/#post-5589864)
 * Hi,
 * You cant do this, it will not work. The shortcode calls php scripts and as such,
   your div have no effect – This is the way WordPress works
 * Most of frontier output is wrapped in div, that you can alter
 * If you are using a child theme, you can copy the frontier_post.css to:
    Your 
   childtheme folder/plugins/frontier-post/ and then change the css. (if the folder../
   plugins/frontier-post/ does not exist in you child theme, create it first)
 *  Thread Starter [robertosalemi](https://wordpress.org/support/users/robertosalemi/)
 * (@robertosalemi)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/shorcode-and-html-div/#post-5590000)
 * Ok, I would use this way because across CSS I will hide the link for add and 
   delete posts.
 * As a future release you will can enable user to show/hide edit/delete/add posts
   if he use your plugin in different pages.
 * Roberto.
 *  Plugin Author [finnj](https://wordpress.org/support/users/finnj/)
 * (@finnj)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/shorcode-and-html-div/#post-5590001)
 * Hi Roberto,
 * You actually have to download version 3.0.3 for the custom css to work:
    [https://downloads.wordpress.org/plugin/frontier-post.3.0.3.zip](https://downloads.wordpress.org/plugin/frontier-post.3.0.3.zip)
 * I havent made it as “stable version” yet
 * You will not be able to hode it per user base, but I will make sure Edit/delete
   is not shown if a user is not able to edit/delete the post – Does not work 100%
   now.
 * as an example: To hide the Create New Post, add “display: none” to .frontier-
   menu in the css file – ex:
 * frontier-menu {
    text-align: center; display: none; }
 *  Thread Starter [robertosalemi](https://wordpress.org/support/users/robertosalemi/)
 * (@robertosalemi)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/shorcode-and-html-div/#post-5590004)
 * Thank for your answer!
 * I used a CSS code for hide the add function, but I create a page where user can
   edit only page create by admin, without add o delete other post.
 * Thanks for your code plugin.

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

The topic ‘Shorcode and HTML Div’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/frontier-post_c8b8b0.svg)
 * [Frontier Post](https://wordpress.org/plugins/frontier-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/frontier-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/frontier-post/)
 * [Active Topics](https://wordpress.org/support/plugin/frontier-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/frontier-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/frontier-post/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [robertosalemi](https://wordpress.org/support/users/robertosalemi/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/shorcode-and-html-div/#post-5590004)
 * Status: resolved