• Resolved rkvisit

    (@rkvisit)


    How can i get the date as its entered,in upcoming birthdays and anniversaries dash-board widget.i think its something to do with getUpcoming() function? can i get to show the the originally entered year at least with in brackets or something?

    • This topic was modified 8 years, 4 months ago by rkvisit.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    @ rkvisit

    You would have to edit the dashboard upcoming widget template. The file is found in this folder:

    ../wp-content/plugins/connections/templates/dashboard-upcoming/dashboard-upcoming.php

    You would need to change this:

    $entry->getUpcoming( $atts['list_type'], $atts['date_format'] )

    to this:

    $entry->getDates( array( 'type' => $atts['list_type'] ) )

    I think that should do it… completely untested, so your mileage may vary.

    Thread Starter rkvisit

    (@rkvisit)

    @shazahm1hotmailcom
    got the job done by changing it and calling value from the array.Thank you.

    • This reply was modified 8 years, 4 months ago by rkvisit.
    • This reply was modified 8 years, 4 months ago by rkvisit.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to replace actual year than current year in Upcoming event display dashboard’ is closed to new replies.