Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: template compatibility


barrymonster
Participant

@barrymonster

I’ve read the instructions and done what step three has told me yet nothing works. I’ve copied and pasted until my lil fingers bled.

Here is my page.php file ;

<?php get_header(); ?>

<div id=”content”>

<div id=”contentleft”>

<div class=”postarea”>

<?php include(TEMPLATEPATH . ‘/includes/breadcrumb.php’);?>

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

<h1><?php the_title(); ?></h1>

<?php the_content(__(‘Read more’, ‘studiopress’));?>

<div class=”clear”></div>

<?php edit_post_link(‘(‘.__(‘Edit’, ‘studiopress’).’)’, ”, ”); ?>

<?php endwhile; else: ?>

<?php require(TEMPLATEPATH . ‘/includes/post-nav-block.php’); ?>

<?php endif; ?>

</div>

</div>

<?php include(TEMPLATEPATH.”/sidebar.php”);?>

</div>

<?php get_footer(); ?>

and here is the activity index.php;

<?php get_header() ?>

<div id=”container”>

<div id=”content”>

<?php if ( !is_user_logged_in() ) : ?>

<h3><?php _e( ‘Site Activity’, ‘buddypress’ ) ?></h3>

<?php endif; ?>

<?php do_action( ‘bp_before_directory_activity_content’ ) ?>

<?php if ( is_user_logged_in() ) : ?>

<?php locate_template( array( ‘activity/post-form.php’), true ) ?>

<?php endif; ?>

<?php do_action( ‘template_notices’ ) ?>

<div class=”item-list-tabs activity-type-tabs”>

</div><!– .item-list-tabs –>

<div class=”item-list-tabs no-ajax” id=”subnav”>

    <li class=”feed”>” title=”RSS Feed”><?php _e( ‘RSS’, ‘buddypress’ ) ?>

    <?php do_action( ‘bp_activity_syndication_options’ ) ?>

    <li id=”activity-filter-select” class=”last”>

    <select>

    <option value=”-1″><?php _e( ‘No Filter’, ‘buddypress’ ) ?></option>

    <option value=”activity_update”><?php _e( ‘Show Updates’, ‘buddypress’ ) ?></option>

    <option value=”new_blog_post”><?php _e( ‘Show Blog Posts’, ‘buddypress’ ) ?></option>

    <option value=”new_blog_comment”><?php _e( ‘Show Blog Comments’, ‘buddypress’ ) ?></option>

    <?php if ( bp_is_active( ‘forums’ ) ) : ?>

    <option value=”new_forum_topic”><?php _e( ‘Show New Forum Topics’, ‘buddypress’ ) ?></option>

    <option value=”new_forum_post”><?php _e( ‘Show Forum Replies’, ‘buddypress’ ) ?></option>

    <?php endif; ?>

    <?php if ( bp_is_active( ‘groups’ ) ) : ?>

    <option value=”created_group”><?php _e( ‘Show New Groups’, ‘buddypress’ ) ?></option>

    <option value=”joined_group”><?php _e( ‘Show New Group Memberships’, ‘buddypress’ ) ?></option>

    <?php endif; ?>

    <?php if ( bp_is_active( ‘friends’ ) ) : ?>

    <option value=”friendship_accepted,friendship_created”><?php _e( ‘Show Friendship Connections’, ‘buddypress’ ) ?></option>

    <?php endif; ?>

    <option value=”new_member”><?php _e( ‘Show New Members’, ‘buddypress’ ) ?></option>

    <?php do_action( ‘bp_activity_filter_options’ ) ?>

    </select>

</div><!– .item-list-tabs –>

<div class=”activity”>

<?php locate_template( array( ‘activity/activity-loop.php’ ), true ) ?>

</div><!– .activity –>

<?php do_action( ‘bp_after_directory_activity_content’ ) ?>

</div><!– #content –>

</div><!– #container –>

<?php locate_template( array( ‘sidebar.php’ ), true ) ?>

<?php get_footer() ?>

To the best of my knowledge I have tried every possible placement I could think of but nothing is working. Am I missing something ?

Skip to toolbar