Home › Forums › Calendar Products › Events Calendar PRO › Calendar Preview
- This topic has 10 replies, 2 voices, and was last updated 8 years, 9 months ago by
dsb cloud services GmbH & Co. KG.
-
AuthorPosts
-
June 30, 2017 at 5:47 am #1314192
dsb cloud services GmbH & Co. KG
ParticipantHello support-team 🙂
In my screenshot you can see a normal preview of an event. Is it possible to show the event author of that event in this preview?
Greetings
PatrickJuly 3, 2017 at 1:04 pm #1315605Shelby
ParticipantHi there Patrick,
Thanks for reaching out, and I’m happy to help out here.
I think you’ll find Gustavo’s help offered in this thread to be of use in this situation. 🙂
Please let me know if you have any follow up questions about this or need any clarification!
Best,
Shelby 🙂
July 3, 2017 at 11:21 pm #1315740dsb cloud services GmbH & Co. KG
ParticipantHi Shelby,
thank you for the link, it helped a bit. After some testing and troubleshooting I get custome tooltips.
Sadly just downloading and installing the plugin from Gustavo didn’t work. I had to copy the plugin-files into my theme folder.
But one point is still not working. I wanted to the see the “author” of the event, not the “Organizer”.Greetings
PatrickJuly 4, 2017 at 7:40 pm #1316095Shelby
ParticipantHi again Patrick,
Thanks for clarifying! In this case, you’ll just have to reference the WordPress post author. There is some good information about doing this in the WordPress codex. 🙂
Let me know how this goes!
Cheers,
Shelby 🙂
July 4, 2017 at 11:07 pm #1316163dsb cloud services GmbH & Co. KG
ParticipantHi Shelby,
that works great, thanks a lot!
But sadly there is another problem now 🙁
In the backend I can see the correct author, but at the frontend it is the wrong one.
I think this is because I needed to delete this user in the past and recreate it.Greetings
PatrickJuly 4, 2017 at 11:54 pm #1316170dsb cloud services GmbH & Co. KG
ParticipantHi Shelby,
a small update, the problem does have anything to do with the fact, that I delete that user.
I just created a new one user and the function<?php the_author(); ?>always displays the same admin-user.July 5, 2017 at 12:31 am #1316176dsb cloud services GmbH & Co. KG
ParticipantHi Shelby,
it’s me again 🙂
I think I know what the problem is, but I don’t know how to fix it 🙁
The function
<?php the_author(); ?>
calls the autor of the site, on which the calendar is and not the autor of the single event itselfs.July 5, 2017 at 2:46 pm #1316491Shelby
ParticipantHi Patrick,
The author calls the author of the page, you’ll have to define the event post first, and then call the author of that particular post. 🙂
Hope that helps!
Shelby 🙂
July 25, 2017 at 12:16 am #1325624dsb cloud services GmbH & Co. KG
ParticipantHi Shelby,
I managed to get my “problem” solved.
<?php $author_ID = get_post_field( 'post_author', $post_id ); echo the_author_meta( 'display_name', $author_ID ); ?>Did the trick 🙂
Thanks for your help.Greetings
PatrickJuly 26, 2017 at 12:45 pm #1326555Shelby
ParticipantHi Patrick,
So glad I was able to help and you were able to get things worked out!
Take care,
Shelby 🙂
-
AuthorPosts
- The topic ‘Calendar Preview’ is closed to new replies.
