Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 31382

Widgets are configurable elements used to dynamically build sections of a WordPress theme.

2 votes
1 answer
799 views

register_sidebar 'after_widget' on custom-built widgets not implementing, caused nested widgets

This works fine when using the inbuilt widgets like Calendar or search, however, when I add widgets I have created myself, the closing <aside> is not getting output. … Why are my custom widgets not closing properly, but the built-in ones are? What am I missing? Other than the structure, the custom widgets are functioning correctly. …
tommyf's user avatar
  • 405
2 votes
Accepted

register_sidebar 'after_widget' on custom-built widgets not implementing, caused nested widgets

It turns out I had overwritten the widget($args) within the widget, hence the before_widget got echoed but not the after_widget. I renamed the widget($args) variable, and all references to it, …
tommyf's user avatar
  • 405
1 vote
1 answer
432 views

Extending WP_Widget throws error when Monster Widget used

.= sprintf(_x('%1$s on %2$s', 'widgets'), get_comment_author_link(), '<a href="' . esc_url( get_comment_link($comment->comment_ID) )) . '">'; $output .= get_the_title($comment->comment_post_ID …
tommyf's user avatar
  • 405