add officials itome to Event Blocks widget

[ad_1]

Plugin Contributor
Savvas

(@savvasha)

Hi @persenal ,

You need some extra code to achieve this. To take some ideas give a look at the following templates:

event-officials.php
event-officials-list.php
event-officials-table.php

Thanks,
Savvas

thanks @savvasha
Unfortunately, I do not have enough coding skills

can anyone replace venue item with officials in this code: ?

                        <?php
                        if ( $show_venue ) :
                            $venues = get_the_terms( $event, 'sp_venue' );
                            if ( $venues ) :
                                $venue = array_shift( $venues );
                                ?>
                            <div class="sp-event-venue" itemprop="location" itemscope itemtype="http://schema.org/Place"><div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"><?php echo wp_kses_post( $venue->name ); ?></div></div>
                                                        							<?php endif; ?>

Plugin Contributor
Savvas

(@savvasha)

Hi @persenal ,

You can always hire a developer to assist you. https://jobs.wordpress.net/ is a place you can seek for that kind of help.

Thanks,
Savvas

thanks for your assistance and recommendation @savvasha

May I please put all the items of the competition in the block in the next versions of the plugin, not just some items?

thanks again

Plugin Contributor
Savvas

(@savvasha)

I will forward it to our developers.

Thanks,
Savvas

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer