Using BP-Templates for WordPress Custom-PageTemplates
For having this effect, I tried now the following:
I created inside my reddle-child-folder a page-profil.php starting with:
<?php /* Template Name: Profil-Seite */
and I inserted there the entrire code of the wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/home.php
Then I created a new page http://kampfsportlerinnenneuwied.1a-spielwiese.de/profil/, using my new WordPress Template Profil-Seite.
The result is neither regarding the design nor regarding the content that, which I hoped, that it would be – but maybe it’s a first step in the right direction. –
Is there a way to insert into my page-profil.php code, that makes, that
- on the page http://kampfsportlerinnenneuwied.1a-spielwiese.de/profil/ the data regarding my user kampfsportlerinnenneuwied
- and on the page http://fan1.1a-spielwiese.de/profil/ the data regarding my user fan1 are displayed?
In the corresponding way I created a page-groups.php (using the wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/groups.php) and a page-profile-details.php (using the wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile.php) as well as pages http://kampfsportlerinnenneuwied.1a-spielwiese.de/profil/profile/ and http://kampfsportlerinnenneuwied.1a-spielwiese.de/profil/groups/.
The result is even worse, as you can see.
(How) is it possible to change that files in a way, that makes the pages displaying what they should display – i.e. the content of the pages:
- The topic ‘Using BP-Templates for WordPress Custom-PageTemplates’ is closed to new replies.