WordPress.org

Support

Support » How-To and Troubleshooting » (edit) hyperlink on home when not logged in

(edit) hyperlink on home when not logged in

Viewing 6 replies - 1 through 6 (of 6 total)
  • Can you put the code of the part where have one edit link?

    jmcdonald001

    @jmcdonald001

    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>

    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

    jmcdonald001

    @jmcdonald001

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

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

    jmcdonald001

    @jmcdonald001

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘(edit) hyperlink on home when not logged in’ is closed to new replies.
Skip to toolbar