Forum Replies Created
-
Author
-
bureaubold
ParticipantHi, Hereby the details.
* http://ftp.bedrijvigevrouwen.nl
* Gebruikersnaam: deb99409
* Wachtwoord: DlqiE2bureaubold
ParticipantOk, but where than would you put this code because if I put it in the functions.php it falls apart.
bureaubold
ParticipantHi Laura,
Here they are:
http://www.workspacepoetry.com/bedrijvigevrouwen/wp-admin
usernm: SeventhQueen Support
pw: %0R1EF)u2SO!*Iiek5*&V(7JAnother thing I wanted to ask is that this PHP code,is not working with your theme, while it does with others.
/************* ADDING A ROLE TO THE BODY CLASS ************/
add_filter(‘body_class’,’add_role_to_body’);
function add_role_to_body($classes) {
$current_user = new WP_User(get_current_user_id());
$user_role = array_shift($current_user->roles);
$classes[] = ‘role-‘. $user_role;
return $classes;
}This way I can show some things to other members / roles.
Can you help me to insert this possibility?
grtz,
Marjetbureaubold
ParticipantHi Laura,
Thanks for your reply.
It happened after the K elements update, but I removed the masonry blocks and put them in again, and now it works again. So that is great.
But still not as fast as I would like, in your demo it goes much faster.
You have any idea why?bureaubold
ParticipantI saw that it was resolved with the update of the Visual composer. But… now after and update of the K elements plugin, all the blog-elements are not showing anymore.
If I put the old plugin back (removed it first), it is still not working!!
Really like to solve this because this website needs to go live by tomorrow!
Thanks in advance,
Marjet -
AuthorPosts