ksaffy
Forum Replies Created
-
Forum: Plugins
In reply to: [Smooth Scroll Up] How do I get the graphic shown above?By using icons like awesome font, you can add your own ‘graphics’ and set the style in an element. Just add straight to the text input. e.g. something like:
<span style="color:#E80000;"> <i class="fa fa-chevron-circle-up fa-5x" title="scroll to top" alt="scroll to top"></i></span> <br /><span style="color:#CCC;font-size:0.9em;text-align:center;vertical-align:top;position: relative;top:-28px;left:22px;">top</span>Should give a chevron up arrow in a red circle with transparency and white text. You can adjust the colours, font and size using css in the style span.
You can see a working example here:
Boteco Do BrasilForum: Plugins
In reply to: [Post UI Tabs] Strip shortcode text in excerptIt was in the plugin settings. I have the following enabled:
Enable tabs for archives
Use tabs on more pages
Use disabled tabs
That sorted it out for me, hope it works for you. 🙂
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Events Manager & YARPPYeah! Well I’m glad you’ve got it sorted. I think the answer lies in the great mystery that is WordPress and themes.
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Events Manager & YARPPOK, here’s my full code for what I have in single-event.php (I’ve taken out the unnecessary code for other things I have). I’m using events manager, I’m assuming you’re using the same.
When
<?php related_posts(); ?>is called, it should call the yarpp-template-thumbnail.php, if <?php custom and the Thumbnail template is selected in display options. So you shouldn’t really need to define a related posts array in the function.Sorry but I can’t think of anything else to help you to get it to work for your theme.
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Events Manager & YARPPThe file you’ve pasted the function in, is it for events only? Have you tried using the code above in your template but making sure NO Automatically display options for posts/pages/events are checked in the display option settings?
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Events Manager & YARPPNo I’m not, which is why I don’t have anything checked for those options. I’m not showing it for any other posts / pages on my site, but if I want to all I would need to do is check them in the options. I only want to show related events and control how they’re shown, so by using the php custom template and adding the related post function it works perfectly for me. My custom post type shows up in the options for YARPP, I just don’t use it.
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Events Manager & YARPPMy events are shown as posts, so in event-single.php I added
<?php related_posts(); ?>
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Events Manager & YARPPI’ve not actually altered the code for the plugin at all. What have you got your plugin settings at? I have relatedness match threshold set to 1. In the display options, the php code is selected (not list, not thumbnail) and the template file ‘Thumbnail’ selected. The automatically display for posts, events, etc is unchecked for all post types.
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Events Manager & YARPPMitcho sure I can give you a link to the site. The site is for listing clubs and gigs:
http://www.classicgrand.com/gigs
Here’s an example of a single event showing another shared event based on a shared custom taxonomy I created named ‘Promoters’. I’ve also added in another custom taxonomy ‘Genre’, which is weighted less for related events.
http://www.classicgrand.com/events/inside-the-ropes/
@mohamedhamad, I’m using the built in yarpp-template-thumbnail.php, selected as a style in settings for the plugin. I’ve then just modified that .php file to suit what I want.
The only downside to the code is, if an event is past, the else message doesn’t show. No time to work on resolving that but it’s not a huge problem as we have so many events listed.
Perfect Aaron – updated to your latest version and seems to be working with no issues. Cheers!
Forum: Plugins
In reply to: [WP Favorite Posts] Show Favorites page in grid??There’s various options. I just created div elements for add link and remove link and set the images with css. Glad you got it to work for you 🙂
It may not help with your other plugin conflicts, but with autoptimize, I get the same problem – no slideshow showing and javascript errors (coming from autoptimize).
Hi Jason,
Thank you for the very quick response. I deactivated and deleted lazy load and fancybox as I can live without them, but after checking with firebug, the culprit was bwp minfiy (which I deleted some time ago). I’ve now deleted it from my cpanel and all conflicts are resolved.
I’m getting the same problem. In addition, my slideshows don’t work and the site is now taking an average of 3mins load or timing out. I’ve had to disable this plugin.
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Yarpp SupportJulie I was looking for the exact same thing! A bit of jiggery pokery and I managed to get the YARPP template working (yarpp-template-thumbnail.php) to show only current and future events. I’m using the thumbnail template and I’ve replaced it with my own code to show the related posts as thumbnails – but it’s only the event date element that you’ll need to use. Not quite the same as filtering to remove past events, but it does the same job.
Here’s the code:
<?php global $post; $EM_Event = em_get_event($post->ID, 'post_id'); ?> <h3 class="sub">Similar Events</h3> <?php if (have_posts()):?> <?php while (have_posts()) : the_post(); $EM_Event = em_get_event($post->ID, 'post_id'); $eventdate = date('Y-m-d', $EM_Event->start); $today = date('Y-m-d',current_time('timestamp')); ?> <?php if ($eventdate >= $today):?> <ul id='related_posts_thumbnails'> <li> <?php $d = date_i18n(get_option('dbem_date_format'), $EM_Event->start); ?><?php $t = date_i18n(get_option('time_format'), $EM_Event->start) ; ?> <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_post_thumbnail('270x150'); ?><span><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title_attribute(); ?><br /> <p class="left"><?php echo $d ; ?></p><p class="right"><?php echo $t ; ?>Â Â </p> </a></a></span></li> </ul> <?php endif; ?> <?php endwhile; ?> <?php else: ?> <p>No similar events...</p> <?php endif; ?>