-
Author
-
September 22, 2013 at 00:57 #3172nicholaus1221Participant
Hi,
I’ve been trying to change the template of the groups page to “Full-width Page Template, No Sidebar”, but it still displays the default page template even when I change it. Can you help me with this?
Thanks,
NicholausSeptember 24, 2013 at 03:25 #3234SQadminKeymasterHi, By default it takes the structure you choose for all buddypress pages from Sweetdate – Buddypress.
You change the template file though, located in sweetdate/groups/index.php to match the full width template locate in page-templates/full-width.phpHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 24, 2013 at 22:43 #3272nicholaus1221ParticipantHi,
Thank you for the tip, I’m comparing the groups index file to the full width template file and am having some difficulty adding/or editing the right pieces of code. I’ve been comparing the groups index file to the members index file as they have similar setups and find the setup of the groups index file more confusing.
Can you help with what exactly to edit? I need the page to be full width so I can add some shortcode in for a plugin I have with a google map for the groups.
Thanks for you help,
I’m excited for the theme update today!
NicholausSeptember 26, 2013 at 00:26 #3332SQadminKeymasterHi,
see the attached content for groups/index.php
and groups/home.phpHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAttachments:
You must be logged in to view attached files.September 26, 2013 at 02:48 #3353nicholaus1221ParticipantHi,
It worked perfectly, is there a reason why the shortcode I added to the Group page in the wordpress backend doesn’t work? It’s for a Google Map that supposed to display just above the groups like what I have currently for the Members directory which works very well.
Any help is much appreciated,
Thanks,
NicholausSeptember 30, 2013 at 02:32 #3542SQadminKeymasterHi, You need to add it to the template groups/index.php. It doesn’t take content added in admin page.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 30, 2013 at 04:04 #3571nicholaus1221ParticipantPerfect, should I just add the shortcode anywhere in the template of the groups/index.php or is there a specific location?
Thank you for your help and assistance,
Nicholaus.October 1, 2013 at 00:37 #3615SQadminKeymasterHi, You can add it before:
<div id="group-dir-search" class="dir-search" role="search">
Add it like this:
<?php echo do_shortcode('[my_shortcode]');?>
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 17, 2013 at 19:59 #8449nicholaus1221ParticipantHi Robert,
Thank you, it worked flawlessly 🙂
Nicholaus
December 3, 2014 at 14:52 #37493topdogParticipantI’m trying to make my groups gate full width as well but the pages to the code you shared is no longer available. Can you repost it please?
December 5, 2014 at 00:28 #37708AbeKeymasterI have attached them as text files. See https://archived.seventhqueen.com/forums/topic/group-page-template-issue#post-3332
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.