Kiko Doran
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom List Table Example] Using WP_List_Table in shortcode?Did you get this working? I have spent a lot of time recently working WP_List_Table and would be glad to help you out if you still need it.
Did you get this figured out? If not I’d be glad to help you troubleshoot it.
The column_title function has the actions setup to do it but you’ll need to change the code a little. Are you using a Custom Post Type? Here is what I used to create an edit link. I removed the delete function as it wasn’t necessary for my project, although its a very similar modification.
function column_title($item){ //Build row actions $actions = array( 'edit' => sprintf('<a href="/wp-admin/post.php?action=%s&post=%s">Edit</a>','edit',$item['ID']), ); //Return the title contents return sprintf('%1$s <span style="color:silver">(event-id:%2$s)</span>%3$s', /*$1%s*/ $item['post_title'], /*$2%s*/ $item['ID'], /*$3%s*/ $this->row_actions($actions) ); }
Let me know if that isn’t clear or if you have any other questions.
Kiko
Forum: Plugins
In reply to: [Admin Columns] CAC with ACF showing actual values not ID#Even though you figured it out yourself. This answered my question. It pays to ask questions you find your own answers to sometimes!
Thanks!
KikoForum: Networking WordPress
In reply to: twenty ten not working on multisiteThanks Andrea. It was the Genesis Style Select plugin that was the culprit. I don’t really use twenty ten and it was just one of those weird problems that I knew I could learn something from. I haven’t really had to dig into the error logs before so this was a good lesson for sure.
Thanks again!
KikoForum: Plugins
In reply to: [Akismet Anti-spam: Spam Protection] [Plugin: Akismet] multisite useCan someone post an example of how you would do this in your wp-config.php? I’m not really sure how I would go about adding the key in there.
Thanks!