Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
coding-topic
Remove Or Comment Out New/Recently Added Drop Down Menu
Avatar
weddingdecordirect
Rookie
Free Members
sp_UserOfflineSmall Offline
Mar 9, 2012 - 10:33 am

Hello,

 

First of all, thank you very much for the forum!

 

Secondly, I am really tight on space thanks to the theme that I'm using. Before I added any posts, everything was looking good. When I added posts the 'New/Recently Added' dropdown menu appeared in the the forum. This has ended up on a second line because of the width I have available. To be honest, I don't really need it anyway. Can someone please tell me how to remove it/comment it out? 

 

Thanks in advance. 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 9, 2012 - 12:19 pm

its in your sp theme...   the spHead.php template tags outputs the quicklinks... just remove it if you dont want it...

as always, we strongly recommend you create your own theme and not edit ours:  http://codex.simple-press.com/.....g-a-theme/

Avatar
underthegun
Atlanta, GA
Member
Free Members
sp_UserOfflineSmall Offline
Apr 14, 2012 - 1:23 pm

If you insist on doing this go to
WP >> Dashboard >> Forums >> Themes >> Theme Editor >> spHead.php

Then find
sp_SectionStart('tagClass=spPlainSection', 'search');
sp_QuickLinksForum('tagClass=spControl spSelect spRight', __sp('Select Forum'));
sp_QuickLinksTopic('tagClass=spControl spSelect spRight', __sp('New/Recently Updated Topics'));
sp_SearchForm($searchForm);
sp_SectionEnd('', 'search');

Near the bottom.

To remove mine I just added # in front of each line. I didn't notice any negative effects doing it this way but I decided I wanted those features kept. So I increased the width of my board.

Of all the things I've lost I miss my mind the most...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 14, 2012 - 2:03 pm

thats how...  careful as the search form is there too...

also, be sure  you are editing your own theme and not one we provide or you will lose your changes on an update... http://codex.simple-press.com/.....g-a-theme/

Avatar
underthegun
Atlanta, GA
Member
Free Members
sp_UserOfflineSmall Offline
Apr 14, 2012 - 2:22 pm

I thought about editing my post to say that, too. Before I edited my theme's width I decided to just remove all 3.. but darn they sure are nice to have on the board 🙂

And for the record, assuming he comes back and reads this... I followed the link you gave for creating your own theme and it worked with no issues (of course). It's a lot easier than I thought it would be and now I won't lose any of the work I've done. Great stuff!

Of all the things I've lost I miss my mind the most...

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 14, 2012 - 2:37 pm

Not sure I could operate here without the quicklinks...

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 616
Members: 17348
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10118
Posts: 79603