我的 Joomla 网站 http://financial-freedom.com.au/将烦人的页脚显示为
<a href='http://okjoomla.com' target='_blank'>Welcome to Get more sources</a>
我尝试使用 Dreamweaver 的查找工具,但没有成功。我也试过在数据库中使用搜索功能,但也没有用。
有人遇到过这个问题吗?我为此尝试了一整天的谷歌搜索,但一无所获。非常感谢任何帮助。
编辑:我手动检查页脚模块。而且,那里什么也没有发现。由于模块太多,我无法检查每个模块,因为我相信使用 Dreamweaver 进行搜索也能找到并且在 PhpMyAdmin 中搜索应该搜索所有模块内容。
谢谢
最佳答案
正如您所说,您不必在 Dreamweaver 或 PHP MyAdmin 中搜索模块,您将需要管理员访问权限 like ... 或者你将不得不像我告诉你的那样在 index.php
中搜索,而且我刚刚打开那个网站,好像你正在免费下载高级模板,所以他们确实添加了反向链接,这是没有源代码很难弄清楚...所以这就是我所能提供的帮助...继续阅读..
它可能是一个模块,或者文本必须是 index.php
页面中的文字字符串,如果它是一个模块而不是禁用它,否则,转到下面的路径...
root/templates/system/index.php
在上面的文件中,文本必须在底部的某个地方,所以将其删除
如果您不能这样做,那么使用 CSS 的最便宜的解决方案是 display: none;
,因为您的 a
标签与 div< 相邻
有一个 id
footerwrap
所以你可以使用
#footerwrap + a[href="http://okjoomla.com"] {
display: none;
}
或
a[href="http://okjoomla.com"] {
display: none; /* This will remove all the anchor having that link */
}
或者您可以使用 jQuery 将其从 DOM 中完全移除
$('#footerwrap + a').remove();
或者更具体地说,独立于#footerwrap
$('a[href="http://okjoomla.com"]').remove();
/* This will remove all the anchor having that link so if you are
sure that it will be always adjacent than use #footerwrap + as well */
关于html - Joomla 烦人的页脚,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20991746/