Jorgu5
Forum Replies Created
-
Forum: Plugins
In reply to: [Popup by Supsystic] qTranslate PopUpThank you ??
Your solution with creating 2 popups with different content is exactly the thing I wanted. So embarrassed I did not think about that.
Thanks again,
Best,
TomForum: Plugins
In reply to: [BuddyPress Poke] Translation not worksSame here…
Forum: Plugins
In reply to: [Event Organiser] Checking if post is archiveHi,
Thanks, that helped ?? I got queried the past events properly. So this is what I have right now:
https://www.dimsur.org/events-page
and I ended up with this code
<div id="tabs" class="schedule-tabs-wrapper"> <ul role="tablist"> <li><a href="#schedule-upcoming">Upcoming</a></li> <li><a href="#schedule-archived">Archived</a></li> </ul> <div id="schedule-upcoming" class="schedule-tabs-content"> <table <?php echo $id; ?> class="<?php echo esc_attr($classes);?> schedule-table" > <tbody> <tr class="table-title"> <th class="header-date">Date</th> <th class="header-title">Course Title</th> <th class="header-venues">Venues</th> </tr> <?php while( $eo_event_loop->have_posts() ): $eo_event_loop->the_post(); ?> <?php //Generate HTML classes for this event $eo_event_classes = eo_get_event_classes(); //For non-all-day events, include time formata $format = ( eo_is_all_day() ? $date_format : $date_format.' '.$time_format ); ?> <tr class="schedule-row"> <td class="cell-date"> <span class="event-date-block"> <span class="event-date-top"><?php echo eo_get_the_start('j'); ?></span><span class="event-date-bottom"><?php echo eo_get_the_start('M'); ?></span> </span> <span class="event-date-block"> <span class="event-date-top">-</span><span class="event-date-bottom"> </span> </span> <span class="event-date-block"> <span class="event-date-top"><?php echo eo_get_the_end('j'); ?></span><span class="event-date-bottom"><?php echo eo_get_the_end('M'); ?></span> </span> </td> <td class="cell-title"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" ><?php the_title(); ?></a></td> <td class="cell-venues"><?php echo eo_get_venue_name(); ?> </td> </tr> <?php endwhile; ?> </tbody> </table> </div> <div id="schedule-archived" class="schedule-tabs-content"> <table <?php echo $id; ?> class="<?php echo esc_attr($classes);?> schedule-table" > <tbody> <tr class="table-title"> <th class="header-date">Date</th> <th class="header-title">Course Title</th> <th class="header-venues">Venues</th> </tr> <?php $events = eo_get_events(array( 'numberposts'=>5, 'eo_interval' => 'expired' )); if($events): foreach ($events as $event) { ?> <tr class="schedule-row"> <td class="cell-date"> <span class="event-date-block"> <span class="event-date-top"> <?php echo eo_get_the_start('j', $event->ID,null,$event->occurrence_id) ?></span> <span class="event-date-bottom"><?php echo eo_get_the_start('M', $event->ID,null,$event->occurrence_id) ?></span> </span> <span class="event-date-block"> <span class="event-date-top">-</span><span class="event-date-bottom"> </span> </span> <span class="event-date-block"> <span class="event-date-top"><?php echo eo_get_the_end('j', $event->ID,null,$event->occurrence_id) ?></span><span class="event-date-bottom"><?php echo eo_get_the_end('M', $event->ID,null,$event->occurrence_id) ?></span> </span> </td> <td class="cell-title"><a href="<?php echo get_permalink($event->ID); ?>" title="<?php the_title_attribute(); ?>"><?php echo get_the_title($event->ID); ?> </a></td> <td class="cell-venues"><?php echo eo_get_venue_name($event->ID) ?> </td> </tr> <?php } echo '</tbody></table>'; endif; ?> </div> </div>
I’m editing the ‘shortcode-event-list.php’ to let my client use this table easily whenever he wants on the site.
How I can remove past events from the first loop? And why the venues are not retrieving on the archive?
Code responsible for venues is
<td class="cell-venues"><?php echo eo_get_venue_name($event->ID) ?> </td>
Should I create a new query for venue?
Forum: Plugins
In reply to: [Event Organiser] Checking if post is archiveHey,
No, archive events are past events that has already ended. So the last day of event is after today or something like that.
I do not know how to determine if events are archived and use a proper loop to retrieve it.
Thanks,
TomForum: Plugins
In reply to: [Social Media Feather | social media sharing] LinkedIn – featured imageNo, it’s actually working on front page, but if you can check the inside single pages or posts, https://www.endtheproblem.com/solve-a-problem-understand-it/
It’s not working.
Forum: Plugins
In reply to: [Rating-Widget: Star Review System] Widget does not updateI have the same issue. I bought a professional plan and contacted support about it and i’m waiting already 4 days without any answer…
Forum: Plugins
In reply to: [Facebook Comments Notifier] Not all comments showing upThank you for your answer. That could be a problem, i’m getting all notifications now.
Anyway, I have another problem, because the comments are not included here https://developers.facebook.com/tools/comments so I can have an insight for all of them.
I have added meta for fb:app_id because it wasn’t there, there is also fb:admins , but the comments are still not included.
Can you help me with this?
Best,
TomForum: Fixing WordPress
In reply to: Exclude slideshow on subpagesThat’s what I made on my own. I’m totally new to php, i was making this at the same time learning php language:
<div class="banner" <?php if(is_page('retirement')) { echo 'class="retirementpage"'; } elseif(is_page('business-owner')) { echo 'class="businessownerpage"'; } ?>>
and
.retirementpage {
background:url(https://www.spinnakerfin.com/wp-content/uploads/2011/06/slide_31.jpg) no-repeat;
}.businessownerpage {
background:url(
https://www.spinnakerfin.com/wp-content/uploads/2011/06/slide_21.jpg);
}But it is not working. What am I doing wrong? I think i need to disable this plugin on this subpages but I have no idea how to do it.