花了幾個小時試圖在我的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頁面上的鏈接
- 2. 刪除Wordpress頁面上的Metabox
- 3. WordPress刪除WWW
- 4. WordPress的定製單product.php:<a data-full=... changing the main image?
- 5. 在非wordpress網站上顯示wordpress頁腳
- 6. Flash navbar with wordpress?
- 7. 刪除或編輯兒童主題(wordpress)的頁腳信用
- 8. 如何更改WordPress中的頁腳內容Sparkling theme
- 9. 粘性頁腳問題(wordpress)
- 10. setTimeout with The Revealing Module Pattern
- 11. Wordpress asynchron GET簡碼
- 12. listview item with clickable subview sometime can not pass the click event to the item's subview
- 13. WordPress的刪除空格
- 14. wordpress在wordpress頁面中的分頁
- 15. Azure VM with wordpress + mysql
- 16. Timber plugin with term(WordPress)
- 17. 如何從Wordpress中刪除#One頁面
- 18. 頁面上的WordPress分頁
- 19. 頁面上的WordPress
- 20. Angular with wordpress jwt驗證碼
- 21. 刪除二十四個WordPress的主頁上的後循環,並保持分頁
- 22. WordPress的修改頁腳
- 23. 編輯隱藏頁腳Wordpress
- 24. wordpress上swift主題的頁腳高度
- 25. WordPress上的粘性頁腳問題
- 26. 分頁在WordPress
- 27. 無法刪除WordPress頁面標題而不刪除內容
- 28. 刪除Wordpress多站點
- 29. WooCommerce刪除WordPress標題行
- 30. 無法刪除WordPress用戶
是否確定沒有看到緩存版本的頁面?只是一個想法。 – 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