Why not grabbing text for photo view?

Home Forums Calendar Products Events Calendar PRO Why not grabbing text for photo view?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #101564
    henkle
    Participant

    Hello.
    On the single event pages i’m trying to display a lot of different information, hence im exploring different tab-systems or accordian solutions. Pasting code into the normal input text box in admin for event.
    Using Accordian it looks like this, and everything works fine.
    [accordion title=””]
[accordion-item title=”SHOW PRODUCTS”]
[products ids=”1,2,3,4,5,6″]
[/accordion-item]
[/accordion]
    AND THEN HERE COMES THE GENERAL TEXT….

    That works fine – in events views it grabs the text for listing, photo view, etc.

    However – inserting a tab system, where the general text is in the first tab – It does not work. No text is displayed in listing, photview, etc.
    Code starts like this:
    [row][col span=”12″][tabgroup][tab title=”About”]
    AND THEN HERE COMES THE GENERAL TEXT….
    [/tab]
    How come? Is there a way around this? I really like to use this solution you see.
    Thanks a lot for any advices.

    #102190
    Brook
    Participant

    Howdy henkle,

    I am not able to help too much with third party plugins. But I will gladly do what I can.

    Have you tried running that same code in a post, like a blog entry, and seeing if it show up empty or otherwise exhibits similar problems? If this Accordion plugin has a glitch, like forgetting to call do_shortcode() somewhere then you would see a problem like this. If the exact same code is not working in WP Posts and or Pages, then you definitely need to talk to the plugin author.

    If the exact code is working, then this could be a plugin conflict. Could you link me to a page where this is happening? Could also provide a link to the plugin you are using? There are quite a few accordion style plugins. I would be glad to take a quick look, but please keep in mind that I can not necessarily help you integrate our plugin with a third party one. Especially if that plugin is violating WP plugin standards in some way. You would need to hire a developer in a situation like that. Hopefully it will not come to that, but I just want to be upfront.

    Please let me know how the steps above go, and if I can answer further questions. Cheers!

    – Brook

    #102579
    henkle
    Participant

    This reply is private.

    #103195
    Brook
    Participant

    Howdy again Henrik,

    I follow you now. Thank you for the links, that really helped explain it.

    So, this boils down to how the tabs plugin works. It is likely programmed to not display on listing pages, places that call the_excerpt(); You would have to talk to the plugin author about fixing that, although it could have some nasty side-effects.

    As an alternative, what happens if you manually add an excerpt for events that use the tabs plugin? When adding or editing an event, if you scroll down a ways you will see a box titled “Excerpt” with the line “<label for=”excerpt”>Excerpts are optional hand-crafted summaries of your content that can be used in your theme. Learn more about manual excerpts.” If you add whatever text you want to display on the listing page inside of this box, with no shortcodes, then I think everything should work as expected. </label>

    Are you able to get it working now, or did you choose to contact the plugin author? Please let me know if I can clarify or otherwise be of further assistance. Cheers!

    – Brook

    #103457
    henkle
    Participant

    Ah, of course. I can use the excerpt. That’s good enough.
    Thanks!

    #103653
    Brook
    Participant

    Awesome! I am glad that will work for you. It should provide more granular control anyways.

    I might have been mistaken about the source of this problem. The reason those shortcodes did not work for you could be this function. If you do want to try and get it working in the future, you would want to replace all calls tribe_events_get_the_excerpt() using theme overrides. But, even if we got the content to show, it still might conflict when an event is loaded via Ajax. Using The Excerpt box is definitely the best solution in my opinion.

    Since this topic is resolved I am going to close it down. Please open a new one if you need further assistance. We will be glad to help!

    – Brook

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Why not grabbing text for photo view?’ is closed to new replies.