Contents

1. I can't find my purchase number, where can I find it?

2. Vega Header Image

3. How to setting up forms

4. Add ShortCode

5. I want to export booking, what should I do?

6. Plugins Licenses

7. Can I Override MEC Template ?

8. How to update the Theme

9. Booking Module Not Working

10. I purchased the theme but didn't get the images as shown in demo. Why?

11. White screen (blank page) after installing theme

12. Plugins Licenses

13. Why can't I use HTML tags?

14. It seems, rows are in blox

15. How theme licensing works? Am I allowed to install the theme in a test environment prior to the official website?

16. Internal Server Error

17. How to update the Theme

18. I updated the theme but the visual builder is still old version. What can I do?

19. MEC Theme Integration Guide

20. It seems that when using header menu it breaks up into 2 lines, how can they always remain on 1 line?

21. I am updating my site/theme but it says I need a Visual Composer License Key to get the latest version. How do I get this?

22. The package could not be installed. The theme is missing the style.css stylesheet. Theme install failed...What’s wrong?

23. My Contact forms not work

24. I updated the theme but the visual builder is still old version. What can I do?

25. No Event Found!

26. Webnus importer

27. Don't work revolution slider 'whiteboard slider'

28. How theme licensing works? Am I allowed to install the theme in a test environment prior to the official website?

29. Create token

30. What are best WordPress/ PHP settings?

31. I Can't Export iCal

32. How to create onepage menu

33. I can't find my purchase number, where can I find it?

34. How To Remove Duplicated Menu Items After Importing

35. The package could not be installed. The theme is missing the style.css stylesheet. Theme install failed...What’s wrong?

36. How to create a new event

37. White screen (blank page) after installing theme

38. Translate MEC

39. What are best WordPress/ PHP settings?

1. I can't find my purchase number, where can I find it?

Please use the following steps:

1 - Login to your ThemeForest account.

2 - Visit the Downloads tab.

3 - Locate the theme you’d like the Purchase ID for and select the Download button next to it.

4 - On the dropdown menu that displays, click the License Certificate & Purchase Code link.

5 - A text file will now be downloaded to your computer, containing the Purchase ID for the product.

2. Vega Header Image

Go to Vega Homepage and click on edit row, in appeared window you can set your image.

3. How to setting up forms

For setting up Contact Modal in Top-bar, Booking form in Events and Donate form in Causes:

  1. Go to Appearance > Install Plugins, then install and active Contact Form 7 Plugin.
  2. Go to Importer+, then Import Forms demo data. (Since V.1.1.0)
  3. Go to Contact > Contacts Forms, then replace your email address and customize forms.
    Note: For Linking To Paypal, edit Donate form and in Additional Settings tab, replace Hosted Button ID of your Paypal account with [YOUR BUTTON ID HERE].
  4. Final Setting up
    • To setup Contact Modal in Top-bar:
      1. Go to Theme Options > Topbar Options
      2. Select Contact Modal Link Position in top-bar
      3. Select related form for Contact Modal from the drop down list
      4. Click on [Save Changes] button
    • To setup Event Booking:
      1. Go to Theme Options > Church Options
      2. Enable Event Booking
      3. Select Event Booking Form from the drop down list
      4. Click on [Save Changes] button
    • To setup Donate Form:
      1. Go to Theme Options > Church Options
      2. Select Donate Form from the drop down list
      3. Click on [Save Changes] button

4. Add ShortCode

To add a new calendar or short code just follow these steps:

add shortcode


  1. Skin:
  2. Modern Event Calendar has possibility to assign style to skin, this means every skin can appear with some known styles like:
    • Classic
    • Minimal
    • Modern
    • Standard
  3. Calendar date start options
    • Today
    • Tomorrow
    • Start of current month
    • Start of next month
    • On a certain date
  4. Limit the posts shown if limit value is equal to 5, calendar will include 5 event from categories and events filtered.
  5. Modern Event calendar can filter event on calendar any event user like or any user do!
    • CATEGORIES
    • LOCATIONS
    • ORGANIZERS
    • LABELS
    • TAGS
    • AUTHORS
  6. After setting up your calendar, Modern Event calendar will generate shortcode for using calendar any where you like! (Visual Composer Integrated)



5. I want to export booking, what should I do?

You can find it on "Bulk Action Menu" like image below:


6. Plugins Licenses

You can ignore all the warning about "update" or "authorize this site"

We will update the theme with the newest plugins version every time the plugins got a new version.

The plugins are only included in the theme, we can't share our licenses to our customers, if want to activate the auto update of the plugins or get premium support for each plugins you will need to buy a license from themeforest.

Do not hesitate to contact us if you need more information.

Regards

7. Can I Override MEC Template ?

Yes,

To do this action place the template files inside the root folder of your theme/child-theme. 

For example: /path/to/theme/single-mec-events.php or /path/to/child-theme/single-mec-events.php

8. How to update the Theme

There are two ways to update:

Note:

  1. After updating, please delete installed plug-ins and re-install them via Appearance> Install Plug-ins and it is strongly recommended to delete plug-ins one by one to avoid conflict in plug-in uninstaller
  2. If you have made changes in theme main files such as php, js, css then save them in another place to apply them after uploading new version of the theme.
  3. if your site is live and users are visiting your pages please make your site in “coming soon mode” by using maintenance mode plugins such as "WP Maintenance Mode" then go to Appearance> Themes and deactivate the theme and activate one of WordPress default themes.

9. Booking Module Not Working

I'm enabled booking module but i cant found any booking option in my single event, whats wrong ?

For work with booking module properly, make sure this three option is set completely its straightforward just follow this steps:

1.Enable booking module form setting.

2.Add payment gateway.

3.Event has ticket and event date is not expired.



10. I purchased the theme but didn't get the images as shown in demo. Why?

Demo images have copyright and you need to purchase them by yourself. It's not just about our theme but all other themes have same situation.

11. White screen (blank page) after installing theme

Please follow these instructions:

1. Read following article:

https://webnus.ticksy.com/article/4415/

2. If step 1 did not help you then delete unnecessary plugins via host or wp-content/plugins and then try again.

3. Finally if none of above steps worked then use following instruction to make your "WP_DEBUG" true and send your WordPress admin user/pass and FTP login information in a private ticket for deeper examination:

https://codex.wordpress.org/WP_DEBUG

12. Plugins Licenses

You can ignore all the warning about "update" or "authorize this site"

We will update the theme with the newest plugins version every time the plugins got a new version.

The plugins are only included in the theme, we can't share our licenses to our customers, if want to activate the auto update of the plugins or get premium support for each plugins you will need to buy a license from themeforest.

Do not hesitate to contact us if you need more information.

Regards

13. Why can't I use HTML tags?

You can’t use any HTML in theme fields. Because all the fields, are based on ThemeForest rules and for security reasons are esc_html. If you need to change it, we recommend you using services of http://studio.envato.com/ for your own customization.

14. It seems, rows are in blox

After importing theme by using importer+, it is possible that your site is not as same as demo.

Probably they dropped in one blox. Please update all pages before importing.

15. How theme licensing works? Am I allowed to install the theme in a test environment prior to the official website?

Regarding to Themeforest rules each theme purchase license is valid for only one domain and to install it in another domain you’ll need another purchase code.

16. Internal Server Error

To coordinate WordPress with your server, You need to do few things.
This configurations help you to use WordPress and themes better.
Please read the bellow links:

https://webnus.ticksy.com/article/4415/

https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

500 Internal server error causes from web site's server and it is not related to the theme.
Please read the following article:

http://pcsupport.about.com/od/findbyerrormessage/a/500servererror.htm

17. How to update the Theme

There are two ways to update:

Note:

  1. After updating, please delete installed plug-ins and re-install them via Appearance> Install Plug-ins and it is strongly recommended to delete plug-ins one by one to avoid conflict in plug-in uninstaller
  2. If you have made changes in theme main files such as php, js, css then save them in another place to apply them after uploading new version of the theme.
  3. if your site is live and users are visiting your pages please make your site in “coming soon mode” by using maintenance mode plugins such as "WP Maintenance Mode" then go to Appearance> Themes and deactivate the theme and activate one of WordPress default themes.

18. I updated the theme but the visual builder is still old version. What can I do?

Please deactivate visual composer in your WordPress admin panel, and then delete it. Next re-install it via Appearance> Install Plugins and finally activate. This will give you latest available version of visual composer.

19. MEC Theme Integration Guide

If you're going to include the Modern Events Calendar in your theme, then please note the following as a guide.

Including the MEC

To include the Modern Event Calendar plugin you can simply use TGMPA plugin. It works completely fine with this plugin.

For better User Experience, MEC imports some events and shortcodes upon activation. If you want to disable this feature for any reason, you can use the two following filters:

Disabling Dummy Events

add_filter('mec_activation_import_events', '__return_false');

Disabling Dummy Shortcodes (Not Recommended if you're not going to add your own shortcodes!)

add_filter('mec_activation_import_shortcodes', '__return_false');

Importing Demo Data

You can insert your own dummy data into MEC simply. There are three main concepts for data importing:

1.Importing Events

MEC events are created by WP post type + a record in [wp_prefix]_mec_events table so you should import both otherwise the event is incomplete and it won't show on the front-end of the website. For importing the post types, you can simply use the solution that you use for other post types such as post, page etc.

For the mec_events records, we suggest to create a SQL export file from your mec_events table on your demo website and then write a simple PHP code to run the .sql file queries into the client website. You can use codes like the following:

$query_file = '/path/to/mec_events.sql';
$queries = file_get_contents($query_file);
$sqls = explode(';', $queries);
// WordPress DB
global $wpdb;
foreach($sqls as $sql)
{
    $sql = trim($sql, '; ');
    if(trim($sql) == '') continue;
                
    $sql .= ';';
    
    $wpdb->query($sql);
}

Note: You should take care about WP table prefix. We suggest changing the prefix in the sql file to something unique. For example change the INSERT INTO wp_mec_events to INSERT INTO #__mec_events in the SQL file and replace #__ with $wpdb->prefix before calling the query.

As another approach you can assign the queries to a PHP variable and then run it by $wpdb->query() function. Something like following:

global $wpdb;
$query = "INSERT INTO ".$wpdb->prefix."mec_events ......";
$wpdb->query($sql);

Note: The post_id column of mec_events table should match the Post ID of event otherwise they won't link together.

2.Importing Shortcodes

If you're exporting the shortcodes from your demo website and importing them into the client website. Please take care of predefined filtering options. For example the shortcode on your demo website might be set to show events of "BlahBlah" category but this category may not exist on client website so the shortcode simply won't find any events and it shows "No Event!" message at the front-end. The best approach is to completely reset predefined options of the shortcodes.

These meta fields should be empty in the shortcodes:

  1. label
  2. category
  3. location
  4. organizer
  5. tag
  6. author

BTW, If you want to import pre-filtered shortcodes into the client website, then make sure that the taxonomies exists on client website and the events are assigned to that taxonomy correctly otherwise the shortcode won't find anything due to mis-configuration.

3.Importing Taxonomies

You can use the current solution that you use for importing other WP taxonomies such as tags, categories, etc.

Overriding MEC Templates

The MEC is created by developers for developers! and it's highly developer friendly so you can simply override MEC templates into your theme and make it compatible with your theme style or use MEC filters/actions to customize it.

The MEC has some template files in the /path/to/modern-events-calendar/templates/ path, you can simply override them into your theme or child-theme. For example place them on the /path/to/theme/single-mec-events.php or /path/to/child-theme/single-mec-events.php

Overriding MEC Skin Templates

The MEC supports many skins for showing events and all of them are override ready! For example if you want to customize grid skin of MEC, then you can simply put the /path/to/modern-events-calendar/app/skins/grid/render.php into the /path/to/theme/webnus/modern-events-calendar/app/skins/grid/render.php

You can do it for all template files of all skins including single skin that is for showing single event page, monthly_view, full_calendar, cover, etc.

BTW, we recommend you to avoid overriding the files as much as you can and try to make it compatible with your theme using CSS/JS because if you override the files on your theme, then your clients may not be able to use new features of MEC after automatic update.

Please feel free to contact us if you have any questions. We will be more than happy to help you.

20. It seems that when using header menu it breaks up into 2 lines, how can they always remain on 1 line?

Header contains two sections: logo and menu items. Each one of them regarding to their nature has their own width. When your menu items can't fit in considered width because of insufficient space (high number of menu items cause this) some of menu items will go to next row.

Solution:

1. Use sub-menu for menu items which have less priority

2. Decrease padding of menu by css, this one needs working with inspect element: http://webnus.biz/themes/papillon-wp/dox/#inspect

21. I am updating my site/theme but it says I need a Visual Composer License Key to get the latest version. How do I get this?

There is only one license for users and it’s for theme itself. We use custom version of Visual Composer, please do not try to update visual composer manually. We will update it with our theme.

22. The package could not be installed. The theme is missing the style.css stylesheet. Theme install failed...What’s wrong?

You’ve uploaded the entire ZIP file that you downloaded from ThemeForest. You actually need to open that ZIP file first, and inside you can find the theme's ZIP file itself, and reading theme documentation will show you all essential steps. This might be helpfull:

http://support.envato.com/index.php?/Knowledgebase/Article/View/269/0/my-wordpress-theme-isnt-working-what-should-i-do

23. My Contact forms not work

please go to relate contact form's mail tab and make sure shortocdes inside of fields are same with shortocdes inside of forms. Please check below screenshot:

24. I updated the theme but the visual builder is still old version. What can I do?

Please deactivate visual composer in your WordPress admin panel, and then delete it. Next re-install it via Appearance> Install Plugins and finally activate. This will give you latest available version of visual composer.

25. No Event Found!

I setup my events and all of my single events show well but when i use them in shortcode i found "No Event Found" in my page, why?

1.In shortcode you filter the events not selecting them, it means if you choose "sample cat" and "sample tag" for your event, when you make shortcode, the shortcode which has this tow condition will be included even if your event has one of these conditions it can't be included to this shortcode.

2."Expired events showing" button is off in the bottom of shortcode page.

26. Webnus importer

Kindly note that to import you must prepare the required situations and increase your server time. Till whole demo gets import your server may encounter time out and import process will be incomplete.

But develop team has predicted this issue so they have considered a solution: 

When your server runs out of time and importing process stops, by clicking again on import button the process continues from where it was stopped. Click on import button till "import demo data" button become "import again".

27. Don't work revolution slider 'whiteboard slider'

It happened in new version of Revolution Slider and its author insists users need to provide regular license to use Whiteboard add-on and activate the plugin.

28. How theme licensing works? Am I allowed to install the theme in a test environment prior to the official website?

Regarding to Themeforest rules each theme purchase license is valid for only one domain and to install it in another domain you’ll need another purchase code.

29. Create token

30. What are best WordPress/ PHP settings?

Host configurations: To access these fields please edit "php.ini" file which is located in host (if you can't find it then contact with your host service provider)

upload_max_filesize = 32M

post_max_size = 48M memory_limit = 128M max_execution_time = 600 max_input_vars = 10000 max_input_time = 400

WordPress Configurations:

https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

31. I Can't Export iCal

It is simply accessible from Bulk Actions menu :


32. How to create onepage menu

Hi there,

First of all, import demo. Please read following link: http://webnus.biz/dox/risotto/#Demo

Every row owns an ID which is the same with the URL menu. For example : URL welcome is equal by #welcome

The ID row which you have designed is welcome.

Please follow below steps: 

1 - Click on row setting .

2- From row type , select type blox. ( optional  )

3 - In field add your desired row ID.

4 - Scroll down to Page option  > onepage menu and CHECK it.

5 - Click on save.

Please check below screen shot:

And update the page.

Now Please go to Appearance > menu

1 - Create a new menu for example onepage menu.

2- Add one custom link and put its url the same like ID row.

3 - Check Onepage Header Menu location

Please check below screen shot  : 

And I suggest you read the documentation accurately for more information.

33. I can't find my purchase number, where can I find it?

Please use the following steps:

1 - Login to your ThemeForest account.

2 - Visit the Downloads tab.

3 - Locate the theme you’d like the Purchase ID for and select the Download button next to it.

4 - On the dropdown menu that displays, click the License Certificate & Purchase Code link.

5 - A text file will now be downloaded to your computer, containing the Purchase ID for the product.


34. How To Remove Duplicated Menu Items After Importing

If your menu is duplicated or did not import after importing demo you should go to "Theme Options > Demo Importer" and "Re-Import" your demo.


Note: click on "Re-Import", this will delete and then creat menu items. If you have changed menu items, you should remove duplicated menu items manually.

35. The package could not be installed. The theme is missing the style.css stylesheet. Theme install failed...What’s wrong?

You’ve uploaded the entire ZIP file that you downloaded from ThemeForest. You actually need to open that ZIP file first, and inside you can find the theme's ZIP file itself, and reading theme documentation will show you all essential steps. This might be helpfull:

http://support.envato.com/index.php?/Knowledgebase/Article/View/269/0/my-wordpress-theme-isnt-working-what-should-i-do

36. How to create a new event

To create a new event, in WordPress dashboard click on  Events > Add Event :

new event
  1. Date And Time
    • A. Set start date and end date of the event: You can set start and end date in here.
    • B. All day event: If this feature is checked, it means your event would start at 0:00 AM and will be finished at 11:59 PM.
    • C. Hide event time: This feature hides event time in single event page.
    • D. Time comment: is a field which will be shown next to the event time on single event page. it is necessary to know your time set to another time zone (another from UTC) or whatever you like.
    • E. Event Repeating: If your event will repeat in a certain time simply assign it to the event to repeat on the calendar.
      • E-1. Daily: Repeat current event daily also has input to identify daily interrupt (if you want show event decussate on day you should fill text with 1 ).
      • E-2. Every Weekday: This feature makes the event to be repeated working days a week.
      • E-3. Every Weekend: This feature makes the event to be repeated holiday week.
      • E-4. Weekly: This feature makes the event to be repeated every few weeks.
      • E-5. Monthly: This feature makes the event to be repeated every few Months.(if you want show event decussate on month you should fill text with 1 ).
      • E-6. Yearly: This feature makes the event to be repeated every few years.
  2. Hourly Schedule

    If event build up with many section you have possibility to explain whats will be going on event with hourly schedule . its simple just click add button to add more on your certain event, Output of hourly schedule might be something like this:

    Hourly Schedule
  3. Assign or insert new location
  4. Default on calendar when visitor click on each event will be directed to single post of themselves if you want when user click on event of calendar direct to specific place please fill this text with legal address
  5. Assign or insert new Organizer
  6. Total Booking Limits
    • A. Note: if cost field be empty and event don't has any paid ticket the event will be free
    • B. Unlimited
    • C. Email verification for free bookings
    • D. Email verification for paid bookings
  7. Tickets
    • Click on add button and insert as much tickets as you want (Vip tickets cost 580$ and usual ticket is only 80$ )









37. White screen (blank page) after installing theme

Please follow these instructions:

1. Read following article:

https://webnus.ticksy.com/article/4415/

2. If step 1 did not help you then delete unnecessary plugins via host or wp-content/plugins and then try again.

3. Finally if none of above steps worked then use following instruction to make your "WP_DEBUG" true and send your WordPress admin user/pass and FTP login information in a private ticket for deeper examination:

https://codex.wordpress.org/WP_DEBUG

38. Translate MEC

Translating Using Poedit

There are many translation tools available, such as GlotPressLaunchpad and Pootle, but we’re going to use Poedit. Poedit is a free, easy to use open source program for Mac OS X, Windows and UNIX/Linux for editing PO files and generating MO files.

1. Install Poedit.

2. Open Poedit and go to File > New catalog from POT file.

3. A catalog properties box will pop up asking for information about what you are translating. Enter the language you want to translate here along with any other details.

4. After you hit “OK” you’ll be asked what you want to name your translation file. The name is important because there’s a particular format you should follow for consistency. For example, if you’re translating Chinese to French, the file should be “mec-fr_FR.po” – mec for the MEC plugin, fr for the language and FR for the country.

-You’ll need to save your file in the languages folder of your plugin.

5. Now we can start translating MEC. Poedit has a simple and straight forward interface that doesn’t involve a steep learning curve. The space at the top will display all the text ready to translate, and any completed translations will display to the right. The boxes underneath show the source text you’ve selected to translate, your translation and any notes for translators.

6. When you’ve finishined translating, simply save your file. Poedit will automatically create both .po and .mo files in your plugin’s languages folder.

7. Now that we’ve translated MEC, the next step is to uploading the plugin (after we’ve zipped up again, of course) to your WordPress install either using FTP or by logging into your WordPress site and uploading the plugin by going to Plugins > Add Plugin.

You can send us your .po and .mo files with support or mail address.





39. What are best WordPress/ PHP settings?

Host configurations: To access these fields please edit "php.ini" file which is located in host (if you can't find it then contact with your host service provider)

upload_max_filesize = 32M

post_max_size = 48M
memory_limit = 128M
max_execution_time = 600
max_input_vars = 10000
max_input_time = 400

WordPress Configurations:

https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP