Forum Replies Created
-
AuthorPosts
-
January 22, 2015 at 8:44 am in reply to: Share event to Facebook – no thumbnail, description #936225
terrizsolo
ParticipantOk well that’s really weird, I can see the events when I am logged in. But not in another browser where I am logged out of WP.
1. I flushed permalinks. Changed the permalinks. Changed them back. No help.
2. I added the Media Attachment snippet, but it gave me this error:
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘tribe_attachment_404_fix ‘ was given in /home/soloentr/public_html/newWP/wp-includes/plugin.php on line 496I’m working through the other steps but in the meantime, can you see this event (dev site): http://www.wpblogsitesdemo.com/terriz/class/widgets-test/2015-01-27/
January 22, 2015 at 7:22 am in reply to: Share event to Facebook – no thumbnail, description #936172terrizsolo
Participantjskk123 if you look at the source code of my example page, in the header I already specify the meta image I want for that page (I use a similar function to what you reference). Works great for any other post on my site except Events.
I don’t know why, but Facebook just doesn’t seem to like Event posts…
January 21, 2015 at 6:24 pm in reply to: Share event to Facebook – no thumbnail, description #935983terrizsolo
ParticipantNot sure why the forum shows this “marked as closed to new replies”.
Re-opening
terrizsolo
ParticipantThanks Geoff, for responding on Christmas Eve!
(As noted by several others who have looked for a solution to this, I understand the stance on not being able to support customizations, but it seems like a basic capability that should be built-in – if you can choose to show (or not) all recurring events in list view, to me it just seems logical that you should be able to choose to show them (or not) in WP search.)
I couldn’t figure out where to put the query_vars line in my function, but your second suggestion I was able to make work. For anyone else trying this:
<?php if (tribe_is_recurring_event() == 'true') : ?> <a href="<?php tribe_all_occurences_link ( get_the_ID(), 'true' ); ?>" rel="bookmark"><?php the_title(); ?></a> <?php else : ?> <a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a> <?php endif; ?>Merry Christmas 🙂
terrizsolo
ParticipantWell! It wasn’t working and now…it is! I have to adjust the css to make it work but I have at least one of them taking effect, so I know the styles are getting through!
-
AuthorPosts
