Richard Slade
Forum Replies Created
-
Forum: Plugins
In reply to: [VS Event List] Hook in to event categoryHi Guido
Here’s the code i’m using in the theme functions not via the menu.
add_action('wp_footer', 'ava_after_main_title_mod'); function ava_after_main_title_mod() { if ( in_category('1') || in_category('2') || in_category('3') || in_category('4') || in_category('5') || in_category('6') || in_category('7') ){ echo " <div id='custom-fullwidth'>"; echo do_shortcode("[shortcode]"); echo "</div> "; } }
Richard
Forum: Plugins
In reply to: [VS Event List] Hook in to event categoryHi Guido
I have a hook that adds a custom menu to posts from specific categories and would like to include event categories too.
Thanks
RichardForum: Plugins
In reply to: [VS Event List] Order events on same day by timeHi Guido
Agreed always better to use a single plugin to solve a problem but it seems to not be conflicting and pagination for the setup i’ve got is not needed luckily.
Thanks again
RichardForum: Plugins
In reply to: [VS Event List] Order events on same day by timeThanks Guido
That worked a treat. I had to install both as one plugin didn’t allow drag and drop when a taxonomy is filtered and the other didn’t apply the order in the front end.
All good though now.
Richard
Forum: Plugins
In reply to: [VS Event List] Styling last event differently from othersHi Guido
Thanks for the update and no problem. I’ll use the nth option for now.
Richard
Forum: Plugins
In reply to: [VS Event List] Styling last event differently from othersHi Guido
Just checking in to see if this will work now. I’ve tried but it’s not applying.
#vsel div[class*="vsel-content"]:last-child { border-bottom:0px !important; }
Thanks
Hi Alimir
I couldn’t see where you can define the amount viewed. Any ideas?
Richard
Forum: Plugins
In reply to: [VS Event List] Styling last event differently from othersFantastic news, thanks Guido.
Forum: Plugins
In reply to: [VS Event List] Styling last event differently from othersSorry does this mean I can use
:last-child
with the new version?Forum: Plugins
In reply to: [VS Event List] Styling last event differently from others6.6 – I see it now, spot on Guido, thanks.
Forum: Plugins
In reply to: [VS Event List] Styling last event differently from othersI’m not surprised as it’s an essential plugin for me. So many uses for one plugin.
Richard
Forum: Plugins
In reply to: [VS Event List] Styling last event differently from othersThanks Guido – I’ve said it before, but i’ll say it again. Love this plugin and the level of support you give. Very much appreciated
Richard
Forum: Plugins
In reply to: [VS Event List] Styling last event differently from othersHi Guido
Thanks for look at this so quickly and that works a treat, thank you. Just need to figure out how to apply to different div classes across the site now. Would I put the div name before #vsel?
Richard
Forum: Plugins
In reply to: [Display Posts - Easy lists, grids, navigation, and more] Display categoriesHi Bill
Thanks for the reply and suggestion, i’ll take a look.
Richard
Forum: Plugins
In reply to: [VS Event List] Move more info to below infoHiya
It’s OK i’ve found it now.
For anyone else looking to solve, in vsel-upcoming.php move
if (!empty($event_link)){ if ( ($event_link_hide == 'yes') && ($widget_link == 'yes') ) { $output .= '<p class="vsel-meta-link vsel-page-hide vsel-widget-hide">'; } elseif ( ($event_link_hide != 'yes') && ($widget_link == 'yes') ) { $output .= '<p class="vsel-meta-link vsel-widget-hide">'; } elseif ( ($event_link_hide == 'yes') && ($widget_link != 'yes') ) { $output .= '<p class="vsel-meta-link vsel-page-hide">'; } else { $output .= '<p class="vsel-meta-link">'; } $output .= sprintf( '<a href="%1$s"'. $link_target .'>%2$s</a>', esc_url($event_link), esc_attr($event_link_label) ); $output .= '</p>'; }
to below
$output .= $content = apply_filters( 'the_excerpt', get_the_excerpt() ); }
- This reply was modified 7 years, 8 months ago by Richard Slade.