Tagged: x
-
AuthorPosts
-
November 8, 2016 at 3:12 am #1248381
lisacole1ParticipantHi
I’m using Paid Memberships Pro on this site http://members.breastfeedingfestival.comWhen someone is logged out or not registered they are seeing the default X theme not found message
http://members.breastfeedingfestival.com/category/members-news/They should be seeing a login or register option.
I think I have the settings right in PM pro so is there something in X that is overriding it?
Many thanks!
November 8, 2016 at 4:14 am #1248434
Paul RModeratorHi,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
November 8, 2016 at 5:44 am #1248528
lisacole1ParticipantThis reply has been marked as private.November 8, 2016 at 6:59 am #1248589
DarshanaModeratorHi there,
It’s an empty category page that you’re using. In that case follow this instructions below.
Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
Copy the file _content-none.php which is under “x/framework/views/global/” into your child theme’s respective location (“x-child/framework/views/global/_content-none.php”).
Then Edit the file using a text editor and replace with the following code.
<?php // ============================================================================= // VIEWS/GLOBAL/_CONTENT-NONE.PHP // ----------------------------------------------------------------------------- // Output when no posts or pages are available. // ============================================================================= if ( (is_category( 'members-news' )) and (!is_user_logged_in()) ) { ?> <article id="post-0" class="post-0 post type-post status-publish hentry"> <div class="entry-wrap"> <header class="entry-header"> <h1 class="entry-title"><?php _e( 'Your Login Page Title', '__x__' ); ?></h1> </header> <div class="entry-content"> <p><?php _e( "Your Login Page Content Here", '__x__' ); ?></p> </div> </div> </article> <!-- end #post-0 --> <?php } else { ?> <article id="post-0" class="post-0 post type-post status-publish hentry"> <div class="entry-wrap"> <header class="entry-header"> <h1 class="entry-title"><?php _e( 'Nothing to Show Right Now', '__x__' ); ?></h1> </header> <div class="entry-content"> <p><?php _e( "It appears whatever you were looking for is no longer here or perhaps wasn't here to begin with. You might want to try starting over from the homepage to see if you can find what you're after from there.", '__x__' ); ?></p> </div> </div> </article> <!-- end #post-0 --> <?php }Then change the content accordingly.
Hope that helps.
November 8, 2016 at 7:30 am #1248621
lisacole1ParticipantThanks but that didn’t work – I still get
“Nothing to Show Right Now
It appears whatever you were looking for is no longer here or perhaps wasn’t here to begin with. You might want to try starting over from the homepage to see if you can find what you’re after from there.”
instead of a login/register
November 8, 2016 at 8:49 am #1248730
LelyModeratorHi There,
Please clear your browser cache. See attached screenshot of what I am seeing. You may edit that content on the code provided here:#1248589
Hope this helps.
November 8, 2016 at 9:39 am #1248792
lisacole1ParticipantHi, that works only on the blog – not on the pages, they show the X error message
November 8, 2016 at 9:44 pm #1249563
LelyModeratorHello There,
From the code suggested on the previous reply, please check this line:
if ( (is_category( 'members-news' )) and (!is_user_logged_in()) ) {
Update to this:
if ( (is_category()) and (!is_user_logged_in()) ) {Hope this helps
November 9, 2016 at 1:28 am #1249695
lisacole1Participantthank you, now I get a thing that says ‘ your login page here’
so it is sort of working, only I don’t have a login page.
I’ve done this on other x sites and it’s just automatically shown a login option, so I’m not sure why it is behaving differently on this one.
If you look at this page
http://members.breastfeedingfestival.com/archive/that is what I want it to do globally when a user is not logged in or registered.
November 9, 2016 at 4:25 am #1249801
ChristianModeratorYou might have set the redirect URL in your membership plugin incorrectly. Please contact the plugin developer to get their feedback on this issue.
Thanks.
November 9, 2016 at 5:14 am #1249847
lisacole1Participantok will do, thank you – I’ll take off the code you gave me because it looks like a plugin issue, not an x issue. thank you for your time helping
November 9, 2016 at 5:52 am #1249897
LelyModeratorYou’re welcome!
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1248381 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
