Forum Replies Created
-
AuthorPosts
-
July 25, 2018 at 2:08 pm in reply to: Add the "category slug" as a CSS class to the article content element #989691
When I add this, my site breaks :(
add_filter( 'body_class', 'add_category_class' ); function add_category_class( $classes ) { if( is_single() && has_category('consument') ) { $classes[] = 'consument-cat'; } elseif( is_single() && has_category('projectontwikkelaar') ) { $classes[] = 'projectontwikkelaar-cat' } return $classes; }
July 23, 2018 at 10:21 am in reply to: Add the "category slug" as a CSS class to the article content element #988634Hi Ismael,
This works for me but I want to add the function 2 times so I can give the category news the class news-cat and an other page the category water so I can add the class water-cat to that pages.
If I paste this function 2 times my site is down. How can I fix this?See the private content
Okay I know. But what is the thing I need to modify?
What code do I need to insert in it?Is there an option to modify this in my child theme?
And how can I do that?Hi Mike,
That code also doesn’t work.
This links to the website from whatsapp.
It needs to open the whatsapp application.I send a screenvideo in the private content
Hi,
I am not adding code.
I choose for this button: https://prnt.sc/hnckzewhen I click on it, it paste # behind my existing URL and nothing else is happening.
Normally it opens an modal screen where I can choose which (gravity) form I want to add.Jarmo
Already fixed it.
I put the admin access in the private content box.
the link to the post in question is: http://stage.jarmoroos.com/waar-ben-ik/
I already tried that but it doesn’t make any difference
Yes I did
This reply has been marked as private.Putting the embed code in CodeBlock element worked! Thanks
-
AuthorPosts