• katheevz

    (@katheevz)


    I am having trouble getting this to work in my custom sidebar. I would like it to appear in my sidebar.php but can’t figure out the code. I am not a developer, but know my way just enough to be dangerous. I have copied your code:
    <?php
    if (function_exists(‘add_daily_tip’)) {
    print add_daily_tip(‘<group_name>’);
    }
    ?>
    Changed the <group_name> to Tip and pasted the code where I want it to appear in my sidebar editor.

    I’m sure I’m missing something (Yes, I have quotes loaded), but I’m not sure what it is.

    Can you help?

    https://www.ads-software.com/plugins/st-daily-tip/

Viewing 1 replies (of 1 total)
  • kuntal5657

    (@kuntal5657)

    Dear katheevz,
    print add_daily_tip(‘<group_name>’,'<last_date_show>’);
    if you want to show last date then replace last_date_show with “show” otherwise “not show”

Viewing 1 replies (of 1 total)
  • The topic ‘Trouble using it in custom sidebar’ is closed to new replies.