• Resolved cellobrutos

    (@cellobrutos)


    Hi there,

    I have 2 identical installs of a wordpress site (4.2.2) with The Events Calendar 3.10 on it, the same plugins activated (same version), and basically the same content.
    However, in the list and single event views, on one of them, the following code gets added on top of the usual tribe-events div.

    Of course I can easily hide it with a simple css rule, but still, I don’t understand why it’s on one site and not the other, considering they are an identical install.

    Where does this come from? It seems to be using the page template for this.

    <section id="content" role="main">
    <article id="post-0" class="post-0 page type-page status-draft hentry">
    <header class="header">
    <div class="meta"?>
    <div class="floatright"><a class="post-edit-link" href="https://localhost:8080/wp-admin/post.php?post=0&action=edit">Modifier</a></div>
    </div>
    <h1 class="entry-title">→</h1>
    </header>
    <section class="entry-content">

    Thanks,
    Fran?ois

    https://www.ads-software.com/plugins/the-events-calendar/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter cellobrutos

    (@cellobrutos)

    Nevermind, it seems that writing it out pointed me in the right direction (hello, Ruber Duck). I’ve found the issue: in the settings page, instead of using the events calendar default theme, I was using the page default theme. So here goes. ??

    Brook

    (@brook-tribe)

    Excellent, glad it works now! Thanks for sharing the solution too cello.

    Cheers!
    – Brook

    @cellobrutos and @brook

    Should the Post ID = 0? I’m using v3.11 on 4.2.3 and I’m using the Theme Page Template and the output looks similar to yours where the Post ID = 0. I don’t think this is correct.

    I can’t use the Single Event Conditional Tags if the ID is reading 0.

    Any ideas why?

    Barry

    (@barryhughes-1)

    Hi @katart17,

    It’s essentially a “trick”, if you want to think of it that way, for us to make sure the loop within your theme template runs even though the event view is not a single post that lives in the database (ie, an event view is quite unlike a traditional WordPress page).

    Generally speaking it’s nothing to worry about ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Events list and single events are shown in a "post" view’ is closed to new replies.