Home Forums Pro Themes University Hub Pro Events in University Hub Pro

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #44304
    DIVADMINGT
    Participant

    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.

    #44326
    wensolutions
    Keymaster

    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!!

    #50231
    Karen Artis
    Participant

    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.

    #50343
    wensolutions
    Keymaster

    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!!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.