Forum Replies Created
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' ); ?>
wow @hnla thanks i may take some time with this as its getting a little complicated for my current skill level.
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
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. ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
anybody have any ideas?
@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(); ?>
Ill have a look through this, it may be a little to complicated for me from what i have seen so far