• Resolved jabeztrust

    (@jabeztrust)


    I was hoping to find a plugin that would give me a reminder of MY OWN shortcodes that I created. This APP didn’t provide much help.

    I created several shortcodes in the Appearance > Theme Editor > functions.php

    This app can’t even find those. I went through all the options and none of them displayed the shortcodes I created below. Yes, they do work in real-time.

    // SHORTCODES 
    function year_shortcode () {
    $year = date_i18n ('Y');
    return $year;
    }
    add_shortcode ('year', 'year_shortcode');
    function month_shortcode () {
    $monthyear = date_i18n ('F');
    return $month;
    }
    add_shortcode ('month', 'month_shortcode');
    function yyyymmdd_shortcode () {
    $yyyymmdd = date_i18n ('y-m-d'); return $yyyymmdd;
    }
    add_shortcode ('yyyymmdd', 'yyyymmdd_shortcode');
    function monthyear_shortcode () {
    $monthyear = date_i18n ('F Y');
    return $monthyear;
    }
    add_shortcode ('monthyear', 'monthyear_shortcode');
    function day_shortcode () {
    $day = date_i18n ('l');
    return $day;
    }
    add_shortcode ('day', 'day_shortcode');
    // END SHORTCODES
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Scribit

    (@scribit)

    Hi @jabeztrust and thanks for your support request.
    Just let me try tomorrow and I Will give you an answer.

    Plugin Author Scribit

    (@scribit)

    Hi, I’ve added exactly your same code in my theme functions.php.
    Both in the Find by shortcode and Documentation tabs I am able to find your shortcodes as you can see here and here.

    If you haven’t solved it yet contact me at wordpress at scribit dot it to do more investigation.
    If it works instead I hope you will give some good feedback to the plugin ??

    • This reply was modified 3 years, 4 months ago by Scribit.
    Thread Starter jabeztrust

    (@jabeztrust)

    It took a while, but it is working now.

    Thank you.

    Plugin Author Scribit

    (@scribit)

    No problem ??
    I would really appreciate if you want to leave a plugin review.
    Bye

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t FIND my own Shortcodes’ is closed to new replies.