Link to Edit Post on my footer

  • Unknown's avatar

    Hi,
    I am using the Stratford theme.

    My link: scio.agency

    The problem is there is a “page/article”, called “Post-38 ” on my home page. It came with the theme, and I can’t remove it or find it anywhere.

    There is code on the header and footer (code below). I only can use CSS to customize the header and footer. So I hid the footer.

    Someone knows how to remove it? I hid the link with CSS but I believe it will cause SEO issues on Google Search.

    Code:
    on header:
    <article id=”post-38″ class=”post-38 page type-page status-draft has-post-thumbnail hentry entry”>

    footer:

    </div><!– .entry-content –>

    <footer class=”entry-footer responsive-max-width”>
    <span class=”edit-link”>Edit <span class=”screen-reader-text”>Home</span></span> </footer><!– .entry-footer –>
    </article>

    I will really appreciate if someone could help me with this.

    Thank you!

    The blog I need help with is: (visible only to logged in users)

  • Hi there,

    Are you speaking of the source code for your site, 38 is the post-id for your site’s front page, so that is supposed to show in the source code – that’s the identifier your site uses for CSS styling that is specific to that particular page. You should not under any circumstances remove that, as that will cause your front page to break.

    It’s also not possible to remove with CSS, as it’s a CSS class appearing in the site’s HTML. Using CSS to hide the header or footer will not remove that CSS class, as it forms part of your site’s HTML. CSS can only be used to modify the appearance of or hide elements that are actually visible on your screen. It cannot be used to modify the underlying HTML code.

  • The topic ‘Link to Edit Post on my footer’ is closed to new replies.