Mixtaka
Member
Posted 2 years ago #
whatever theme i add in my blog suppose http://www.A.com, i did not seen a link to edit the current post, if a user is logged in and allowed to edit the post.
but when i install same themes in my another wp blog suppose http://www.B.com, the button 'edit' will seen.
any suggestion why i did not seen the edit button in http://www.A.com
is there is any installation bug?
Thanks
only logged in admin's will see the link
no other roles
Mixtaka
Member
Posted 2 years ago #
ya i know this, i logged in and did not seen this button
If you are logged in and DO NOT see the Edit link then your theme needs the edit_post_link template tag added to the appropriate template.
Look at the WordPress Default theme and how it uses that code in the wp-content/themes/default/index.php file.
Stepping Into Template Tags
Stepping Into Templates
Template Hierarchy
Mixtaka
Member
Posted 2 years ago #
my theme already have edit_post_link template tag. if i install the same theme in my another wp blog than i seen the edit button.
i dont understand why the edit button did not seen in this blog, even i install any theme.
Mixtaka
Member
Posted 2 years ago #
Now i solve the problem
you must also have same url of
WordPress address (URL)
Blog address (URL)