Support » Plugin: Category Posts in Custom Menu » Date fields for menu title don't work

  • Resolved fvschie

    (@fvschie)


    Love the plugin. Had something similar coded up before I got over my Not Invented Here syndrome, and yours has some awesome features.

    Anyway, I want to list posts with a menu title like:
    #post_title #post_date(‘j n Y’)

    This doesn’t work. Title shows up, date does not. Neither do any of the others I’ve tried, including %post_modified, with or without formatting.

    Any ideas?

    https://wordpress.org/plugins/category-posts-in-custom-menu/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Diana Koenraadt

    (@anaid)

    Hi fvschie,

    thank you for reporting this, I’ll get on it right away!

    Kind regards,
    Diana

    Plugin Author Diana Koenraadt

    (@anaid)

    I’ve tracked down the cause. I’ll check in a new version ASAP, but this might take a while since I’d like to add automated unit and integration tests to my plugin first. Hope I’ll get to it this weekend.

    For those of you who are code-savvy: For some reason the result of the replace_ functions is no longer returned. I’m sure it was before, as confirmed here: https://wordpress.org/support/topic/unexpected-t_function-1?replies=19

    Kind regards,
    Diana

    Plugin Author Diana Koenraadt

    (@anaid)

    If you need this functionality, you can grab the latest Development Version of the plugin.

    Kind regards,
    Diana

    Plugin Author Diana Koenraadt

    (@anaid)

    Tagged version 0.9.4 with fix for this.

    Tech talk:
    Apparently, a variable that I used was in global scope before and in a new release of WordPress had gone out of the global scope, which is why this worked in a previous version of WordPress and didn’t work anymore in the new version.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Date fields for menu title don't work’ is closed to new replies.