-
Author
-
September 26, 2013 at 21:08 #3380nusolutionsParticipant
I need to use an old school method for this particular project so I wonder if it’s possible to only have a landing or splash page appear on the home page with no other options, including the footer. It would resemble Zoosk or Match in that only a registration or search form is present upon visiting the site. Once logged in users are redirected to their BuddyPress profiles and when Home is clicked they see a different layout which would be similar to the one in the demo.
Is it also possible to have rotating images on the home landing or splash page?Awesome theme!
Any thoughts to adding a showcase?
September 27, 2013 at 01:59 #3400nusolutionsParticipantTheme version update so I see that the Revolution slider has been added. Great!
September 30, 2013 at 04:22 #3576SQadminKeymasterHi,
I am thinking that you could have two pages and use this plugin to show one or another in the menu: http://wordpress.org/plugins/menu-items-visibility-control/Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 30, 2013 at 16:00 #3591AnchoraParticipant+ for further insight this might help:
http://wpmu.org/how-to-build-a-facebook-style-members-only-wordpress-buddypress-site/
🙂September 30, 2013 at 16:16 #3592AnchoraParticipant(though i’m not sure whether this conflicts with the theme or not)
April 4, 2014 at 13:12 #14304nusolutionsParticipantREVISIT:
I’m back on this project and still no luck in hiding footers on the home page for non-registered users?
I tried the article and realize that I don’t want heavy coding for this particular need as there should be a way to create a page which doesn’t contain the footers. All this page needs is the slider, register/search form, and space for text if needed.April 4, 2014 at 14:05 #14307joninhasParticipantI really need also to know how can i insert logins and registration forms on a landing page
Apreciate
April 9, 2014 at 14:04 #14653AbeKeymasterHi nusolutions, You need to edit footer.php and add some php conditions in there to check if the user is logged in, example:
<?php if (is_user_logged_in()) { ?> Content to hide <?php } ?>
You should really hire a developer to help you with custom changes.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.April 9, 2014 at 14:08 #14654AbeKeymasterHi joninhas, For the register form in homepage you have this shortcode: [kleo_register_form]
Attributes available:
profiles=”1|0″ – show/hide the recent profiles underneath
title=”Title…”
details=”Extra details here …”For the login form there is no shortcode for a form but you should check wordpress default login form: https://codex.wordpress.org/Function_Reference/wp_login_form
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.April 9, 2014 at 14:15 #14656nusolutionsParticipantI don’t need no stinkin’ developer! 🙂
I managed to figure it out by using the for guests shortcode, widget logic plugin, and another plugin called menu item visibility control to hide certain menu links. In addition I decided to keep the footer widgets. See here: http://singleryders.com
My one remaining challenge is this:
A user logs in and they’re re-directed to their profile. Instead of seeing Home they now see Welcome instead. The Welcome page provides the different experience I was seeking. All is well except if they click the logo it takes them back to the home page which at this point contains nothing. In addition the Home link dispays in the breadcrumb. So instead of trying to make the Home page look like the Welcome page I think I’d prefer to hide it completely for logged in users.
Is this possible or do you still recommend I hire a developer? 😐 :-/ 🙂thanks
April 12, 2014 at 18:06 #14925AbeKeymasterYou can hide the breadcrumb Home with the css if you do not want to go into coding:
COPY CODE.trail-begin {display: none;}
Editing header.php you will find the logo and the link which is generated by the php function: get_home_url(). You can change that to match your needs
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.June 2, 2014 at 06:35 #19217nusolutionsParticipantRevisit. Revisit. I see where the ability to enable/disable Breadcrumbs was added so thanks for that! In regards to the logo image I see and locate this inside of header.php:
COPY CODE<!-- Logo --> <div class="four columns"> <h1 id="logo"><?php bloginfo('name'); ?> <a>"><img />" width="294" height="108" alt="<?php bloginfo('name'); ?>"></a> </h1> </div> <!--end logo--> In my search I come across this: <?php if ( is_user_logged_in() ) { } else { <a href="http://yoursite.com">Sign Up</a> }; ?> What I find is that I can simply remove: <a>">
and the image is simply not clickable! Done!
What I’d like to know if it’s possible to have the image to link to a different URL depending on whether the user is logged in or not?
June 2, 2014 at 06:36 #19218nusolutionsParticipantSorry! I forgot to add the code within the brackets.
June 6, 2014 at 00:55 #19408AbeKeymasterYou should do something like
COPY CODE<?php if ( is_user_logged_in() ) { ?> <a href="http://yoursite.com/forloggedin" rel="nofollow">Sign Up</a> <?php } else { ?> <a href="http://yoursite.com" rel="nofollow">Sign Up</a> <?php }; ?>
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.June 6, 2014 at 01:44 #19413nusolutionsParticipantSo I’m looking at this code:
COPY CODE<!-- Logo --> <div class="four columns"> <h1 id="logo"><?php bloginfo('name'); ?> <img id="logo_img" src="<?php echo sq_option('logo',get_template_directory_uri().'/assets/images/logo.png'); ?>" width="294" height="108" alt="<?php bloginfo('name'); ?>"></a> </h1> </div> <!--end logo-->
I don’t see where to add this as I’m talking about the site logo and having it point to the correct page. So if clicked while logged in it points to the welcome page, which has a different layout, http://mysite.com/welcome. If not logged in when clicked the logo points to the Home page. The way I have it right now the image isn’t linked or clickable.
thanks
June 10, 2014 at 09:19 #19587NudricaParticipantI need the same thing. Making the logo redirect to one part of my site when a user is logged in and another when he/she is not.
Did you figure out where the code should go nusolutions?
June 10, 2014 at 15:57 #19628AbeKeymasterHi, you need to edit header.php and around line 20 you should see the logo image that should be modified like this and change the links accordingly to your needs:
COPY CODE<?php if ( is_user_logged_in() ) { ?> <a href="<?php echo get_home_url(); ?>"><img id="logo_img" src="<?php echo sq_option('logo',get_template_directory_uri().'/assets/images/logo.png'); ?>" width="294" height="108" alt="<?php bloginfo('name'); ?>"></a> <?php } else { ?> <a href="<?php echo get_home_url(); ?>"><img id="logo_img" src="<?php echo sq_option('logo',get_template_directory_uri().'/assets/images/logo.png'); ?>" width="294" height="108" alt="<?php bloginfo('name'); ?>"></a> <?php }; ?>
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.June 11, 2014 at 01:35 #19659nusolutionsParticipantLine 20 for me shows <head> and line 116 shows logo as so:
COPY CODE<!-- Logo --> <div class="four columns"> <h1 id="logo"><?php bloginfo('name'); ?> <img id="logo_img" src="<?php echo sq_option('logo',get_template_directory_uri().'/assets/images/logo.png'); ?>" width="294" height="108" alt="<?php bloginfo('name'); ?>"></a> </h1> </div> <!--end logo-->
And end up with the following:
COPY CODE<!-- Logo --> <div class="four columns"> <h1 id="logo"><?php if ( is_user_logged_in() ) { ?> <a href="http://singleryders.com/welcome/"><img id="logo_img" src="<?php echo sq_option('logo',get_template_directory_uri().'/assets/images/logo.png'); ?>" width="294" height="108" alt="<?php bloginfo('name'); ?>"></a> <?php } else { ?> <a href="<?php echo get_home_url(); ?>"><img id="logo_img" src="<?php echo sq_option('logo',get_template_directory_uri().'/assets/images/logo.png'); ?>" width="294" height="108" alt="<?php bloginfo('name'); ?>"></a> <?php }; ?></a> </h1> </div> <!--end logo-->
BAM!
BAM!
BAM! BAM! BAM!It works!!!
Awesome! Awesome Indeed! -
AuthorPosts
The topic ‘A Splash or Landing page Only!’ is closed to new replies.