Hi!
Thanks Claud for your appreciation.
Yes you open the file plugin.class.php from wp-quick-frontend plugin folder.
Online 73 and 74 see following html with inline style tag. Change position from here.
<button style="position: fixed;top: 1px;left: 35%;z-index: 999000;" class="btn btn-sm btn-default activep"> <i class="fa fa-pencil"></i> Enable WP Quick Front Editor </button>
<button style="position: fixed;top: 1px;left: 35%;z-index: 999000;" class="btn btn-sm btn-danger deactive"> <i class="fa fa-shield"></i> Disable WP Quick Front Editor</button>
Note: Keep same styling for acive and deactive button
Regards:
Labib Ahmed
Rate if you like plugin.
Thread Starter
incoum
(@incoum)
Hi Labib!
Sorry, I didn’t explain myself well.. I have “WP Admin Bar” Disabled(not hidden with CSS) for Contributors/Editors’ roles in my site, so I need to include the button “Enable WPQ Editor” inside the content (for example over the post’s title) ..Is that possible? :O
Yes.
Just replace this code
<button style="position: fixed;top: 1px;left: 35%;z-index: 999000;" class="btn btn-sm btn-default activep"> <i class="fa fa-pencil"></i> Enable WP Quick Front Editor </button>
<button style="position: fixed;top: 1px;left: 35%;z-index: 999000;" class="btn btn-sm btn-danger deactive"> <i class="fa fa-shield"></i> Disable WP Quick Front Editor</button>
with following code in plugin.class.php file on line 73 and 74
<button class="btn btn-sm btn-default activep"> <i class="fa fa-pencil"></i> Enable WP Quick Front Editor </button>
<button class="btn btn-sm btn-danger deactive"> <i class="fa fa-shield"></i> Disable WP Quick Front Editor</button>
Hey incoum,
I have added option to select position of Enable button in version 4.0.Update it!
Regards:
Labib Ahmed
Thread Starter
incoum
(@incoum)
HEY! that’s great.. Thank you Labib!! 😀
My pleasure!
Rate it if you liked it.