开发者 | jojaba |
---|---|
更新时间 | 2019年10月25日 03:30 |
捐献地址: | 去捐款 |
PHP版本: | 3.8 及以上 |
WordPress版本: | 5.3 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
/simple-diary/themes-support/your_theme/
and put it into your hteme folder (/wp-content/themes/your-theme/
). You can take these files also as examples to customize Diary and reminders for your theme.simple-diary
directory to /wp-content/plugins/
folder of your Wordpress installation/wp-content/themes/your_theme/
folder. You can find these files in /simple-diary/themes-support/your_theme/
folder. For example, if you use twentyfourteen theme, you have to get the 3 files in /simple-diary/themes-support/twentyfourteen/
folder and upload them into the /wp-content/themes/twentyfourteen/
folder.Edit the /simple-diary/simdiaw-template-functions.php
file, you will find all available template functions.
Yes, you can list the upcoming reminders everywhere you want, you just have to use the the_simdiaw_upcoming_reminders()
function to get them in list format.
This code:
<ul>
<?php the_simdiaw_upcoming_reminders(2) ?>
</ul>
Will generate a html code like this:
<ul>
<li>Eiffel tower visiting<br>Date: 30/06/2014<br>Location: Paris</li>
<li>Storks observation<br>Date: 06/06/2014<br>Location: Obersoultzbach</li>
</ul>
Yes. Beginning with 1.3 version of this plugin.
No, sorry! But you can alternatively use the Duplicate Post plugin developped by Enrico Battocchi. I tested it and it worked fine with reminders. You just have to go to the settings of Duplicate Post and enable the custom post reminder to have it work for it.
Yes, you can! You just have to enable this feature in the option panel, after that, you will be able to create a reminder using the link located in the Sidebar and / the admin Toolbar on a post compose (edit) window.
.css
and .js
filethe_simdiaw_upcoming_reminders_query()
, the_simdiaw_past_reminders_query()
, the_simdiaw_past_reminders()
. See in the /simple-diary/simdiaw-template-functions.php
file to see how they work.