开发者 | sdavis2702 |
---|---|
更新时间 | 2020年3月30日 05:51 |
捐献地址: | 去捐款 |
PHP版本: | 3.8 及以上 |
WordPress版本: | 5.3 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
simple-course-creator
to the /wp-content/plugins/
directoryNo. A post should only be assigned to one course. This is because the purpose of the plugin is to display the other posts that are in the same course as the post being viewed. In order to do that, the other posts must be pulled from a single source (the one course you have chosen). Technically, multiple courses can be added to a posts. However, only course will display on your post, and you will not have control of which course that is.
Yes. When creating a new course, the description and course title fields are used to display an introduction to the course. If they are filled out, they will display. From there, there are multiple ways to edit additional output. -- The first and easiest way is to use the built-in hooks and filter to customize the course box. You'd write your actions in your active theme functions file. Here's a list of all the hook names you can use to insert custom content.
scc_templates
and in it, copy any of the files from the includes/scc_templates
directory of the plugin. Your new theme files will override the plugin files.
Only use this method if you know your way around PHP, HTML, CSS, and JS.
-- Lastly, for minimal display tweaks, simply write CSS in your active theme that overrides the default plugin CSS, which is minimal.