花了幾個小時試圖在我的wordpress網站的頁腳「Get the smart with thesis」上刪除這些文本。我使用了論文主題。我試過尋找包含文本但沒有運氣的頁腳文件。我也試着把它從鉤子上移開。 「custom_functions.php」但仍然不起作用。任何幫助將不勝感激。在wordpress頁腳上刪除「Get the smart with the WordPress Wordpress Theme」
2
A
回答
2
這可能有助於
http://www.sugarrae.com/thesis-hooks-dummies-tutorial/#change-footer
/* Custom Footer Hook */
remove_action('thesis_hook_footer', 'thesis_attribution');
function add_custom_footer() {
?>
<p>© 2008 Ourblog.com – All rights reserved. – <a href="http://www.ourblog.com/privacy-policy/">Privacy Policy</a></p>
<p>No content on this site may be reused in any fashion without written permission from Ourblog.com or whatever you want your footer to include</p>
<?php
}
add_action('thesis_hook_footer', 'add_custom_footer');
0
轉到以下目錄:
\wordpress_root\wp-content\themes\your_theme_name
在這個文件夾是一個名爲footer.php
文件在這個文件中,你會發現你要刪除的文字。
SORRY沒看到你已經進行了:
,而無需下載我不知道的主題。請發佈footer.php文件,以便我們提供幫助。
+0
謝謝您的回覆。 這也不起作用。該文本不在footer.php中。 – 2010-09-16 23:04:22
0
它非常簡單。你可以使用Thesis Hooks來做到這一點。
remove_action('thesis_hook_footer', 'thesis_attribution');
在這裏閱讀更多
0
對於論文的1.x版本,你需要添加一個代碼從頁腳中刪除。 但是對於最新的論文2版本,您可以使用論文2版本的皮膚編輯器選項來拖動和刪除該頁腳屬性框。欲瞭解更多信息請參閱這些職位
- 對於論文2.X:
- 對於論文的1.x Remove thesis footer link for thesis theme 1.8
希望這會有所幫助。
相關問題
- 1. Wordpress theme,custm post
- 2. Wordpress - get_posts()比The Loop更高效嗎?
- 3. HighChart Sparkline Chart with the dynamic data for the table
- 4. 在頁面上刪除Yoast WordPress SEO
- 5. 如何在WordPress中切換語言「on-the-fly」
- 6. Retrief the String with JCheckBox
- 7. WordPress - 刪除頁面標題?
- 8. 頁腳不會在WordPress
- 9. 刪除WordPress頁面上的鏈接
- 10. 刪除Wordpress頁面上的Metabox
- 11. WordPress刪除WWW
- 12. WordPress頁面模板刪除邊欄
- 13. WordPress的定製單product.php:<a data-full=... changing the main image?
- 14. 在非wordpress網站上顯示wordpress頁腳
- 15. Flash navbar with wordpress?
- 16. 刪除或編輯兒童主題(wordpress)的頁腳信用
- 17. 如何更改WordPress中的頁腳內容Sparkling theme
- 18. 有人可以解釋wordpress的「The Loop」嗎?
- 19. 頁腳Wordpress問題
- 20. SVG line with the multiline pattern
- 21. setTimeout with The Revealing Module Pattern
- 22. readline with console.log in the background
- 23. 粘性頁腳問題(wordpress)
- 24. 刪除緩存Wordpress
- 25. 刪除wordpress上的幫助標籤
- 26. Wordpress asynchron GET簡碼
- 27. WordPress頁腳不在底部
- 28. listview item with clickable subview sometime can not pass the click event to the item's subview
- 29. 從WordPress的CMS腳本刪除代碼
- 30. WordPress - 'The Loop'顯示所有帖子,而不是帖子標題主頁
是否確定沒有看到緩存版本的頁面?只是一個想法。 – 2010-09-16 13:11:37
也許你正在尋找http://www.tareeinternet.com/scripts/decrypt.php – fabrik 2010-09-16 13:39:38
是否應該按照主題許可的條款留下該行......? – 2010-09-16 13:45:29