Ambrogio Piredda
Forum Replies Created
-
Forum: Plugins
In reply to: [Events as Posts] Please add this code: Include events already started@kellylouise007, I’m not getting any errors. Please, double check that you have applied the code above correctly.
Forum: Plugins
In reply to: [Events as Posts] Please add this code: Include events already started@jeanseb, thanks. You are right. The event will hide if the start date is passed even though the end date is not. I’ll check this out before the next update.
At the moment you can add this (substitute line 110 to 114) to fix it, and the until date won’t be mandatory.
'meta_query' => array( 'relation' => 'OR', array( 'key' => 'eap_from_day', 'value' => $date, 'compare' => '>=' ), array( 'key' => 'eap_until_day', 'value' => $date, 'compare' => '>=' ) ),
- This reply was modified 4 years, 11 months ago by Ambrogio Piredda.
- This reply was modified 4 years, 11 months ago by Ambrogio Piredda.
Forum: Plugins
In reply to: [Events as Posts] Unique CSS classes for Future and Past EventsHi, sorry for the late reply. That’s a great idea. I will consider that for the next plugin update. Right now I’m a bit busy with other stuff, but, yeah, I will definitely have a look into this.
By the way, if you’ve got some idea about this right now, please let me know. Eventually, I can apply your idea to the plugin and publish the next update.
Forum: Plugins
In reply to: [Events as Posts] Read More custom lengthHi, you have posted the same question twice. Please, check my reply here: https://www.ads-software.com/support/topic/read-more-custom-length-2/
- This reply was modified 5 years, 2 months ago by Ambrogio Piredda.
Forum: Plugins
In reply to: [Events as Posts] Read More custom lengthIf you just want to extend the length of the excerpt, you can use a filter: https://developer.www.ads-software.com/reference/hooks/excerpt_length/
Forum: Plugins
In reply to: [Events as Posts] Read More custom lengthHi, Jeremy, sorry for the late reply. Do you want to display the whole post content instead of the excerpt? Is that the issue?
Thanks,
AmbrogioForum: Plugins
In reply to: [Events as Posts] I don’t see post contentHi,
Can you give me more details about the theme and plugins (active/non-active) you are using?
Forum: Plugins
In reply to: [Events as Posts] Event post image cut (both right and left side)Hi. The image on that page is not displayed through functionality of the plugin, but the theme. Only the date, location, etc., are displayed through plugin’s functionality on that page, so this is not an issue of the plugin. There is no “eap__img” class on that image. The plugin display the featured image of the event only on the list of events.
Forum: Plugins
In reply to: [Events as Posts] No way to display post list in 2 columnsMy friend, I don’t know what’s happening with your site. I’ve looked at your site, but seems the styles for 2 columns are not loaded. It works on a test site that I have, and I have even tried it on another site right now, and it works too. I just select the 2 cols option, save it, and it works. The 2 cols styles are loaded.
Anyway, you can remove the plugin styles, adding this function to your functions.php on your theme, or child theme, and add your own styles to make it look 2 cols. Or you can leave the plugin styles and just overwrite them.
One way to have 2 cols is to use flexbox. Add “display: flex; flex: wrap;” to “.eap__list” class, and “width: 50%;” to “.eap__event” class. And it should look 2 cols. Remove the “display: grid;” property from “.eap__list”; I just did that on your site with the inspector tools, and it works.
If you know your way with css, it’s 5 mins to make it look 2 cols.
Forum: Plugins
In reply to: [Events as Posts] No way to display post list in 2 columnsHi, it works for me. Try to clear your cache. The code works.
Forum: Plugins
In reply to: [Events as Posts] Upcoming Events WidgetWell, one way you could do that with the plugin is to display the events with the shortcode and hide what you don’t want with css. You can do that as well with the event meta keys (that you can find it in the settings page), implementing those with custom code.
Forum: Plugins
In reply to: [Events as Posts] Upcoming Events WidgetHi,
If you read the note below the shortcode there is written that [display_events] will display future events (that is upcoming events). If you want to generate a different shortcode, just change the settings (select past, all, or future events), save, and you will see the new shortcode.
Everything you need is on the settings page. [display_all_events] will display all the events, past and future. [display_past_events] will display only past events.
Hope that helped.
Forum: Plugins
In reply to: [Events as Posts] Upcoming Events WidgetIf you install the plugin, on the plugin settings page you can see the shortcode, or generate new ones depending on the options you’ve selected.
Forum: Plugins
In reply to: [Events as Posts] Upcoming Events WidgetYou can past the shortcode on a text widget.
Great. Sorry for the late reply. I’ve just read your comment.