start date

Home Forums Legacy Support Support queries Other issues start date

Viewing 15 posts - 16 through 30 (of 30 total)
  • Author
    Posts
  • #4879
    zablockis92
    Spectator
    ....?
    #5140
    MrVibe
    Keymaster
    Refer start date in action : http://themes.vibethemes.com/wplms/skins/default/all-courses/
    #5143
    zablockis92
    Spectator
    i dont undersnadt what you mean...?
    #5255
    MrVibe
    Keymaster
    It seems we missed the Start date filter in All courses page. You can simply add below code in Child theme - functions.php to fix this :
    
    
    add_action('bp_course_directory_order_options','start_date_sort_order');
    
    function start_date_sort_order(){
    
    ?>
    
    
    
    
    result :  as in live demo : http://themes.vibethemes.com/wplms/skins/default/all-courses/
    #5270
    zablockis92
    Spectator
    Can you tell me functions.php location?
    #5284
    sandy
    Member
    1. Go to wp-admin->appearance->editor 2. Select child theme Refer screenshot : http://prntscr.com/8vuf6t
    #5305
    zablockis92
    Spectator
    i dont use child theme :)   so i go to wp-admin->appearance->editor - WPLMS ???????? WPLMS: Theme Functions (functions.php)
    #5313
    zablockis92
    Spectator
    #5336
    MrVibe
    Keymaster
    Then use the WPLMS Customizer plugin and keep ftp details handy, you may need to use them if you made a mistake. a. go to WP ADmin - Plugins - Editor - WPLMS Customizer - wplms_customizer.php b. Paste the code at the bottom of the file.    
    #5346
    zablockis92
    Spectator
    IF i paste you code  add_action('bp_course_directory_order_options','start_date_sort_order');   function start_date_sort_order(){   ?>   <option value="start_date">< ?php _e( 'Start Date', 'vibe' ); ?></option>   < ?php   } i get
    #5355
    zablockis92
    Spectator
    lik to my code  http://failiem.lv/u/ngfeihv
    #5459
    Anshuman Sahu
    Keymaster
    Please try adding the given code in your wplms-customizer.php file in wplms customizer plugin. add_action('bp_course_directory_order_options','start_date_sort_order');  function start_date_sort_order(){  ?> <option value="start_date"><?php _e( 'Start Date', 'vibe' ); ?></option>  <?php  }
    #5475
    zablockis92
    Spectator
    tnx, now  it works. Can i set defult filtring - START DATE? :)
    #5582
    MrVibe
    Keymaster
    Please wait for the Vibe Custom types update (releasing by tomorrow).
    #5604
    zablockis92
    Spectator
    ok, update me after.
Viewing 15 posts - 16 through 30 (of 30 total)
  • The topic ‘start date’ is closed to new replies.