Problem with html in Biographical Info

Posted in: Newspaper
Post count: 11

Hi,

I added some basic html to format the biographical info in my user profile. That’s working fine in the author box at the end of my posts (e.g. http://excellenceaktuell.de/wer-schreibt-hier-und-warum/). It is not working in the author box on author pages (e.g. http://excellenceaktuell.de/author/admin/).

Any ideas how to fix that?

Regards
Richard

Post count: 7909

Hi,

Please check this solution – https://forum.tagdiv.com/topic/author-page-2/#post-56809
I have added this on our list and we will try to find a better implementation.

Thanks!

Post count: 11

Hi Alin,

thanks, that worked perfect!

Regards
Richard

Post count: 11

Hi,

unfortunately it isn’t any more as it was yesterday. The only remaining formatting is bold (on post pages as well as the author page).

I’m not sure what exactly I did, but one thing I remember: I changed the visual composer settings and activated the post content type.

Any idea how I get back the p and br tags working in the biographical info box?

Regards
Richard

Post count: 7909

Hi,

I’m not sure what the issue is, as I have checked author box and author page and it looks the same – http://screencast.com/t/aecT607qp3h6http://screencast.com/t/nOMCHH8puKW Try to re-add author description like you wish to look using html – http://screencast.com/t/YL1s3yho7y

Thanks!

Post count: 11

Hi Alin,

it’s supposed to look like this (as it looked before):

https://www.evernote.com/shard/s5/sh/51d4e9bf-c8d2-4f21-b4f8-857afc6145f0/9426648ace3d7feb

Regards
Richard

Post count: 1291

Hi,

Add the following code at the end of functions.php? – http://screencast.com/t/gYiC2w4hsT

remove_filter('pre_user_description', 'wp_filter_kses');

Insert the bio data again and save the settings.

Thank you!

  • This reply was modified 11 years by Emil G.
Post count: 11

Hi Emil,

perfect! 🙂

Regards
Richard

Post count: 64

Hello all,

Just to confirm, this is working on Newspaper V 6.6.4 also. I just added the code.

Hopefully, it doesn’t get override when a newer version is installed? Will it?

Thanks
JR

Post count: 7909

Hi,

All the theme files will be overwritten when you update the theme and you will have to re-add the code modifications. Only the theme and wordpress settings should not be affected by the update, but anyway it is recommended to make a full backup of your installation before – https://codex.wordpress.org/WordPress_Backups

Thanks!

Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘Newspaper’ is closed to new topics and replies.