Plugin Author
finnj
(@finnj)
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)
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
(@finnj)
Hi Roberto,
You actually have to download version 3.0.3 for the custom css to work:
https://downloads.wp.xz.cn/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;
}
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.