How to Show Featured Event in Homepage

  1. Home
  2. Docs
  3. Januas
  4. Frequently Asked Question...
  5. How to Show Featured Event in Homepage

How to Show Featured Event in Homepage

To add the featured event so that it also shows up below with all the other events on the homepage, follow the next steps:

1. Please install and activate child theme. Have a look on this theme guide below:

https://showthemes.zendesk.com/hc/en-us/articles/207622335–Januas-Theme-How-to-activate-a-child-theme

2. Copy index.php from parent theme (wp-content/themes/januas) and paste in to the child theme (wp-content/themes/januas-child).

3. Backup the original files before editing.

4. Open the file januas-child/index.php

5. Find these lines (line number 25 and 26)

if (get_post_meta($post->ID, ‘januas_eventdata_featured’, true) == ‘y’) continue;

6. Remove or comment the previous lines like this:

/*if (get_post_meta($post->ID, ‘januas_eventdata_featured’, true) == ‘y’) continue;*/

7. Save.

Was this article helpful to you? Yes 1 No