Support only during business hours : Monday to friday, from 8:30 am โ€“ 5:30 pm CEST

Due to the decrease in our staff due to vacations, our response time may be longer.

Be sure we're doing our best to manage your topic as soon as possible.

the content() hook don’t work witt PODS Auto Template

Find Answers and Get Support Forums Sinclair – Political & Donations WordPress Theme Performance Optimization the content() hook don’t work witt PODS Auto Template

This topic is resolved
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • Yasin Arabacioglu
    Participant
    • 1 Topics
    • 6 Posts
    @efrasiyab

    Hello,

    I’m using Pods โ€“ Custom Content Types and Fields plugin for events to make some customizations, like event tickets and event line-up etc.. PODS plugin has auto template feature that output custom fields automatically after the_content() hook. I couldn’t achieve to show custom fields with Sinclair theme (other themes i try i have no problem with that)

    Could you please help me?

    Manathan
    Keymaster
    Themosaurus Support
    • 0 Topics
    • 6323 Posts
    @themodactyl

    Hello Yasin,

    Thank you for reaching out to us.

    Sinclair has not been made compatible with this plugin. Please note that our support policy does not cover custom development, and it seems like your issue might require some custom work to make this plugin compatible. However, I’d be happy to provide you with some resources that might help you find a solution:

    The Pods framework has extensive documentation that covers various topics, including hooks and custom development. You can access it here: https://pods.io/docs/
    The Pods support forum is a great place to ask for help with Pods-related issues. You can find it here: https://pods.io/support/

    If you’re not comfortable with custom development, you might consider hiring a developer. Websites like Upwork, Freelancer, and Toptal can connect you with WordPress developers who can help you with your issue.

    I hope these resources help you find a solution to your issue. If you have any other questions about Sinclair or its features, please don’t hesitate to ask.

    Best regards,

    Yasin Arabacioglu
    Participant
    • 1 Topics
    • 6 Posts
    @efrasiyab

    Hey Manathan, thanks for the quick reply. I will make some investigation on your links.

    Just one question? Sinclair has the_content() hook support or not? Or another hook in the event single page?

    Best regards,

    Jason
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 429 Posts
    @themoceratops

    Hi Yasin,

    Sinclair itself doesn’t modify the template for the single event, but our Grimlock for The Events Calendar plugin (which is our compatibility plugin for The Events Calendar) does modify the single event template. However, even our modified template is using the_content(). If you are curious, you can find the template in grimlock-the-events-calendar/templates/v2/src/views/single-event.php and you can see that we are indeed using the_content() on line 98 of that template.

    Have you tried this with other post types than events ? I’m wondering if this is a problem with The Events Calendar itself. Another thing you could try would be temporarily disabling Grimlock for The Events Calendar to find out if it’s the culprit that is interfering with Pods.

    Hope this helps !

    Regards,

    Yasin Arabacioglu
    Participant
    • 1 Topics
    • 6 Posts
    @efrasiyab

    Hi Jason,

    After examined Sinclair plugins, I found that Grimlock for The Events Calendar made some modifications on events, not Sinclair theme itsel. It uses the_content() hook but I couldn’t to achieve work the hook with PODS plugin. I’m walking around and solve my problem temporary. I’m using “Execute Auto Template outside of the WordPress loop (advanced)” option and it works but it has some disadvantages.

    I tested the plugin with blog posts and it’s working with them. Only event, venue and organizer (The Events Calendar post types) posts has this hook problem.

    After the disable grimlock event plugins, PODS templates begin to work without problem.

    I am working on the solution.

    Thanks for your reply.

    PS: I’m native Turkish speaker. If you need, I can translate Sinclair theme into Turkish ๐Ÿ™‚

    Jason
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 429 Posts
    @themoceratops

    Hi Yasin,

    Thank you for your feedback! After doing some tests on my end I managed to replicate and then fix the issue. I’ve pushed a new update for Grimlock for The Events Calendar (1.3.4) with the fix. Can you update the plugin to see if that fixed the issue for you too?

    About the translation, it’s up to you if you want to share your .po file with the Turkish translation for Sinclair and / or some of our Grimlock plugins ๐Ÿ™‚ We would be glad to include them in future updates but please note that we don’t have updates planned at the moment (unless there are bugs to fix of course!), so it might be a while until we can include these translations. So it’s up to you whether you want to share it with us, but we appreciate the offer regardless!

    Best regards,

    Yasin Arabacioglu
    Participant
    • 1 Topics
    • 6 Posts
    @efrasiyab

    Hi Jason,

    I tested new version both
    1. on my project (that has lots of modification and plugins)
    2. fresh installed wordpress and sinclair with only default plugins + PODS plugin + The Event Calendar Pro plugin

    It works perfectly on both but has small bug. If event has 1 organizer after the content of the organizer, it execute POD auto template again. Please check sample the screenshot. I put a green Test Button with POD template. It shows twice after the content. If i comment out modules \meta\organizer.php line 79 //echo wp_kses_post( $organizer_content ); it works perfectly.

    If we have 2 or more organizer we have no problem.

    By the way, i found another small bug grimlock-the-events-calendar\templates\v2\src\views\modules\ meta.php line 29 “Event tags” cannot be translated by Loco Translate plugin. Because it doesn’t include in Sinclair translation file…

    About translation, I have translated Sinclair theme and Grimlock for The Events Calendar using Loco Tranlate plugin for my project. I’ll send you if you give me an email address or alternative upload method.

    Yasin Arabacioglu
    Participant
    • 1 Topics
    • 6 Posts
    @efrasiyab

    Hi Jason,

    I forgot to write another small bug (!). If the event has two or more venues Grimlock’s template will be totaly messed up. Could you please check this by adding two venues for an event?

    I solved to problem for my project by totaly copying Grimlock for the Events Calendar’s modules directory into Sinclair theme directory.

    Jason
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 429 Posts
    @themoceratops

    Hi Yasin,

    Indeed after some tests I’ve had the same issues when using one organizer, and using multiple venues. I’ve pushed a hotfix for Grimlock for The Events Calendar (1.3.5) to fix these issues.

    About the translation of “Event tags”, this text was taken directly for The Events Calendar and since we haven’t modified it, you need to translate it directly in The Events Calendar with Loco Translate, not in Grimlock for The Events Calendar or Sinclair. Here’s a tip that might help you with translations : notice how the “Event tags” is followed by “the-events-calendar” in the meta.php file? This is called the text-domain and determines where you need to translate the text. If the text-domain is “the-events-calendar” you need to translate it directly in The Events Calendar, if it’s “sinclair” then you need to translate it in Sinclair, etc…

    If you wish to send us your translation files, you can send them directly at support@themosaurus.com.

    Best regards,

    Yasin Arabacioglu
    Participant
    • 1 Topics
    • 6 Posts
    @efrasiyab

    Hello Jason,

    Thanks for the fix. I tested it and everything OK now about Grimlock for The Events Calendar ๐Ÿ™‚

    About “Event tags” thanks for the tip. I found the line “Event Tags” (with uppercase T) and translate it (actually i’m official translator for The Event Calendar) but this didn’t work for me. May it be a case sensisitive area? I’ll report this issue to the Event Calendar team. Thanks.

    If you wish to send us your translation files, you can send them directly at support@themosaurus.com.

    I’ll mail the translated files within a week.

    Thanks,

    Manathan
    Keymaster
    Themosaurus Support
    • 0 Topics
    • 6323 Posts
    @themodactyl

    Hi Yasin,

    I’m glad to read Jason was able to help you.

    Don’t hesitate to keep us up to date about “Event Tags” translation.

    Great to read that! We thank you for your contribution! It is really appreciated. ๐Ÿ™‚

    Best,

Roboraptor ๐Ÿฆ–
Themosaurus Topic Closer

Hi there,

This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!

Best regards,
The Themosaurus team.

Viewing 11 posts - 1 through 11 (of 11 total)

The topic ‘the content() hook don’t work witt PODS Auto Template’ is closed to new replies.

Troubleshooting Demo Imports

You're trying to setup your theme but you're experiencing errors when importing the demo content? Or you've just followed the setup guide but your website doesn't look exactly like our demo? These are common issues for which you can find easy and quick fixes.

Happy With our Support So Far?

Feel free to review our theme on Themeforest! It helps us making our products more known to new potential customers, which allow us more time to improve the quality and develop new features. #SharingIsCaring ❤️

Discover MatchPress

Skip โ€ข Like โ€ข Super-Like

Add powerful matching features like Member likes, skips, super likes, conditional private messaging and much more.

Setup Your Cera or Gwangi powered Community Website and Turn it into an iOS and Android App

15% discount for Cera users

To unleash the full power of your Cera or Gwangi theme, we have partnered with the Zipline team. Your community website can now be fully setup and turned into your very own custom app for iOS and Android.

Whether you've newly acquired the theme or already got your site up and running, Zipline got you covered. And we got you an incredible discount.

Holiday, Weather & Festive effects
to pimp your WordPress Site