- This topic has 3 replies, 3 voices, and was last updated 7 years, 3 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › University Hub Pro › Events in University Hub Pro
Hello, how can I make University Hub Pro to show on front page the date when the event is going to be held instead of the date it was published?
Thanks.
Hello @divadmingt
The feature of showing the upcoming event is not in the theme .
However you can achieve what you want by creating the child theme.
Child theme references:
https://codex.wordpress.org/Child_Themes
You can also create the child theme using the plugin . Below is the link to one of them.
https://wordpress.org/plugins/wp-child-theme-generator/
After activating the child theme in your child theme create the folder template-parts. Then create the folder home inside the folder template-parts. Finally create the file news-and-events.php inside the home folder. After this paste below given code in news-and-events.php file
https://gist.github.com/anonymous/f6adaf90a2ffaa8c357745d73098b150
The order for creating the folder must be according to one we have mentioned .
Hope this helps.
Best Regards!!
This is beyond my comfort level is there not an easier way to achieve this. I feel a little mislead because the theme gives the impression that its included.
Hello @artisk,
The theme has provided the feature of event section to show the events that has already take place and we have provided the customization that will display the event that is going to be held in future .
Since the theme does not have such feature the only way we could provide the solution is through the use of Child theme .
As the theme itself does not have the feature to show the Upcoming event we have provided above given code as an additional Feature .
Hope this clears the confusion .
Best Regards!!
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |