Forum Replies Created
-
Author
-
steve0nzParticipant
but then how do I hide the menu item when someone is logged in… the buddypress version auto hides when someone logs in.
steve0nzParticipantI am also trying to figure out in your example, how you set a full page image, how is this done?
steve0nzParticipantAh thanks, probably should have.
Alright, the next issue is that I want to modify the register page on our live site to use the shortcode you can see it here: https://ilovenz.me/register/ but the short code does not change the register page.
I get that I could create a new page “register-2” however the platform auto hides the existing register link from the nav when someone has registered, and if I add the new register page to the nav, then it will not auto hide. And I will have to dig through the site and tell every page to go to the new register page.
how can I make this work?
Regards
Stevesteve0nzParticipantThanks for the code, we have an issue when using this code.
I have noticed that the logo of the website dissappears with this code.
Some how it appends the style “max-height: 0px;” to the logo when in responsive view. As soon as I remove this code from the themes functions file the logo becomes visible.
Can you please take a look?
Attachments:
You must be logged in to view attached files.steve0nzParticipantThanks, I really appreciate it.
It worked and I’m satisfied.. almost too two weeks 😀
Out of curiosity, what was causing the issue?
March 8, 2017 at 12:45 in reply to: PHP Warning: in_array() expects parameter 2 to be array, boolean given #155048steve0nzParticipantThis reply has been set as private.steve0nzParticipantHi there
I have been looking at the next page function and I have been trying to modify it so I will just get a button for next page that is something like “read the full story”.
COPY CODE<?php if ( ! $is_single ) : // Only display Excerpts for Search ?> <?php echo kleo_excerpt( 50 ); ?> <p class="kleo-continue"> <a class="btn btn-default" href="<?php the_permalink() ?>"><?php esc_html_e( 'Continue reading', 'kleo_framework' ); ?></a> </p> <?php else : ?> <?php the_content( esc_html__( 'Continue reading <span class="meta-nav">→</span>', 'kleo_framework' ) ); ?> <?php wp_link_pages( array( 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'kleo_framework' ), 'after' => '</div>', ) ); ?> <?php endif; ?>
I am having issues when I use <!–nextpage–> that I get random tags for the page (see attached image), I don’t understand where they are coming from.
My questions i;, how do I modify the next page code since your theme is already handling it? I would like to have a button that splits up the page and makes it a second page. The continue reading in the example I gave above looks perfect but I don’t know how to call it.
Thanks
Attachments:
You must be logged in to view attached files.steve0nzParticipantHey, sorry about that please try again. We tried to re-upload the theme just in case there was corrupt files but this did not solve anything.
steve0nzParticipantYes I cant login from the popup, this issue has been going on for a while, can you please look at this ASAP? Thanks.
March 3, 2017 at 22:49 in reply to: PHP Warning: in_array() expects parameter 2 to be array, boolean given #154711steve0nzParticipantHave you taken a look at this? If you had you would have seen that no child theme is active. Is there any one else who can assist me on this? This issue has been going on long enough and I am unhappy with the support.
March 3, 2017 at 22:45 in reply to: PHP Warning: in_array() expects parameter 2 to be array, boolean given #154709steve0nzParticipantNo child theme is active, I went as far as to delete it.
March 3, 2017 at 01:06 in reply to: PHP Warning: in_array() expects parameter 2 to be array, boolean given #154650steve0nzParticipantWould you like access to the FTP so you can help diagnose the issue?
steve0nzParticipantHi I receive this error:
[02-Mar-2017 08:46:55 UTC] PHP Notice: Trying to get property of non-object in /mnt/stor14-wc1-dfw3/staging.ilovenz.me/web/content/wp-includes/class-wp-query.php on line 3884
[02-Mar-2017 08:46:55 UTC] PHP Notice: Trying to get property of non-object in /mnt/stor14-wc1-dfw3/staging.ilovenz.me/web/content/wp-includes/class-wp-query.php on line 3884
[02-Mar-2017 08:46:59 UTC] PHP Notice: Trying to get property of non-object in /mnt/stor14-wc1-dfw3/staging.ilovenz.me/web/content/wp-includes/class-wp-query.php on line 3884
[02-Mar-2017 08:46:59 UTC] PHP Notice: Trying to get property of non-object in /mnt/stor14-wc1-dfw3/staging.ilovenz.me/web/content/wp-includes/class-wp-query.php on line 3884
[02-Mar-2017 08:47:22 UTC] PHP Notice: Trying to get property of non-object in /mnt/stor14-wc1-dfw3/staging.ilovenz.me/web/content/wp-includes/class-wp-query.php on line 3884
[02-Mar-2017 08:47:22 UTC] PHP Notice: Trying to get property of non-object in /mnt/stor14-wc1-dfw3/staging.ilovenz.me/web/content/wp-includes/class-wp-query.php on line 3884March 3, 2017 at 01:03 in reply to: PHP Warning: in_array() expects parameter 2 to be array, boolean given #154648steve0nzParticipantHi,
No this is not the issues. This plugin is active on the live version and still has the same issue.
steve0nzParticipantI just tried this… first of all my wp-config.php didn’t have the line
define( 'WP_DEBUG', true );
So I added the next two lines
COPY CODEdefine( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true );
However there are no logs in the logfile
March 1, 2017 at 03:38 in reply to: PHP Warning: in_array() expects parameter 2 to be array, boolean given #154438steve0nzParticipantThis reply has been set as private.steve0nzParticipantThanks, I get that but breadcrumbs should not display the last post in the breadcrumb when I am in the main directory.
Attachments:
You must be logged in to view attached files.steve0nzParticipantFound one more issue, I enabled breadcrumbs and on the homepage it shows the first page title in the breadcrumbs. Is this a theme issue?
Attachments:
You must be logged in to view attached files.steve0nzParticipantThanks, appreciate the help. Not sure if socket is an industry term but perhaps you could rename it so its more obvious. I had not Idea what the socket was till you mentioned it.
steve0nzParticipantI just tested your footer suggestion and when changing the socket colours, nothing happens. I did update the widgets and was left with this weird spacing on the very bottom. I assume this is the socket colour, but I can’t change it unfortunately.
Attachments:
You must be logged in to view attached files.steve0nzParticipantHey, did you make the changes to the child theme? I literally just overwrote the child theme with my local copy… oops.
I’ll take a look and see what you did, thanks. Sorry for being impatient, we are in the process of trying to release the site this weekend.
-
AuthorPosts