Help editing single_venue.php & list/content.php

Home Forums Calendar Products Events Calendar PRO Help editing single_venue.php & list/content.php

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #69451
    mcnultyco
    Participant

    Hi guys, I need some direction. I am trying to reverse the position of the venue description and the events list on each venue’s post, so that the venue description is at the bottom and the events list is at the top. I started by moving the code that gets the content (which was at the bottom of single_venue.php) above the div with the class “tribe-events-venue-meta vcard tribe-clearfix”.
    The results are not what I’m going for. That lead me to list/content.php and it appears what I tried didn’t work because content.php loads the footer.
    Is there a conditional I can use get it to wait on loading the footer until I can slip in a div with the venue description text, image, and map?

    #69750
    Barry
    Member

    I’m not sure if what you linked to demos a single venue page with your change in place or if you reverted to the default version of the template, but what you’re outlining seems to work for me (ie, placing the venue description, map etc below the list of events).

    Can you clarify what the problem is / can you share your modified template code (using a service like Pastebin or Gist, instead of posting directly into the forum)?

    Thanks!

    #69780
    mcnultyco
    Participant

    I did change it back to the unedited template. I need a time frame when the client wont be testing the site to show you the results. Can you give me a window? Here is how I edited the code: http://pastebin.com/tEASt7uW

    #69790
    Barry
    Member

    Unfortunately it’s difficult for us to provide a window – but your code looks fine and is what I pictured when you described the change you had made initially. At least when testing on a default theme like Twenty Twelve it all looks fine to me – if you can explain why it doesn’t work for you / perhaps link to an example on a testing site that would be fantastic 🙂

    #70153
    mcnultyco
    Participant

    10-4. I have uploaded the single_venue.php file above to the site. give it a look: http://www.farawayentertainment.com/wp/venue/bainbridge-cinemas/

    #70290
    Barry
    Member

    Ah ok. Not sure why I couldn’t replicate that before but I can now 🙂 … would this sort of approach work for you as an alternative?

    #70450
    mcnultyco
    Participant

    It does seem to work, and the client doesn’t mind the loss of some of the styling.
    Can you tell me a bit about what was going on?
    From looking it over quickly, the output buffer wrapper was all that was needed, is that right?

    #70457
    Barry
    Member

    To display the list (of events) a new loop is started and the original venue data disappears. So there are other ways of accomplishing the same thing, this was really just a quick and easy way of rendering the venue information and retaining that piece of output but not displaying it until after the list of events had rendered.

    Since it sounds like you’re all sorted though I’ll go ahead and close this thread. Thanks!

    #981390
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Help editing single_venue.php & list/content.php’ is closed to new replies.