How can I add more speakers than 10 to each event?

  1. Home
  2. Docs
  3. Januas
  4. Frequently Asked Question...
  5. How can I add more speakers than 10 to each event?

How can I add more speakers than 10 to each event?

1) Please do remember to back-up the file prior to any changes.

2) Open wp-content/themes/januas/lib/metaboxes/metabox-speakers.php

3) Around line number 117, you can find:

$speakers_loop = new WP_Query(array(

‘post_type’ => ‘ja-speaker’,

‘post_status’ => ‘publish’,

‘post__in’ => $speakers_ids,

‘orderby’ => ‘post__in’

));

4) Please replace this with:

$speakers_loop = new WP_Query(array(

‘post_type’ => ‘ja-speaker’,

‘post_status’ => ‘publish’,

‘post__in’ => $speakers_ids,

‘orderby’ => ‘post__in’,

‘posts_per_page’=>10

));

5) Save this file.

Was this article helpful to you? Yes 1 No