• Resolved bhairav45

    (@bhairav45)


    I am using the [ndc-today-date result_format=”l, F j, Y”] shortcode. Right now, it shows both the Nepali and English dates: Date ????????, ???? ??, ???? Friday, July 5, 2024. I want it to show only the Nepali date: ????????, ???? ??, ???? How can I do this? Is there a way to change the shortcode to show just the Nepali date? Thanks for your help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author codersantosh

    (@codersantosh)

    Hello @bhairav45 , Can you try using this shortcode to disable the English date?

    [ndc-today-date result_format=”l, F j, Y” disable_today_eng_date='1']

    Best Regards!

    Thread Starter bhairav45

    (@bhairav45)

    Hello,

    I tried using the shortcode [ndc-today-date result_format=”l, F j, Y” disable_today_eng_date=’1′], but it didn’t hide the English date. It only showed “????????,

    Anyway, thank you for your support. I managed to hide the English date and date word using CSS.

    • This reply was modified 4 months, 3 weeks ago by bhairav45.
    Thread Starter bhairav45

    (@bhairav45)

    Hello,

    I tried using disable_today_eng_date=”1″ instead of disable_today_eng_date=’1′, and it worked. However, now I want to hide the word “Date:” as well. I tried using CSS, but it hides the word “Full Date” in single posts too.

    Is there any way to hide just the word “Date” so that it shows like this:

    ????????, ???? ??, ????

    only, instead of:


    Date
    ????????, ???? ??, ????

    Thank you for your help.

    Plugin Author codersantosh

    (@codersantosh)

    Hello @bhairav45 ,
    The ndc-today-date shortcode supports the following properties. It will not be displayed if you add and leave the title empty.

    'before', 'after','before_title', 'after_title', 'title', 'disable_today_nep_date', 'disable_today_eng_date', 'nepali_date_lang', 'nep_char', 'result_format'

    Best Regards!

    Thread Starter bhairav45

    (@bhairav45)

    Hello @codersantosh,

    Thank you very much for your support and for providing the additional properties for the shortcode.

    I’ve also found that the plugin is not compatible with PHP 8.1. After uninstalling all other plugins, the site still breaks due to this plugin. Could you please check this issue?

    Thank you once again for your help.

    Plugin Author codersantosh

    (@codersantosh)

    @bhairav45 Can you enable WP_DEBUG and WP_DEBUG_LOG, then check the wp-debug.log file and send me the errors?

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.