Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • @hallsy

    Participant

    ok here is a pastebin to my page.php code which is the same as my newly copied buddypress.php

    From line 33 it is my content-page.php code

    I hope this is what you mean @hnla if it isn’t i apologise as i am very much a total beginner..

    http://pastebin.com/a7d93eQA

    @hallsy

    Participant

    right i have copied the page.php and renamed it buddypress.php but i dont understand what you mean by:

    get_template_part call for content-page with the actual content in that file

    I can see that part but i dont know what to add

    <?php get_template_part( 'content', 'page' ); ?>

    @hallsy

    Participant

    wow @hnla thanks i may take some time with this as its getting a little complicated for my current skill level.

    @hallsy

    Participant

    Hey @karmatosed thanks for the reply. I have tried that but i seem to be getting a blank website from that. Just a white page, somethings not being liked 🙁

    @hallsy

    Participant

    Just tried adding what @akukskuks game me via the link but it seems to give back a blank page.

    I am replacing the code in bold
    <?php if (have_posts()) : ?>
    <?php while ( have_posts() ) : the_post(); ?>
    <?php get_template_part( ‘content’, ‘page’ ); ?>
    <?php endwhile; // end of the loop. ?>

    with

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

    anybody have any ideas?

    @hallsy

    Participant

    @mercime ok so i am in my /themes folder and i have located page.php the code found in that file is below, where do i change things to make the button who up?

    <?php
    
    /**
     * The template for displaying all pages.
     *
     * This is the template that displays all pages by default.
     * Please note that this is the WordPress construct of pages
     * and that other 'pages' on your WordPress site will use a
     * different template.
     *
     * @package  WellThemes
     * @file     page.php
     * @author   Well Themes Team
     * @link 	 http://wellthemes.com
     */
     ?>
    <?php get_header(); ?>
    <section id="primary">
    	<div id="content" role="main">
    	
    	<?php if (have_posts()) : ?>
    		<?php while ( have_posts() ) : the_post(); ?>				
    			<?php get_template_part( 'content', 'page' ); ?>
    		<?php endwhile; // end of the loop. ?>
    	<?php endif ?>	
    
    	</div><!-- /content -->
    </section><!-- /primary -->
    <?php get_sidebar('left'); ?>
    <?php get_sidebar('right'); ?>
    <?php get_footer(); ?>

    @hallsy

    Participant

    thanks @akukskuks

    Ill have a look through this, it may be a little to complicated for me from what i have seen so far 🙂

    @hallsy

    Participant

    Can you tell me what your problem was and how you fixed it as i cant find my create group button either and its driving me mad!

    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
Skip to toolbar