2010-09-16 42 views
2

花了幾個小時試圖在我的wordpress網站的頁腳「Get the smart with thesis」上刪除這些文本。我使用了論文主題。我試過尋找包含文本但沒有運氣的頁腳文件。我也試着把它從鉤子上移開。 「custom_functions.php」但仍然不起作用。任何幫助將不勝感激。在wordpress頁腳上刪除「Get the smart with the WordPress Wordpress Theme」

+0

是否確定沒有看到緩存版本的頁面?只是一個想法。 – 2010-09-16 13:11:37

+0

也許你正在尋找http://www.tareeinternet.com/scripts/decrypt.php – fabrik 2010-09-16 13:39:38

+1

是否應該按照主題許可的條款留下該行......? – 2010-09-16 13:45:29

回答

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版本的皮膚編輯器選項來拖動和刪除該頁腳屬性框。欲瞭解更多信息請參閱這些職位

希望這會有所幫助。