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 如何获取APP内弹出的网址链接
  • ¥15 wifi 图标不见了 不知道怎么办 上不了网 变成小地球了
  • ¥50 STM32单片机传感器读取错误
  • ¥50 power BI 从Mysql服务器导入数据,但连接进去后显示表无数据
  • ¥15 (关键词-阻抗匹配,HFSS,RFID标签)
  • ¥50 sft下载大文阻塞卡死
  • ¥15 机器人轨迹规划相关问题
  • ¥15 word样式右侧翻页键消失
  • ¥15 springboot+vue 集成keycloak sso到阿里云
  • ¥15 win7系统进入桌面过一秒后突然黑屏