Posted: August 15, 2013 at 5:30 pm
|
I’ve been trying to implement directions given in previous forum posts, requesting how to make the ‘More’ tag work properly in the Event Description pages, but after a couple of hours have to give up! This is the most recent help given (but 1 year ago so maybe outdated??):
I have the same problem as those others did, in that when we use the More tag, it does cut off the text but gives no ‘Read More…’ or similar link so the reader can click to see the full event description. Help appreciated please! |
I think you’re thinking of this post: https://eventespresso.com/topic/read-more-buttonlink/#post-11546 I honestly can’t say why that code would not work today. If you can post a copy of your modified event_list_display template over at pastebin.com and post a link to the pastebin here one of us can take a look at the code. |
|
|
I’ve put the relevant bit of code up – although couldn’t get it to be coloured like yours are. This is the link: |
Nothing wrong with the code there. This might be more of a case that your customized file is not getting loaded up. If you are trying to load the file from /wp-content/uploads/espresso/templates you will also need to copy the event_list.php file from the Event Espresso plugin and paste it into the /wp-content/uploads/espresso/templates location. -or- you can copy your modified event_list_display.php file over to your active theme’s directory and it will load from there with the event_list.php only in the Event Espresso plugin. There is more information in this guide: https://eventespresso.com/wiki/put-custom-templates/ Note that some templates need to be copied over in pairs. For example, if you make a change to event_list_display.php, you’ll need to copy over it’s counterpart event_list.php. Also please note that if we need to make a change to a template in version of Event Espresso, you’ll need to copy this change into your custom template to stay current with the plugin. We recommend using Diffmerge to help merge changes into custom templates. |
|
|
Josh, you are just such a whizz …you know that?!! π I took a couple of hours off as brain had had it, and when I cam back suddenly had the inclination to just check that I had the event_list.php there too, although I was (almost) certain that I did …when I looked though I had altered the name of that file (putting ‘_orig’ in it’s name as a backup in case I mess the files up) and had forgotten to put the file with it’s proper file name there. Needless to say, it’s now worked beautifully π Many thanks to you π |
|
Btw, Is this the Diffmerg site you mean? |
Yep, that’s diffmerge. And another option that you can use within the web browser for doing code comparisons is at prettydiff.com |
|
|
Josh, nearly there …but one more small challenge still: it’s showing the address after the Read More, which is untidy/not nice, etc. Here on this page is what I mean: http://gator3027.hostgator.com/~yep1/forthcoming-events/ …how can I tell that to remain hidden on this page listing all future events, but to appear of course on the actual Event page? |
That’s an option in Event Espresso>Template settings: Display addresses in the event listings?, you can set that to no. https://eventespresso.com/wiki/template-settings/#templateoptions |
|
|
Yes that did the trick …thanks so much for your help today, you’ve been brilliant π |
The support post ‘Problem with the 'More' tag in event description’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.