WordPress.org

Ready to get started?Download WordPress

Forums

(edit) hyperlink on home when not logged in (7 posts)

  1. jmcdonald001
    Member
    Posted 1 year ago #

    http://www.entry.com displays the (edit) hyperlinks to the wordpress editor, even though I'm not logged in. I've done the following to try and resolve:

    Deactivate, and delete wp-cache and all cache files
    Deactivate, and delete any plugins that are not required
    Reviewed database to see if some meta data in the database was screwed up, all is OK.

    The front page works well with the exception of this (edit) hyperlink. Can someone help me with this?

    Best
    John McDonald

  2. edpittol
    Member
    Posted 1 year ago #

    Can you put the code of the part where have one edit link?

  3. jmcdonald001
    Member
    Posted 1 year ago #

    Here's a section of the code that produces the (edit) hyperlink

    <!-- Banners | Section Template -->
    <section id="banners" class="container no_clone section-banners fix"><div class="texture"><div class="content"><div class="content-pad">
    <div class="banner_container fix banners homepage">
    <div class="banner-area pprand-pad banner_left with-pad">
    <div class="banner-text pprand" style="width:1%;">
    <div class="banner-text-pad pprand-pad" style="padding:0px 0px 0px 0px;">
    <div class="banner-text-wrap">
    <div class="banner-title">
    <h2></h2>
    </div>
    <div class="banner-content">
    <p> <span class="pledit-pad">(edit)</span> </p>
    </div>
    </div>
    </div>
    </div>
    <div class="banner-media pprand" style="width:99%;" >
    <div class="banner-media-pad pprand-pad">
    <img src="http://www.entry.com/wp-content/uploads/2012/10/custbar.gif" alt="" /> </div>
    </div>
    <div class="clear"></div>
    </div>
    </div><div class="clear"></div>
    </div></div></div></section>

  4. edpittol
    Member
    Posted 1 year ago #

    In this manner the link always will appear. You need use the function edit_link or so remove the link.

    http://codex.wordpress.org/Function_Reference/edit_post_link

  5. jmcdonald001
    Member
    Posted 1 year ago #

    that's the problem. The link is always there and won't go away. It is only on the front page too.

  6. edpittol
    Member
    Posted 1 year ago #

    Put here the php code inner the <div class="banner-content">.

  7. jmcdonald001
    Member
    Posted 1 year ago #

    There was a broken plugin. It was updated this morning and I didn't put 2 and 2 together. My bad. Deactivated it and all is good. Thanks for your help.

Topic Closed

This topic has been closed to new replies.

About this Topic