Hello, I have configured the wordpress plugin and I have checked the box to use header and footer from my wordpress theme. But now I want to use a different page-template.php from my wordpress theme on amember signup page. How can I configure this? Thanks, Max
Max, As far as I know, aMember is going to pull in the header, footer, and background color. The aMember content will be displayed at full width. I don't think this approach supports a content-sidebar layout. However, with some custom coding I am sure it is possible.
I want to use a special wordpress page-template.php to get no menu display and a smaller page width and a different footer. So I have a good layout for a salespage.
You can always leave the "Use WP header/footer...." box unchecked and build a custom theme as described here in the support material.
I think I did this on one of my sites by creating a custom 'page' in wordpress and setting it to be the default used. Then amember pulls this one. You will need to set all your other wordpress pages to use a different style. David
This is a great idea and could really solve my need too. I do have one question. How do I set it as default used?
ok my idea is now to use standart wordpress header/footer on login, logout, memberarea,... pages. Only for the signup pages I want to build a custom theme as described here in the support material. Can I do this on this way without problems? Where I can find a developer to create this signup-page style on the basis of the existing wordpress-template.php? Thanks, Max
Sure this should be possible. But you will need to store your modified templates inside /amember/application/default/plugins/protect/wordpress/YOUR_WORDPRESS_THEME_FOLDERNAME/ folder instead on theme folder.
Ok I have do this and no I want to customize the code of layout.phtml to open the style of the page-landingpage.php template in my wordpress folder. Code: <?php Am_Di::getInstance()->plugins_protect->get('wordpress')->startLayout($this, $title,true); get_header(); ?> <?php include dirname(__FILE__)."/../amember.php"; ?> <?php get_footer(); ?> How I modify this code to get my result? I want to open the style of the "page-landingpage.php" template in my wordpress folder and include /amember.php content in it. Thanks for help, Max
Copy all contents of page-landingpage.php to layout.phtml and place \ <?php include dirname(__FILE__)."/../amember.php"; ?> where ever you want to include aMember code.
okay this works great! But now the style of amember signup form is broken. I see only the pure text and "fill-in forms" without signup form design. How can I get the style of the amember signup form back? 2. How can I display title tag in amemer signup form. At the moment I see only the domain adress in title tag. Thanks for help. I am much further now to get what I want with the signup page. Max
Make sure that you have this line at the top of your template: <?php Am_Di::getInstance()->plugins_protect->get('wordpress')->startLayout($this, $title,true); ?> It should include amember styles into wordpress and also set necessary hooks for title.
Thank you. The last thing is the title. How I can change the title tag manual on layout file or in amember? Because I use a wordpress seo plugin on my blog and there is no title tag on signup pages,..., I see only the domain adress in title tag. Thanks, Max
I have send you a message with url in the last days. This is the code: Code: <?php Am_Di::getInstance()->plugins_protect->get('wordpress')->startLayout($this, $title,true); ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <head> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <title><?php colabs_title(); ?></title> <?php colabs_meta(); colabs_meta_head(); ?> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/madmenu.css" type="text/css" media="screen" /> <?php if (is_home()) { ?> <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/css/jquery.jcarousel.css" /> <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/css/skin.css" /> <?php } ?> <!--[if lte IE 9]> <style type="text/css"> a img {max-width:none} #featured {height: 282px; overflow: hidden;} .jcarousel-skin-arthemia .jcarousel-container-vertical { height: 257px; padding: 0; width: 310px; } .jcarousel-skin-arthemia .jcarousel-clip-vertical { height: 237px; width: 310px; } </style> <![endif]--> <?php wp_head(); ?> <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/includes/css/responsive.css" type="text/css" /> <?php if(get_option('colabs_disable_mobile')=='false'){?> <meta name="viewport" content="width=device-width, initial-scale=1"/> <?php }?> <script type="text/javascript"> var disqus_developer = 1; </script> <!--[if IE 7]> <style type="text/css"> .clearfloat { display:inline-block; } .categorybar { width:17.7% } #tabs ul.colabsTabs li { float:left } #tabs ul.colabsTabs { overflow:hidden } </style> <![endif]--> </head> <body <?php body_class(); ?>> <div class="container" style="width: 800px;"> <div id="head" class="clearfloat"> <div id="logo" class="left"> <?php $cp_iLogo = get_option( "colabs_logo" ); if( $cp_iLogo != "" ) { ?> <a href="<?php echo get_option('home'); ?>"><img src="<?php echo $cp_iLogo; ?>" alt="" /></a> <?php } ?> </div> </div><!--/#head--> <div id="page" class="clearfloat" style="background: none;"> <?php if (!is_home()) { ?><div id="inner"><?php } ?> <div id="content" class="archive left fullwidth"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <!--/.post_class()--> <?php endwhile; endif; ?> <?php include dirname(__FILE__)."/../amember.php"; ?> </div><!--/#content2--> </div> <?php wp_reset_query(); ?> </div><!--/#page--> <div id="footer"> <div id="footer-left"> <?php if (get_option('colabs_credit_left')==''){ ?> <?php _e(); ?> <?php }else{ echo get_option('colabs_credit_left');} ?> </div> <div id="footer-right"> <?php if (get_option('colabs_credit_right')==''){ ?> <?php }else{ echo get_option('colabs_credit_right');} ?> </div> </div><!-- #footer --> </div><!-- .container --> <?php wp_footer(); ?> </body> </html>
Well as far as I can see you have title tags specified in your template. So just change: <title><?php colabs_title(); ?></title> to <title><?php echo $title; ?></title>
Ok thank you this is working. The other wordpress/amember pages like member login, member area and soon are also without title tag, I see only the domain adress in title tag. For this pages I use a different layout file with the following code: Code: <?php Am_Di::getInstance()->plugins_protect->get('wordpress')->startLayout($this, $title,true); get_header(); ?> <?php include dirname(__FILE__)."/../amember.php"; ?> <?php get_footer(); ?> Maybe the problem is that I use a wordpress seo plugin on my blog. How I get the title tag also on amember wordpress pages with this layout file? Thanks, Max