wrsowner
Forum Replies Created
-
Helping a client with an outdated site … thank you, this helped!
Forum: Reviews
In reply to: [Quotes Collection] Almost perfectThe browser does have a “find” feature that should quickly enable you to find the text you’re looking for.
Forum: Plugins
In reply to: wp_mail and line breaks@jalefkowit – this worked (and explained why) perfectly for me. Currently finishing a client WP project, and having to format auto-emails for the first time. Feels like I spent way too much time trying to resolve this one (having come from the MS ASP.NET world just over a year ago and have never had a problem with \n), and your response is excellent … thanks so much!
Forum: Plugins
In reply to: [Widget Logic] [Plugin: Widget Logic] Use $widget_ID ?The $widget_id is a string value that represents the CSS style ID for the LI that contains the widget (i.e.,
<li id="text-3">widget stuff</li>
… in this case, $widget_id = “text-3”). It’s not a value to change, but a value that changes based on the particular widget being dealt with by WP at a given moment. A good example to see it in action is to set up 2-3 widgets in a test site, and place the following in your functions.php file:add_filter('widget_content', 'my_widget_function', 90, 2); function my_widget_function( $content='', $widget_id='') { return $content . '<p>This widget\'s style ID = ' . $widget_id . '</p>'; }So, as you will see, each widget will contain whatever content is already in it AND at the end of each widget’s content will be “This widget’s style ID = <current widget ID>”.
HTH.