WordPress.org

Ready to get started?Download WordPress

Forums

Cleverness To-Do List
[resolved] Quick Help? (3 posts)

  1. ryanswee
    Member
    Posted 2 years ago #

    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.

    http://wordpress.org/extend/plugins/cleverness-to-do-list/

  2. Cindy
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. ryanswee
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.