- This topic has 6 replies, 2 voices, and was last updated 5 years, 2 months ago by Tom.
May 10, 2016 at 6:30 pm #193348Ryan
First thing. Client I built the website for using GP, really likes the “Edit Post” link that you can access underneath each post when viewing it on the front end whilst being logged in as an admin/editor.
I have upgraded GP, GP Premium Addons and also the WordPress core to the latest version. The “Edit Post” link at the bottom of each post has now disappeared. How can this be resolved?
Also, my second question is more tricky. In my opinion, I really don’t think there is an answer for it. Anwyay, the “edit post” link that (is supposed to) appear in the bottom of a post is really useful. My client is wondering if it can be inserted under the excerpt of every blog in the top level posts page (where all the posts are listed and ordered by date). I have not seen a way to do this yet and in all honesty I don’t really know if it is possible.
Thought I would ask in case that you or the GP community might know of a possible solution?May 10, 2016 at 11:34 pm #193389TomLead DeveloperLead Developer
1. Easy to get back: https://generatepress.com/forums/topic/update-problem-with-gp-premium/#post-191096
2. This function might help: https://gist.github.com/generatepress/00cfa69e677dd47dcfdeMay 10, 2016 at 11:40 pm #193394Ryan
Cool so do I integrate #2 into the posts.php file or is another chunk of code to go into the functions.php file?
Thanks TomMay 10, 2016 at 11:43 pm #193397TomLead DeveloperLead DeveloperMay 11, 2016 at 4:39 pm #193630Ryan
Great. I have put it in the functions.php file and it works! Just two more things.
The date time format has changed and now the month comes before the day. I think this was done via regex in the code or something but I can’t seem to get my head around it right now.
Also I’m looking for a way to get the ‘Edit Post’ link to appear underneath the excerpt instead of up the top with the post metadata information.
Can you please help me with that?May 11, 2016 at 4:56 pm #193631Ryan
I ended up resolving it with an alternative solution by modifying the contents.php file. I have yet to apply it into the child theme.
Here is the link to my solution http://stackoverflow.com/questions/37154585/how-to-put-edit-link-under-each-excerpt-in-wordpressMay 11, 2016 at 11:45 pm #193674
- You must be logged in to reply to this topic.