Support Forum
Hi Guys,
I am finding that, for my needs, the “statistics footer” at the bottom of each page takes up too much real estate and provides info that I do not want my user to see.
I believe that the display of this section is probably controlled by the file spFoot.php which is located at:
wp-content/sp-resources/forum-themes/default/templates
Since I don’t think it’s a good policy to edit or remove any “vendor files”, then, as per normal “good WP practice”, I am using a Child Theme to “modify” other vendors files when needed.
So ….. if I were to create a directory structure in my child theme to match:
wp-content/sp-resources/forum-themes/default/templates
AND populate it with a new spFoot.php file, that being designed to override the existing spFoot.php file located at:
wp-content/sp-resources/forum-themes/default/templates),
would that achieve my objective of removing the display of the statistics section without breaking other parts of your product?
When I say an “empty spFoot.php file” I suspect that I would need to have only two function calls, namely:
sp_FooterBegin(); and sp_FooterEnd(); with the usual php opening and closing tags and this head:
# --------------------------------------------------------------------------------------
#
# Simple:Press Template
# Theme : Default
# Template : foot
# Author : My Name
#
# The 'foot' template can be used for all forum content that is to be
# displayed at the bottom of every forum view page
#
# --------------------------------------------------------------------------------------
Thanks
kenjw
dont make a child theme... we dont have those - yet... instead create your own theme and edit away... any changes will be upgrade proof and should remain backward compatible... only thing you might need to do is add new template functions if we had new capability you want...
Visit Cruise Talk Central and Mr Papa's World
So my questions really were ….
(1) Is the spFoot.php file the one (and only one) I need to change to remove all the statistics at the bottom?
AND
(2) Are the changes I want to make to the spFoot.php file the correct changes to remove all the statistics at the bottom?
Thanks for the pointer to the Theme stuff ...
Best Regards
Ken
That's a yes to both questions.
We have tried to make the display function names relatively easy to identify so it should be fairly easy to trace them line by line and compare them to what you see displayed on the screen. So you can remove whole blocks or just individual components. if you comment out code lines rather than remove then then you should be fairly safe to experiment with the result.
YELLOW
SWORDFISH
|
1 Guest(s)