This topic has 2 replies, 2 voices, and was last updated 9 years by laa4art.

  • Author
  • #45361
     laa4art
    Participant

    I hide top menu from non administrators ( for example content editors). Can you suggest the easiest way to place “EDIT” button above or below the page content?

    #45449
     Laura
    Moderator

    Hello, you can add this php code to single.php or anywhere you want it

    COPY CODE
    
    <?php edit_post_link('Edit');?>
    

    Remmber if you are changing theme files copy the changed one to child theme following the same main path so your changes wont be lost in future updates.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #45538
     laa4art
    Participant

    Thanks. It was necessary to edit page not single. I wanted to have edit on page, I already have it on post.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?