File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -126,6 +126,14 @@ public function db_uninstall() {
126126
127127
128128
129+ //Include scripts
130+ public function scripts () {
131+
132+ if ( class_exists ( 'CGSS_SCRIPT ' ) ) new CGSS_SCRIPT ();
133+ }
134+
135+
136+
129137 //Include settings pages
130138 public function settings () {
131139
@@ -201,6 +209,8 @@ public function __construct() {
201209
202210 add_action ('init ' , array ($ this , 'installation ' ));
203211
212+ $ this ->scripts ();
213+
204214 $ this ->widgets ();
205215 $ this ->metabox ();
206216 $ this ->shortcode ();
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ public static function record_count() {
9595 public function column_name ( $ item ) {
9696
9797 $ delete_nonce = wp_create_nonce ( 'delete_url ' );
98- $ title = sprintf ( '<strong>%s</strong> ' , $ item ['URL ' ] );
98+ $ title = sprintf ( '<strong>%s</strong> ' , $ item ['item_name ' ] );
9999
100100 //Change the page instruction where you want to show it
101101 $ actions = array (
@@ -117,12 +117,12 @@ public function column_default( $item, $column_name ) {
117117 case 'caseOne ' :
118118 case 'caseTwo ' :
119119 case 'caseThree ' :
120- return $ item [ $ column_name ];
120+ return $ item [ $ column_name ];
121121
122- default :
122+ default :
123123
124- //Show the whole array for troubleshooting purposes
125- return print_r ( $ item , true );
124+ //Show the whole array for troubleshooting purposes
125+ return print_r ( $ item , true );
126126 }
127127 }
128128
You can’t perform that action at this time.
0 commit comments