Search Results for 'code'
-
Search Results
-
I’ve managed to integrate everything perfectly between my WordPress and bbPress site except this last part. I want to call up <?php login_form(); ?> from bbPress and show it in my WordPress header.
The reason I want to do this because I have a “Login” and “Register” button that changes to something different if the user is logged in. Like this;
Is this possible? Thanks for all help so far. The bbPress community has been very helpful so far
Topic: Menu Items not visible
Hi All,
I am in the process of getting at WP theme applied to bbpress and so far have had some luck..The headers and Footers are visible to the most part.
However the menu items are not coming across from the WP menu system.
Site: http://www.cloudosity.com
bbpress: http://www.cloudosity.com/forum
I get the two hard coded menu items but it looks like none of the WP variables can be called from the bbpress page. I am using get_header(); to pull in the header but the WP header code such as <?php echo $page_menu; ?> does not appear to work.
Can anyone tell me if this is possible to resolve?
Thanks,
David
The error
Warning: require_once(includes/admin.php) [function.require-once]: failed to open stream: Not a directory in /homepages/0/d188981313/htdocs/.org/wordpress/forum/my-plugins/after-the-deadline/after-the-deadline.php on line 68
Fatal error: require_once() [function.require]: Failed opening required 'includes/admin.php' (include_path='.:/usr/lib/php5') in /homepages/0/d188981313/htdocs/.org/wordpress/forum/my-plugins/after-the-deadline/after-the-deadline.php on line 68I know I don’t have an “includes” folder
/**
* Require Admin/Public/AJAX File
*/
if ( defined( 'DOING_AJAX' ) && DOING_AJAX == true && in_array( 'ignorealways', (array) $atd_plugopts['enableuser'] ) ) /* Load Ignore Phrase file as we are doing AJAX */
require_once( 'includes/ajax-ignore.php' );
elseif ( bb_is_admin() ) /* Load admin.php file if it is the admin area */
require_once( 'includes/admin.php' );
else /* Else load public.php file as it is the public area */
require_once( 'includes/public.php' );
