-
AuthorPosts
-
September 24, 2023 at 7:56 am #1420163
Hi
On the author page the following code is showing
dit_users’ ) || get_current_user_id() == $author_id ) { $description .= ”
” . __( ‘Edit the profile description here.’, ‘avia_framework’ ) . ”; } } /** * Filter final output of author description or skip completly * * @since 4.7.5.1 * @param string $description * @param string $description_ori * @param int $author_id * @return string|false false to skip output completely */ $description = apply_filters( ‘avf_author_description_loop_about’, $description, $description_ori, $author_id ); if( false === $description ) { return; } echo ‘
‘author’, ‘echo’ => false ) ) . ‘>’; echo “{$gravatar}”; echo ”
“; echo “<{$heading1} class=’author-title {$css}’>{$heading}”; echo ”
‘description’, ‘echo’ => false ) ) . ‘>’ . wpautop( $description ) . ‘
‘; echo ”; echo ‘
‘; echo ‘
‘;I have disabled all plugins and it still shows so I think it is coming from the theme, could somebody advise please?
September 24, 2023 at 1:15 pm #1420180Hey dannyl82,
Try checking the user profile fields for bad characters, or try checking your child theme for code snippets in the functions.php, try enabling the parent theme.
Or try removing any code in your Enfold Theme Options ▸ Google Services ▸ Google Analytics Tracking Code
Otherwise please include an admin login in the Private Content area so we can investigate.Best regards,
MikeSeptember 24, 2023 at 10:34 pm #1420207Hi
If you could have a look that would be great
September 25, 2023 at 12:04 am #1420209Hi,
Thanks for the login, the error is coming from the file at includes/loop-about-author.php which is what displays the author page.
This file has beed edited and a chunk of the file is missing, I assume as part of your customization, I recommend asking whoever was helping you to compare it with a original version of the file from your Envato (Theme Forest) account and try to figure out what is needed for your customization.
I see that you are not using a Child Theme and your functions.php contains a lot of customizations, please note that this will be lost when you update. Please consider installing a child theme and move all of your customizations to it, since I see the loop-about-author.php was modified I assume that other core theme files were also modified and should be saved in a child theme before the next update.
I can see a lot of work went into your customization and it looks complicated, so I’m sure that you would not want to lose any of this.Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.