Hide BBPress create topic on one page

This took as surprisingly long time but I managed to figure it out: fieldset.bbp-form { display: none; } .page-id-170 * fieldset.bbp-form { display: block !important; } I know this hides all and only shows on page id 170, and this is the opposite of what I asked but it suits my needs. An answer more … Read more

jQuery Validation plugin and Bootstrap 4 CSS classes

I found this solution: $.validator.setDefaults({ highlight: function (element, errorClass, validClass) { $(element).addClass(‘is-invalid’); }, unhighlight: function (element, errorClass, validClass) { $(element).removeClass(‘is-invalid’); } }); This is my previous personal solution: signup_form.on( ‘change submit’, function( e ) { $( ‘.error’ ).removeClass( ‘is-valid’ ).addClass( ‘is-invalid’ ); $( ‘.valid’ ).removeClass( ‘is-invalid’ ).addClass( ‘is-valid’ ); } ); Which is better?

Add my footer menu to the header

You have to add more links in your header menu like: <div class=”menu”> <a class=”btn”>Kategorien <span class=”icon icon-angle-down”></span></a> <ul class=”actions”><!–THIS IS YOUR CATEGORIES SUBMENU–> <li class=”cat-item cat-item-17″> <a href=”https://duvacon.de/category/action/” data-hasqtip=”13″ oldtitle=”Action” title=”” aria-describedby=”qtip-13″>Action</a> </li> </ul> <!– NEW ITEMS –> <a href=”%LINKTOCONTACT%” class=”btn”>Contact</a> <a href=”%LINKTOCHAT%” class=”btn”>Chat</a> </div> I don’t know if you are adding in the … Read more

style.css not working but customizer additional css does?

There’s nothing special about CSS in WordPress. It follows the same rules of specificity that apply everywhere else. This means that the order of rules are can affect how they’re applied. In WordPress the styles from plugins are typically output after the styles from themes, and styles from Additional CSS are output last. So if … Read more

how to add functions to my function.php using a child theme?

The site crashes, because you have a typo in that code. You’re missing an apostrophe at the beginning of the string: // Custom Function to Include function my_favicon_link() { echo <link rel=”shortcut icon” type=”image/x-icon” href=”https://wordpress.stackexchange.com/favicon.ico” />’ . “\n”; ^ missing apostrophe } add_action( ‘wp_head’, ‘my_favicon_link’ ); Here’s the fixed version: // Custom Function to Include … Read more

How to change background image

This code isn’t coming from Core, so you should search down where the shortcode comes from – a theme or a plugin. My guess is that “2407” might be the Post ID of a particular image. If that is true, then you can go into your Media Library and find the Post ID of the … Read more