Fixing Alignment
-
Ok I understand by default the Buddy Press templates are like this….
`
[HEADER][PAGE CONTENT][FOOTER]
And I know that I would need to to modify some of the templates to match my theme’s HTML structure which is…
<?php
/**********************************************************************
* PRESTIGE WORDPRESS EDITION
* (Ideal For Business And Personal Use: Portfolio or Blog)
*
* File name:
* page.php
* Brief:
* Theme default page template code
* Author:
* DigitalCavalry
* Author URI:
* http://themeforest.net/user/DigitalCavalry
* Contact:
* digitalcavalry @gmail.com
***********************************************************************/get_header();
the_post();global $post;
$pageid = $post->ID;$dccp = GetDCCPInterface();
?><?php
echo ‘‘;the_content();
GetDCCPInterface()->getIGeneral()->renderWordPressPagination();if(comments_open($pageid))
{
echo ‘‘;
comments_template();
}?>
<?php
get_footer();
?>I have no experience with HTML so I don’t know what in the structure I would need to change. It says I will need to change the HTML structure in the BuddyPress templates that I copied into the theme to match the structure in my page.php file that i just posted.
The following is the Forum.php which I need to change. Can anyone make the HTML structure match for me so I can have an example of what needs to be done? Thanks
<?php
/**********************************************************************
* PRESTIGE WORDPRESS EDITION
* (Ideal For Business And Personal Use: Portfolio or Blog)
*
* File name:
* page.php
* Brief:
* Theme default page template code
* Author:
* DigitalCavalry
* Author URI:
* http://themeforest.net/user/DigitalCavalry
* Contact:
* digitalcavalry @gmail.com
***********************************************************************/get_header();
the_post();global $post;
$pageid = $post->ID;$dccp = GetDCCPInterface();
?><?php printf( __( "You are not a member of any groups so you don't have any group forums you can post in. To start posting, first find a group that matches the topic subject you'd like to start. If this group does not exist, why not create a new group? Once you have joined or created the group you can post your topic in that group’s forum.”, ‘buddypress’ ), site_url( BP_GROUPS_SLUG . ‘/create/’ ) ) ?>
<?php
get_footer();
?>`
- The topic ‘Fixing Alignment’ is closed to new replies.