Posted: May 7, 2013 at 10:02 am
|
Hi, I want to have the event listing on the homepage of my website. I presently use the Graphene Theme. Also, I don’t want the full details of the event, I want only the Event Title and Feature image to show until you click on the event title. |
Hello, You could use the Single Event shortcode: [SINGLEEVENT single_event_id=”your_event_identifier”]
|
|
|
Will it list all events like that? |
|
Sir, it didn’t work as I expected. What I really want is the list of event titles and the featured image i have posted. When clicked, you read full information of the event. I want all the events to appear on the home page as post.
Thank you. |
|
Hello, There is no default option to do this, however it can be done with the [EVENT_LIST] shortcode and some coding. Options: 1) use CSS to hide the information you dont want and resize the featured image. eg #myeventtitles .event_price, #myeventtitles .spaces-available, #myeventtitles .register-link-footer { display:none; } #myeventtitles .ee-featured-image { width: 100px; } Two things to note here, on the page I put the [EVENT_LIST] shortcode I wrapped it in a div with an ID, like so [EVENT_LIST]
. Also the Date cannot be hidden by CSS unless you hide the featured image as well or have a specific list of events. 2) Modify the template files. Copy the event_list.php and event_list_display.php files to the wp-content/uploads/espresso/templates directory. There edit the event_lsit_display.php to remove any items you dont want dispalyed. YOu will still need some css to tweak it. 3) use the Custom Files addon, specifically the [EVENT_TABLE] shortcode. These files are meant to be worked with so it may still require a template modification/css change. |
|
Hello Sir, I don’t understand all you have said… Can you give me a step-by-step guide to this. where do i put the css coding and tweaking. Thank you. |
|
Hi, If you are not sure on how to edit CSS or PHP files, I would recommend looking at some of the basic guides available about these http://www.w3schools.com/css/ & http://www.w3schools.com/php/. Also it may be worth contacting your web developer or one of these recommended developers https://eventespresso.com/developers/event-espresso-pros/ |
The support post ‘Event Listing on Homepage’ 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.