• Resolved docpahomov

    (@docpahomov)


    Hello!
    In the my previously used template there was a link (‘Edit’), which opens admin panel. The link appeared when I was working at my computer. Is there such link in this template?
    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Thanks for using Author!

    Do you mean this link in the toolbar: https://pics.competethemes.com/image/3z3e1U2q1G1V

    That should show whenever you are viewing a Post, regardless of the current theme being used.

    Thread Starter docpahomov

    (@docpahomov)

    No, I mean another link. This link I need for to go to the admin panel without entering password every time when I work at my computer. For example. If I open my site in a browser on my computer, any post contains the link ‘Edit’ for opening the admin panel. If I open my site on another computer, such a link is missing. This template is first of all used by me earlier, in which there is no such link.
    Although I found a way to go into the admin panel as I want. I open a comment to any post and look for the comment where the author am I. Click on it and then open the admin panel. Сertainly, if I watch my site from other computer where I never came in the admin panel, this way too won’t approach.
    Thank you!

    Thread Starter docpahomov

    (@docpahomov)

    Forgive for my English

    Theme Author Ben Sibley

    (@bensibley)

    Okay I see. Could you share a link to a theme that adds the “Edit” link to your posts?

    There are a few other ways you can reach the admin as well. If you hover over the site title in the admin toolbar, you’ll see link to take you to the admin dashboard: https://pics.competethemes.com/image/0H0Q1b0R2b46

    You can also add “/wp-admin/” after your site’s URL to directly access the admin dashboard. For instance, if your site is “mywebsite.com” then you can visit “mywebsite.com/wp-admin/” to visit the admin dashboard directly.

    Thread Starter docpahomov

    (@docpahomov)

    I found the link I wanted in this template. It is in the file functions.php:
    `
    <div class=”comment-footer”>
    <span class=”comment-date”><?php comment_date(); ?></span>
    <?php comment_reply_link( array_merge( $args, array(
    ‘reply_text’ => __( ‘Reply’, ‘author’ ),
    ‘depth’ => $depth,
    ‘max_depth’ => $args[‘max_depth’] ) ) ); ?>
    <?php edit_comment_link( __(‘Edit’, ‘author’) )?>’

    <?php edit_comment_link( __(‘Edit’, ‘author’) )?>

    I wanted it to be not only in comments but also in the posts.
    For example: edit_post_link
    Thank you!

    Theme Author Ben Sibley

    (@bensibley)

    A child theme could be used to add this link to one of the templates. However, the same page can be reached already with the “Edit Post” link in the admin toolbar.

    Is there a reason why you need this link in the post as well?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘post-edit-link’ is closed to new replies.