90 reputation
10
bio website
location
age
visits member for 2 years, 10 months
seen Aug 17 at 16:44

Jun
5
comment register_sidebar / dynamic_sidebar with sidebar id
Yes, everything works fine if I don't specify an 'id' parameter. I only added the 'id' parameter to get rid of debug error messages but this is clearly worse. It shows up in the backend under Appearance > Widgets and again is clearly 'registered'. But again dynamic_sidebar always returns false when I add an id parameter to register_sidebar.
Jun
5
comment register_sidebar / dynamic_sidebar with sidebar id
I'm glad it works for someone.
Jun
5
revised register_sidebar / dynamic_sidebar with sidebar id
added 757 characters in body
Jun
5
comment register_sidebar / dynamic_sidebar with sidebar id
No idea why but this did not work for me. I'm not sure if the suggestion was more about using __() or removing the other parameters but I copy and pasted this with no luck.
Jun
5
revised register_sidebar / dynamic_sidebar with sidebar id
Tried some of the suggestions and added a note or two about the outcome.
Jun
5
asked register_sidebar / dynamic_sidebar with sidebar id
Apr
22
awarded  Commentator
Apr
22
comment Custom post type term names with ampersand in the term name
When I try to attach a term to a custom post type where the term name includes an ampersand WordPress finds the term fine (when doing the type ahead search) but because WP is not turning the & into & it never finds the term in the database when trying to attach it to the post. So I add the term in the admin edit post screen and hit update post and the post never has the term I just tried to attach when it finishes. The code I provided fixes it but I can't believe that's a proper fix. It holds the term name. Thank you!
Apr
22
asked Custom post type term names with ampersand in the term name
Apr
1
comment Strange problem with wp_get_attachment_image_src database (db) query count
@TheDeadMedic That appears to reduce the query count by between 50-100 queries but if I comment out that the wp_get_attachment_image_src part it goes down by ballpark 300 queries. Seems really strange that manually specifying an integer post id fixes the problem.
Apr
1
asked Strange problem with wp_get_attachment_image_src database (db) query count
Mar
26
awarded  Curious
Mar
25
asked WordPress Query Count
Jan
16
awarded  Popular Question
Dec
21
awarded  Popular Question
Nov
12
awarded  Popular Question
May
18
accepted Shortcode adding p and br tags
May
17
awarded  Teacher
May
16
answered Shortcode adding p and br tags
May
16
comment Shortcode adding p and br tags
Charles - Tell me what you need but that is very close to what I've got with the exception of method names & identifying information stripped and simplified some. It's definitely and issue with the "view" but again I've done this elsewhere.