[Resolved] Sharing Icons Show After Excerpt AND Content
I use the “excerpt” field to add my personal thoughts to an article and then use the main content area for the article itself. On my post pages I call the excerpt in a widget (for my take on the article) and then obviously the content shows too. The sharing icons are showing up after both.
I came across this bit of code, which made me think that you had compensated for both an excerpt and the content appearing on the same page:
// Many themes run the_excerpt() conditionally on an attachment page, then run the_content(). // We only want to output the sharing buttons once. Let's stick with the_content().
I’m guessing that mine is still not working because my excerpt is called in a widget. Is there a way I can just turn off sharing from the excerpt in ALL cases? Disabling the share buttons from showing up on homepage/archive/search results in the settings doesn’t do the trick.
- The topic ‘[Resolved] Sharing Icons Show After Excerpt AND Content’ is closed to new replies.