Support » Plugin: Cleverness To-Do List » [Plugin: Cleverness To-Do List] Quick Help?

  • Resolved ryanswee


    I’m sorry to e-mail you with such a silly little problem, you’ll think I feel like an idiot for asking, but I absolutely love your plugin. I found it a few days ago and it’s just perfect for my site, but I need to adapt it ever so slightly.

    It’s purely an aesthetic change I need to make for my personal blog, but I can’t seem to find the right line to change. It’s the simplest thing in the world, but I’ve been sat here for an hour trying to figure out how:

    For all displayed ‘Completed Items’ when posted, I’d like to make them strike-through (‘<del>’) and put a little tick at the end (✓). I have hundreds of list items and to go through and edit each one individually with the WYSIWYG editor would take me forever.

    If you could please just point me in the right direction in the editor, any help is appreciated.

    Thank you so much for your plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Cindy Kendrick


    It seems that I neglected to add a CSS class to the list format for the completed items.

    If you edit /cleverness-to-do-list/includes/cleverness-to-do-frontend.class.php, at line 614, and change it to
    $this->list .= '<'.$list_type.' class="todolist todolist-completed">';,

    you can add the strike-through and tick through CSS then.

    I’ll add that CSS class in the next release.

    If you were looking to add that HTML manually, then in the same file you would edit the show_todo_list_items functions and check to see if $completed = 1.

    Thank you SO much. That helps a LOT. I really appreciate you taking the time to help me out. I was struggling to find the right place to put it.

    This plugin was exactly what I needed, thank you again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Cleverness To-Do List] Quick Help?’ is closed to new replies.