Hi Shane -
Sorry, could not respond earlier.
I tried replacing the code send in the earlier response.
--> Good news - the site was still working 🙂
--> Bad news - the sorting indicator is not there. Also, earlier it was giving the search box above the table, including no. of rows to display option that is also now not available (see attached image)
I am not sure how I can give you access to the A2 hosting site to update the functions.php?
Can we do screenshare via skype or any other option?
Below is the updated info in the functions.php file
---------
<?php
/**
* Astra Child Theme functions and definitions
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package Astra Child
* @since 1.0.0
*/
/**
* Define Constants
*/
define( 'CHILD_THEME_ASTRA_CHILD_VERSION', '1.0.0' );
/**
* Enqueue styles
*/
function child_enqueue_styles() {
wp_enqueue_style( 'astra-child-theme-css', get_stylesheet_directory_uri() . '/style.css', array('astra-theme-css'), CHILD_THEME_ASTRA_CHILD_VERSION, 'all' );
}
add_action( 'wp_enqueue_scripts', 'child_enqueue_styles', 15 );
function wpb_data_tables() {
wp_register_script( 'datatables', '<u>hidden link</u>', array() ); //put any dependencies (including jQuery) into the array
wp_enqueue_script('datatables');
wp_register_script( 'datatables_bootstrap', '<u>hidden link</u>', array() ); //put any dependencies (including jQuery) into the array
wp_enqueue_script('datatables_bootstrap');
wp_register_script( 'datatables_bootstrap_css', '<u>hidden link</u>', array() ); //put any dependencies (including jQuery) into the array
wp_enqueue_script('datatables_bootstrap_css');
wp_register_script( 'datatables_bootstrap_css_2', '<u>hidden link</u>', array() ); //put any dependencies (including jQuery) into the array
wp_enqueue_script('datatables_bootstrap_css_2');
}
add_action( 'wp_enqueue_scripts', 'wpb_data_tables' );
--------
Update: all screenshots are deleted as per user request