Archived topic
'Edit' button on home page; WYSIWYG fonts
1 reply · Started by Reuben on August 18, 2015
Hi there,
I just bought GeneratePress and am loving it, but there are two things I would like to implement. If you could guide me with this, it would be great:
1) How do I get the edit button to show up on my home page? Right now, to edit posts I need to go into each individual post page to do so. I'd like the edit button to show up below every post on the main page.
2) In the post editor, in WYSIWYG view, the editor seems rather unformatted with an icky font and the default link colours. How can I change it to match my theme fonts and all?
Thank you.
Hi there, thanks for your purchase!
1. Someone asked this a while ago and I came up with this function: https://gist.github.com/generatepress/00cfa69e677dd47dcfde
Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/
2. We add some basic editor styles, but keep it pretty basic. A problem is that you can adjust all of the colors in the Customizer, so we can't tell the editor which ones to use. You can upload your own edit style CSS file though using your child theme: https://codex.wordpress.org/Function_Reference/add_editor_style
Let me know if you need more info :)
