The code you will need to test again is part of the $instance value. You can either add a new value to the options, or use an existing value. To make this easier I think I’ll add a field for setting a value to test against in another version.

For now, is there anything different about the settings between the widgets right now?

This will cause the file to only load on that hook when the post info is selected, which it isn’t for your sidebar. You can drop the conditional in the featured-social.php file.

Also, like I said I’m going to add a field just for this type of thing. I have filters in place to make it possible to add options to the widget form, but having a text field to test against will make it even easier.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Genesis Featured Widget Amplified] Conditional Tags’ is closed to new replies.