Session disply in reverse order when Intuitive Custom Post Order plugin is activated

  1. Home
  2. Docs
  3. Fudge
  4. Frequently Asked Question...
  5. Session disply in reverse order when Intuitive Custom Post Order plugin is activated

Session disply in reverse order when Intuitive Custom Post Order plugin is activated

To solve the session display issue when Intuitive Custom Post Order plugin is activated, please try the following:

1) Please do remember to back-up the files prior to any edits.

2) Open wp-content/themes/fudge/functions.php via FTP.
(Or, via Appearance->Editor->functions.php)

This is an important file. Please do it carefully.

3) Around line number 236, you can find:

register_post_type(‘session’, array(
‘labels’ => array(
‘name’ => __(‘Sessions’, ‘fudge’),
‘singular_name’ => __(‘Session’, ‘fudge’),
‘add_new’ => __(‘Add New’, ‘fudge’),
‘add_new_item’ => __(‘Add New Session’, ‘fudge’),
‘edit_item’ => __(‘Edit Session’, ‘fudge’),
‘new_item’ => __(‘New Session’, ‘fudge’),
‘view_item’ => __(‘View Session’, ‘fudge’),
‘search_items’ => __(‘Search Sessions’, ‘fudge’),
‘not_found’ => __(‘No Sessions found’, ‘fudge’),
‘not_found_in_trash’ => __(‘No Sessions found in trash’, ‘fudge’),
‘menu_name’ => __(‘Sessions’, ‘fudge’),
),
‘public’ => true,
‘publicly_queryable’ => true,
‘show_ui’ => true,
‘show_in_menu’ => true,
‘query_var’ => true,
‘rewrite’ => array(‘slug’ => ‘sessions’),
‘capability_type’ => ‘post’,
‘has_archive’ => false,
‘hierarchical’ => false,
‘menu_position’ => 5,
‘supports’ => array(‘title’, ‘editor’, ‘thumbnail’)
));

4) Please change the last line the above code

‘supports’ => array(‘title’, ‘editor’, ‘thumbnail’)

to

‘supports’ => array(‘title’, ‘editor’, ‘thumbnail’, ‘page-attributes’)

5) Save the file.

6) This will display the order box on edit session page.

7) Assign orders to each post.

 

 

Was this article helpful to you? Yes 1 No 1