Unable to upload wordpress plugins

(1) Make sure you’ve set up proper upload_max_filesize. You can use phpinfo to check / verify. <?php phpinfo(); ?> More info. on phpinfo (2) You may also need to increase your max post size. Look for this line in your php.ini file post_max_size and increase it as well. You need to restart Apache for the … Read more

changing behaviour of get_search_form

you don’t need to add another function to get the search form. If you want to change the look of the search form or add another items you’ll have to add the searchform.php to your theme. It could look like this: <form role=”search” method=”get” class=”search-form” action=”<?php echo home_url( “https://wordpress.stackexchange.com/” ); ?>”> <input type=”search” class=”search-field” placeholder=”Suchen … Read more

plugin style conflicts, how to override? [closed]

On the definition of the aio-orange button in the all-in-one-buttons/css/display.css?ver=4.1.1 add !important after the #FFF. The color is overwritten because you load the AIO styles first and later some other style that overrides button styles or what not. With !important you can tell the browser to use that one even though it’s not the latest … Read more

is_customize_preview() like function to check if Customizer “Live Preview” in JavaScript

you can just check for the customize object, but if you absolutely need a conditional statement to determine whatever it is you need, you can do something like this: jQuery( function( $ ) { // set var var in_customizer = false; // check for wp.customize return boolean if ( typeof wp !== ‘undefined’ ) { … Read more

Reduce Drop down Menu Width in WordPress

It’s a css issue. You need to edit two selectors. First is the menu width. It’s set to 100% which is why you’re seeing black space. Edit this class below.: .cap-primary-menu .menu > li.menu-full-width .cap-submenu-ddown { padding: 20px 25px 25px; width: 100%; // set this to auto or something smaller than 100% left: 0; border: … Read more

Static page not working

I find the solution of your problem. In this theme, you can’t set page as home or front page, so your setting in Setting >> reading >> Your latest posts check. For blog page you can select template in your Blog page Page Attribute Template option as Blog or Blog template with large image. You … Read more