Community Forums › Forums › Forum Bugs and Suggestions › My response isn’t showing
- This topic has 2 replies, 2 voices, and was last updated 10 years, 2 months ago by Andrea Rennick.
-
AuthorPosts
-
July 22, 2014 at 10:08 am #115393McGuive7Member
Experiencing a weird issue. I just tried posting a response on the following thread: http://www.studiopress.community/topic/adding-a-widget-above-the-page-title-on-certain-pages/
The message contained numerous links and
<ol>
list items. After hitting submit, my response didn't appear on the thread. I tried resubmitting and I got the following warning:
ERROR: Duplicate reply detected; it looks as though you’ve already said that!I just tried to submit a thread of my own to document this issue, and when I pasted my message in here and it also failed to appear (which was the issue I was trying to document). I just tested this and my message worked fine until I tried adding two links using the editor's native "link" button. The links were for https://wordpress.org/plugins/widget-context/ and https://wordpress.org/plugins/widget-logic/. Any ideas why embedding these two links would cause my message to totally disappear? Is there a limit on the number of links in a response?
July 23, 2014 at 7:02 am #115373McGuive7MemberHi there,
I posted a response on the following top:
http://www.studiopress.community/topic/adding-a-widget-above-the-page-title-on-certain-pages/However the response isn't showing up. I thought maybe the submission had failed so I tried again, but now I get the following message when I try to paste and submit the same response:
ERROR: Duplicate reply detected; it looks as though you’ve already said that!Any idea why this is happening? Are y'all moderating responses perhaps?
In case it helps, I'll paste my response below.
Thanks!
- MickeyResponse:
-----------------Hi Suzy,
I think you're on the right track with widget areas. If you needed different output on a per-page basis, then I would recommend implementing custom fields, however widget areas will work better for content that's shared across pages in specific sections. Anyhow, here's the solution I've implemented for this type of functionality on previous projects:
- Create your widget area. Sounds like you've done this already.
- It looks like the content is essentially mimicking the menu structure, so you could use a plugin like Simple Section Navigation. Not sure if that's what you're going for. Either way, add you content-specific widgets to the new widget area.
- Use a plugin like Widget Context or Widget Logic to control where the widgets display. This will allow you to output specific content on specific sections of your site, either via url pattern matching, or custom PHP logic. This will be dictated by how your different sections are defined. If they are just based on your page structure, then Widget Context and URL matching should work well.
- Output the widget area on whichever action hook works best for the location you want. Based on what you've described and the current layout of the site, it looks like
genesis_entry_header
should work well (the Genesis Visual Hook Guide is a great resource to figure this out). One thing to mention is that you'll likely want to add anif ( is_singular() )
conditional to make sure the widget isn't output on posts on archive/search/etc pages.
So that's the top-level view of what I've done. Let me know if you need more specifics or have any questions. Best of luck!
July 23, 2014 at 7:04 am #115502Andrea RennickMemberAutomated moderation. 🙂 I cleaned out your posts.
Anything with 3 or more links gets moderated by default.
**forum signature**
If you need technical support for your theme please file a ticket.The forums are community based. Staff only monitors the forum for issues relating to the forum itself and to redirect users to where they need to go.
-
AuthorPosts
- You must be logged in to reply to this topic.