-
Author
-
September 21, 2016 at 19:13 #136817ethernity4everParticipant
Allright here is the situation.
On any normal wordpress website, if a user has access to edit a page, there is a EDIT button on the bottom of the page. However, when i switch over to KLEO, that button is gone, any idea how i can get that edit button back to use the front end visual conposer to allow user to edit that page?
September 21, 2016 at 19:59 #136828RaduModeratorHi,
Add the attached file after you unzip it to wp-content/themes/kleo-child/page-parts/
Note: Kleo child theme needs to be installed and activated
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAttachments:
You must be logged in to view attached files.September 23, 2016 at 19:37 #137034ethernity4everParticipantHey there, it’s me again,
While I managed to get almost everything working, theres a thing thats bugging me deeply.
1. On the bottom of the page i have 2 links now Edit This AND Edit with visual composer.
Is it possible to hide the default Edit this link, and just keep the visual composer one?2. I disabled backend editor in VC and the frontend editor is working properly, however, it still displays a “edit” button while editing a page that takes the user back to the dashboard.
Can this button somehow be disabled? I have locked the dashboard for the user and he cant do anything there, but the button is still annoying and confuses people.September 26, 2016 at 18:16 #137205RaduModeratorJust remove the file that i have provided to you if you want to remove the edit link that you have asked for.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 26, 2016 at 18:17 #137207ethernity4everParticipantApparently I have not made myself clear.
I will attach a few screen shots later to better explain my issues.
September 26, 2016 at 19:18 #137226RaduModeratorok
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 26, 2016 at 19:32 #137237ethernity4everParticipantI have added 2 screen shots to better explain the situation.
Scr1:
The Edit this button on the bottom leads to the WP-admin page (dont need that one)
The Edit with visual composer one starts up the frontend and that one i need.
The scr2:
The edit button leads to wp-admin page, its basically useless but confuses people since the wp-admin is blocked. I only need the update button to show.
You can use the login info provided earlier to check it out.
Attachments:
You must be logged in to view attached files.September 27, 2016 at 18:04 #137325RaduModeratorFor the edit link from the scr1.jpg you can get rid of the edit link by following the next steps :
– Copy this file from : /wp-content/themes/kleo/content.php
– Paste the file to : /wp-content/themes/kleo-child/content.php
– Open the file fom this location /wp-content/themes/kleo-child/content.php and adound line 48 remove this line ‘, ‘‘); ?>For the second screenshot there is no quick solution to achieve that because that button doesn’t have a unique class or id
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 27, 2016 at 19:19 #137349ethernity4everParticipantOk thanks so much 🙂 this will help also. atleast i can prevent misunderstandings with 2 edit buttons on the same page 🙂
Thanks again for the support, you rly are the best, and have proven it many many times already!
Keep up the good work,
Best regards!
September 27, 2016 at 20:51 #137358ethernity4everParticipantUpdate:
Tried the solution above, the link is still showing. No success 🙁
September 28, 2016 at 17:35 #137448RaduModeratorHi,
If you add at the start of the file something like
COPY CODE<h1>T E S T</h1>
You are able to see the H1 T E S T in page ? if not it means that the file it’s not rewriten, and you should make sure if you have child theme installed and activated or the folder names are correct
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 28, 2016 at 17:40 #137451RaduModeratorHi,
If you add at the start of the file something like
COPY CODE<h1>T E S T</h1>
You are able to see the H1 T E S T in page ? if not it means that the file it’s not rewriten, and you should make sure if you have child theme installed and activated or the folder names are correct
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 28, 2016 at 17:41 #137452RaduModeratorHi,
If you add at the start of the file something like
COPY CODE<h1>T E S T</h1>
You are able to see the H1 T E S T in page ? if not it means that the file it’s not rewriten, and you should make sure if you have child theme installed and activated or the folder names are correct
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 28, 2016 at 17:50 #137456ethernity4everParticipantIt doesnt show.
The file is copied in the correct place. I have tried removing the piece of code from KLEO theme also, and the CHILD theme, still showing everything.
September 28, 2016 at 17:59 #137457ethernity4everParticipantUpdate:
So on the page “posts-social-share.php” instead of the code you gave me, i put “edit_post_link(”, ‘<p>’, ‘</p>’);”
And now the default Edit is hidden. its still there, but cant be clicked on and is not visible.
I also kept the line of code deleted from the content.php
Everything seems to be working now 🙂
September 28, 2016 at 18:50 #137471RaduModeratorGreat
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 28, 2016 at 18:52 #137472RaduModeratorGreat
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 28, 2016 at 18:54 #137473RaduModeratorGreat
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
You must be logged in to reply to this topic.