Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Sudavar

    (@sudavar)

    Hello, besides the birthdays table would you like to see the Sector in the widget area?

    Also, do your users have WP Profile? Or they are in the custom list?
    Trying to figure where would you like the information to be saved.

    Thread Starter dvenuzka

    (@dvenuzka)

    Hi! For now i solved that problem, using the concatenate function in excel, but i have another question. Is possible show each birthday into a new line in the widget?
    Thanks for the help.

    Plugin Author Sudavar

    (@sudavar)

    Yes it is possible. Each name is wrapped in a div with class birthday_element. So you can add some CSS and do whatever you want.

    For example add in birthdays-widget.css :
    .birthday_element{
    display: block;
    }

    Thread Starter dvenuzka

    (@dvenuzka)

    Awesome! It’s working! Last question (i promess), how i can remove the comma? because the widget is showing like this:

    EDI IZABEL TUBIN – PIRULITO PLANO TURNO II
    ,
    DERLI PINTO DE SOUZA – DRAGEADOS TURNO II

    Plugin Author Sudavar

    (@sudavar)

    echo '<div class="birthday_element">';
    echo $row->name;
    if( $flag )
        echo ', ';
    echo '</div>';

    In file class-birthdays-widget.php remove line 74 to 76 and please add the above code.

    Should do the trick.

    Thread Starter dvenuzka

    (@dvenuzka)

    Yes! It’s working!
    Thank you very much :DD

    Plugin Author Sudavar

    (@sudavar)

    My pleasure, please if you would like anything else don’t hesitate to contact us again. Also do not forget you can add your rating here.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How put one more column?’ is closed to new replies.