您好我正在创建插件,它在不同的不同页面中有很多表,我使用<div class="StatsItem" style="border-bottom: 0px;" onclick="return OpenPopup('Show store icon');">
<div class="lFloat iStore MarginTop4" ></div>
<asp:Label runat="server" ID="lblStore" Text="Store" CssClass="changeColor spnValue" ></asp:Label>
</div>
<div class="StatsItem" style="border-bottom: 0px;" onclick="return OpenPopup('Show Review icon');">
<div class="lFloat iReview MarginTop4" ></div>
<asp:Label runat="server" ID="lblReview" Text="Review" CssClass="changeColor spnValue" ></asp:Label>
</div>
<div class="lFloat iStore MarginTop10" id="dvstoreicon"></div>
<div class="lFloat iReview MarginTop10" id="dvreviewicon"></div>
<script type="text/javascript">
function OpenPopup(value) {
alert(value);
}
</script>
类来创建表。现在我必须从所有表中删除页脚列名,仅在需要的标题列名称处删除。
我可以使用css隐藏它:
wp_list_table
但我的任务是使用代码删除页脚,而不使用css。
我搜索了谷歌及其类引用,但我不能只获得标题列名称,它们都来自一个函数。
关于tfoot{
display:none;
}
任何人都可以帮助我,我还有很深的想法吗?
答案 0 :(得分:0)
没有此过滤器,因为此类被标记为私有。 (就像dingo_d已经说过的那样)。
Look at the code where tfoot will be outputed.
如果您仍想使用该课程,您应该制作副本以使用和分发您自己的项目,否则使用它需要您自担风险。
您可以复制该类(建议使用),只需删除以下行:
<tfoot>
<tr>
<?php $this->print_column_headers( false ); ?>
</tr>
</tfoot>