dougouqin0763 2013-10-31 14:26
浏览 35
已采纳

Wordpress插件模板覆盖 - 投资组合[关闭]

I am using this Worpress plugin: http://bestwebsoft.com/plugin/portfolio-plugin/

I already changed the portfolio itself by including the requests into my own template, but if i click onto one of the items, it directs me to the /portfolio/ permasite, which is then displaying the requested portfolio item in detail.

Now here is my question: I do know where to find the template for this single display (portfolio-post.php) but I'd like to change it myself, without risking to lose the template when I update the plugin. So editing within the portfolio plugin folder is not an option for me.

Is there any method to change this template by placing a "portfolio-post.php" whatever in my own theme folder?

  • 写回答

1条回答 默认 最新

  • douling0053 2013-10-31 14:35
    关注

    If you create the portfolio-post.php file in your template folder and edit it there, you don't have the risk that an update will overwrite it.

    As long as you position the file inside the same folder basis as in the plugin you should be fine

    e.g. /your-theme-folder/portfolio-post.php

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 TLS1.2协议通信解密
  • ¥40 图书信息管理系统程序编写
  • ¥20 Qcustomplot缩小曲线形状问题
  • ¥15 企业资源规划ERP沙盘模拟
  • ¥15 树莓派控制机械臂传输命令报错,显示摄像头不存在
  • ¥15 前端echarts坐标轴问题
  • ¥15 ad5933的I2C
  • ¥15 请问RTX4060的笔记本电脑可以训练yolov5模型吗?
  • ¥15 数学建模求思路及代码
  • ¥50 silvaco GaN HEMT有栅极场板的击穿电压仿真问题