This topic has 11 replies, 4 voices, and was last updated 9 years by topdog.

  • Author
  • #3172
     nicholaus1221
    Participant

    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,
    Nicholaus

    #3234
     SQadmin
    Keymaster

    Hi, 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.php

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #3272
     nicholaus1221
    Participant

    Hi,

    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!
    Nicholaus

    #3332
     SQadmin
    Keymaster

    Hi,
    see the attached content for groups/index.php
    and groups/home.php

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    Attachments:
    You must be logged in to view attached files.
    #3353
     nicholaus1221
    Participant

    Hi,

    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,
    Nicholaus

    #3542
     SQadmin
    Keymaster

    Hi, 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 solution
    #3571
     nicholaus1221
    Participant

    Perfect, 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.

    #3615
     SQadmin
    Keymaster

    Hi, 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 solution
    #8449
     nicholaus1221
    Participant

    Hi Robert,

    Thank you, it worked flawlessly 🙂

    Nicholaus

    #37493
     topdog
    Participant

    I’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?

    #37708
     Abe
    Keymaster

    I 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.

    #37772
     topdog
    Participant

    Got it and it works great!! Thanks Abe.

Viewing 12 posts - 1 through 12 (of 12 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?