Home › Forums › Calendar Products › Events Calendar PRO › Why not grabbing text for photo view?
- This topic has 5 replies, 2 voices, and was last updated 12 years, 2 months ago by
Brook.
-
AuthorPosts
-
February 6, 2014 at 3:01 pm #101564
henkle
ParticipantHello.
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.February 7, 2014 at 8:40 pm #102190Brook
ParticipantHowdy 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
February 10, 2014 at 4:17 am #102579henkle
ParticipantThis reply is private.
February 11, 2014 at 7:29 am #103195Brook
ParticipantHowdy 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
February 11, 2014 at 1:43 pm #103457henkle
ParticipantAh, of course. I can use the excerpt. That’s good enough.
Thanks!February 12, 2014 at 5:28 am #103653Brook
ParticipantAwesome! 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
-
AuthorPosts
- The topic ‘Why not grabbing text for photo view?’ is closed to new replies.
