Events+ show descriptions on the archive page

Is it possible to show the descriptions for each event listing on the archive page?

  • Ash

    Hello Tolga

    Would you please try the following code?

    add_filter( 'eab-template-archive_after_view_link', function( $content, $event ) {
    	$html = '<div style="overflow: hidden; clear: both">';
    		$html .= $content;
    		$html .= $event->get_content();
    	$html .= '</div>';
    	return $html;
    }, 99, 2 );

    You can use this code in your theme's functions.php if the theme is not changed. Otherwise mu-plugin is the best option. To create a mu-plugin, go to wp-content/mu-plugins folder. If there is no mu-plugins folder then, create one. Now, inside the mu-plugins folder create file with name anything.php (make sure file extension is .php). Now start with a <?php tag and then put the above code.

    Hope it helps! Please feel free to ask more questions if you have any.

    Have a nice day!

    Cheers,
    Ash