WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
page title not displaying (13 posts)

  1. brody182
    Member
    Posted 1 year ago #

    can you fix your plugin?
    title not displaying if i add is_front_page()

    <?php if ( ! is_front_page() ) { the_title(); } ?>

    if I use the code bellow its displaying the title twice?!?!?

    <h1 class="pagetitle"> <?php if ( ! is_front_page() ) { get_template_part('title'); } ?>

    http://wordpress.org/extend/plugins/the-events-calendar/

  2. jonahcoyote
    Member
    Posted 1 year ago #

    Hi brody182,

    You'll need to be more specific. Can you provide a little more context or more examples of what you're trying to do and what's going on?

    Thanks,
    Jonah

  3. brody182
    Member
    Posted 1 year ago #

    what more explanation do you need? if i use is_front_page in my theme it does not display the title.. if i use get_template_part('title'); it displays the title twice..

    i gave you code examples above.

  4. brody182
    Member
    Posted 1 year ago #

    I do not want to display the title on the home page so i do this : <?php if ( ! is_front_page() ) { the_title(); } ?>

  5. jonahcoyote
    Member
    Posted 1 year ago #

    Hi brody182,

    is_front_page() or get_template_part('title') are not a functions of our plugin so I'm confused about what this has to do with our plugin. I need a more specific example to be able to understand what you're talking about otherwise I will not be able to help you.

  6. brody182
    Member
    Posted 1 year ago #

    is_front_page might not be a specific function of your plugin, but the way you display the_title will not work on the /events page if i add is_front_page function to the_title

    why don't you try it

  7. jonahcoyote
    Member
    Posted 1 year ago #

    I still don't understand what you are trying to do because you are not providing me any context or more specific examples. If you can't do that, I can't help you.

  8. brody182
    Member
    Posted 1 year ago #

    maybe you're just playing dumb with me. I don't know how much clearer i can be.

    I currently have a theme that uses the example code below to display the title.
    <?php if ( ! is_front_page() ) { the_title(); } ?>

    if i go to mywebsite.com/events the title will not display

  9. jonahcoyote
    Member
    Posted 1 year ago #

    Hi brody182,

    As mentioned in our sticky thread (http://wordpress.org/support/topic/welcome-the-events-calendar-users-read-this-first), we unfortunately are unable to help with with customization, styling or integration issues not caused by bugs with The Events Calendar. You have a few options:

    1. Check out our extensive support resources and try to figure it out on your own: https://tri.be/support/ & http://tri.be/support/forums
    2. Hire a developer to assist you. We've got a list of freelancers who know our code and who we can vouch for. Email us (pro at tri.be) and we'll pass that list your way.
    3. Purchase a Pro license to get more support: http://tri.be/shop/wordpress-events-calendar-pro/. As mentioned in the sticky thread, we can provide both a deeper and more frequent level of support for PRO users.

    I hope that helps and good luck!

    Cheers,
    - Jonah

  10. Andy Fragen
    Member
    Posted 1 year ago #

    Hi brody182,

    I think the problem here is that the calendar produced by this plugin uses a method of a virtual page. I'm sure I'm not explaining this correctly but the impact is that it will generate a false response to is_front_page().

    Check out https://gist.github.com/jo-snips/2415009

    It may help.

  11. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 1 year ago #

    Thanks a lot for the help here, Andy. Your assistance and feedback - as always - is greatly appreciated.

    Brody, let us know if this points you in the right direction. Cheers.

  12. brody182
    Member
    Posted 1 year ago #

    stop beating around the bush and see if you can fix your plugin the lack of support for wordpress api is the problem. The fact that you're using very limited WordPress api calls in your plugin makes it hard to work properly with any template

  13. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 1 year ago #

    Hi, Brody. Thanks for the follow-up. As I mentioned in my response to your review, a resolution could be reached here in a much more efficient fashion if we all took a step back and calmed down a bit. I humbly reiterate that request again at this point in time.

    It should be clear by the responses above that no fewer than 3 folks - myself and Jonah from the official team, and Andy, who is just volunteering his time - are trying to help you out here. As Andy noted the calendar does create a "page" at /events and the Gist provided should be enough to point you in the right direction on working around that. But from what I can tell what you've noted here actually, isn't a plugin problem...so there isn't really anything to "fix". You're among the first to report it and based on what I'm seeing, the issue is specific to the theme you're using and not the plugin itself. (Please do let me know if I'm misunderstood here.)

    Hope that helps. If you're still frustrated from there, I'm going to be honest and say it sounds like this relationship might not be a very appropriate fit. The good news is that there are a number of quality calendaring plugins around, each with a different feature set and level of support, so you should have no problem finding one that better meets your needs. Best of luck!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic