开发者 | woodyhayday |
---|---|
更新时间 | 2024年3月11日 23:17 |
捐献地址: | 去捐款 |
PHP版本: | 3.0.1 及以上 |
WordPress版本: | 6.4.3 |
版权: | GPLv2 |
版权网址: | 版权信息 |
### My Example I've been making plugins for almost a decade. I've made over 30. I wrote Project Pages so that I could display a past portfolio of my works. You can see that portfolio, running Project Pages, here: http://woodyhayday.com/projectsProject Pages: Full feature list
Project Pages uses built in templates in the /templates directory of the plugin. Do not edit these directly. If you would like to override these (woocommerce style), you can do so by making a directory "/project-pages" inside of your theme directory. Templates from this directory will be given priority over the defaults built in to Project Pages. (You can safely ignore this functionality and rely on Project Pages default portfolio styling.) If you do desire to modify the templates, you can install example templates from the menu in the Project Pages Settings. You can edit these files to directly modify all of the pages that Project Pages presents your end users. The templates would then be: wp-content/yourtheme/project-pages/archive-projectpage.php wp-content/yourtheme/project-pages/projectpages-footer.php wp-content/yourtheme/project-pages/single-projectpage.php wp-content/yourtheme/project-pages/taxonomy-projectpagetag.php ... these are fairly self explanitory, and if you're familiar with HTML/PHP/WordPress, you can probably edit these without any issue.
To achieve this, (for now), I recommend the following:
Right now, if you add the meta key/value pair: 'noheader' to the project, the project page won't show the featured image as the header.
You can create a file in your theme directory named 'projectpages-pre-footer.php' - this file will get called (if present) just before the footer does!