fireflip
Forum Replies Created
-
Hey, I’m having this same issue. On pages with a Flickr gallery my FontAwesome icons are being broken because of the gallery’s stylesheet. Is there any way to turn this off?
Thanks!
- This reply was modified 6 years, 4 months ago by fireflip.
Forum: Plugins
In reply to: [WooCommerce] Send “Order Notes” Field to PayPal@anphira ooooh thank you! I didn’t realize the Woo Crew didn’t watch over here.
Thanks too for confirming I couldn’t do it using regular old PayPal, at least now I can quit beating my head against it.
Forum: Plugins
In reply to: [Eventbrite API] Display Date OnlyHey @fibiet,
Did you remember to call the Eventbrite query on your single.php page?
It’s this bit…
// Set up and call our Eventbrite query. $events = new Eventbrite_Query( apply_filters( 'eventbrite_query_args', array( // 'display_private' => false, // boolean // 'nopaging' => false, // boolean 'limit' => 1, // integer // 'organizer_id' => null, // integer // 'p' => true, // integer // 'post__not_in' => null, // array of integers // 'venue_id' => null, // integer // 'category_id' => null, // integer // 'subcategory_id' => null, // integer // 'format_id' => null, // integer ) ) );Forum: Plugins
In reply to: [Eventbrite API] Display Date Only@fibiet well I said I couldn’t figure it out but then, turns out I could haha.
Here is what worked for me (this goes into your theme’s functions.php file). I was wanting to return only the abbreviated month and day – like so “Oct. 17” so that’s what I modified the function to do.
There is a strong possibility that this could be done much more elegantly and I make no guarantees to the code but it worked for me.
Let me know if you get stuck.
/* BEGIN MY FUNCTION */ if ( ! function_exists( 'eventbrite_event_date' ) ) : /** * Output event information such as date, time, venue, and organizer */ function eventbrite_event_date() { // Determine our separator. $separator = apply_filters( 'eventbrite_meta_separator', '<span class="sep"> · </span>' ); // Start our HTML output with the event time. $time = '<span class="event-time">' . eventbrite_event_day() . '</span>'; // Assemble our HTML. Yugly. $html = sprintf( _x( '%1$s%2$s%3$s%4$s', '%1$s: time, %2$s: venue, %3$s: organizer, %4$s: event details (only on index views)', 'eventbrite-api' ), $time, $venue, $organizer, $details ); echo apply_filters( 'eventbrite_event_date', $html, $time, $venue, $organizer, $details ); } endif; if ( ! function_exists( 'eventbrite_event_day' ) ) : /** * Return an event's time. * * @return string Event time. */ function eventbrite_event_day() { // Determine if the end time needs the date included (in the case of multi-day events). // Assemble the full event time string. $event_time = sprintf( _x( '%1$s %2$s', 'Event date and time. %1$s = start time, %2$s = end time', 'eventbrite_api' ), esc_html( mysql2date( 'M j ', eventbrite_event_start()->local ) ), esc_html( $end_time ) ); return $event_time; } endif; /* END MY FUNCTION */Forum: Plugins
In reply to: [Eventbrite API] Display Date Only@fibiet is that answer something you know how to do? Because unfortunately I sure don’t!
Forum: Plugins
In reply to: [Eventbrite API] Display Date OnlyHey, thanks for the reply!
I’m able to pull in the loop using this code…
<?php // Set up and call our Eventbrite query. $events = new Eventbrite_Query( apply_filters( 'eventbrite_query_args', array( // 'display_private' => false, // boolean // 'nopaging' => false, // boolean 'limit' => 1, // integer // 'organizer_id' => null, // integer // 'p' => true, // integer // 'post__not_in' => null, // array of integers // 'venue_id' => null, // integer // 'category_id' => null, // integer // 'subcategory_id' => null, // integer // 'format_id' => null, // integer ) ) ); if ( $events->have_posts() ) : while ( $events->have_posts() ) : $events->the_post(); ?> <div>next seminar</div> <div><?php eventbrite_event_meta(); ?></div> <?php endwhile; endif; ?>The problem is that brings in too much information (date, time, etc). Is there a way to only display the date?
Thanks so much!
This is still an issue in WordPress 3.8! Has there been any progress on a fix?
Thanks!
Hey Tizz,
Yeah the reason I’m wanting to stay away from physically creating the galleries and albums is that I going to have hundreds of galleries organized into dozens of albums and that would just end up being a monster to keep up with.
I’m going to keep messing with it though and I appreciate your help.
Daniel
Hey Tizz,
I think the main difference between what I am trying to do and what you have going on is that I am trying to use the album feature.
In NextGEN you can create galleries of images and then collect those galleries into an album with each gallery having a cover image.
The reason this is a problem for what I am trying to do is because NextGEN is creating the individual gallery pages, they aren’t pages that I am making and then inserting the gallery into (like with a shortcode or similar).
Your example would be perfect (nice site by the way!) if instead of a drop down menu you had a page of albums with each gallery in your drop down menu being in an album.
Does that make sense at all? I know I have a tough time explaining exactly what I’m trying to do with this and where I’m getting hung up.
When I add the code to create the previous and next links they do not link to my next gallery but rather to some other page that WordPress is saying is next (and I can’t quite figure out how it is deciding that my “Map” page is the next page).
Either way, thanks so much for talking this through with me.
Hey Tizz,
Thanks so much for your reply. That is definitely one of the things I’ve tried but the problem is that next/previous link codes (at least the ones I have tried) don’t know what the next page *is*.
I can’t seem to figure out a way to make all of the NextGEN created gallery pages be sibling pages to each other so that you can page through them.
Is there perhaps a whole different way to go about this?
Thanks!
Forum: Fixing WordPress
In reply to: CSS Code for SafariHi Becky,
It looks like further down in the code (line 7558) there is some CSS declaring a background-image which is actually just a single color gradient (in this case black).
I was able to show your maroon color by adding the line “background-image:none;” to your .navbar.pl-color-black-trans class on line 163 (you may also need to add !important, “background-image:none !important;” depending on how your theme is set up).
I hope this helps!
Nevermind! I believe I figured this one out on my own.
Forum: Hacks
In reply to: Relate Images to Posts, Advice?Thanks so much! The tagging media atachments part of it is actually taken care of already compliments of a great plugin (WP Media Tagger) but I couldn’t figure out what to do with the tagged images.
I think your pointers were just what I needed to set me on the right track.
Thanks!
Forum: Themes and Templates
In reply to: [Expound] Featured post up top, then four-post rowVery cool, thanks for getting back to me!
Forum: Themes and Templates
In reply to: [Expound] Featured post up top, then four-post rowHi Konstantin,
Thanks for making such a nice, flexible theme!
I like your “five featured posts” so much that I’m wanting it for my front page. However, I would prefer there to *only* be the five posts on the front page.
Do you have any advice on how I could set up a secondary posts page that would hold all the rest of the “non-sticky posts” so they wouldn’t show up on my home page?
Thank you!