Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Add a custom CSS class to the listing description widget wrapper.
<?php // exlude this line if your functions.php already contains one.
* Add a `my-custom-class` CSS class to the Listing: Description widget.
function custom_listify_widget_panel_listing_content( $content ) {
$content = str_replace( 'widget widget-job_listing', 'widget widget-job_listing my-custom-class', $content );
return $content;
add_filter( 'listify_widget_panel_listing_content', 'custom_listify_widget_panel_listing_content' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.