I am wanting to build a members area for my wordpress site. I do not understand the wordpress system enough to integrate it 100%, as it is only a small members set up to few a couple of pages – and I don’t want members seeing the dashboard. (Also as I do not want to clog up the template menu with templates for single pages – that won’t make sense for my client – I would prefer to avoid that technique)
My thoughts are to set up wordpress so it’s runs in a subfolder but accessed my the main domain address. Technique here
Then I was going to set up a folder with my own pages, that I can have control over.
So The files are set up:
—- Wordpres Files
Now, following this method to integrate WordPress into a site. I am setting up the skeletons of my custom pages as
<?php /* Short and sweet */ define('WP_USE_THEMES', false); require('../wp/wp-blog-header.php'); get_header(); ?> <!-- MY CONTENT GOES IN HERE --> <?php get_sidebar() ?> <?php get_footer() ?>
This seems to be pretty close to what I need. However, I have the following issues.
- As it is outside of the WordPress Set Up, the page is being seen as an error page so the <title> is ‘Page Not Found – Blog Title’
- The breadcrumbs are showing ‘Home > 404’ – Guessing due to same issue as the title problem.
Is there a way to set this info above the get_header();
Or is there a method I am overlooking?
Any help would be appreciated.
- The topic ‘Integrate Personalised Pages’ is closed to new replies.